添加虚线边框依赖 添加手写功能依赖

添加yaml文件依赖注释
hmxc
张萌 3 years ago
parent fa6c5e0b64
commit b58a09d7d0

@ -177,7 +177,7 @@ class _SettingsPageState extends State<SettingsPage> {
padding: EdgeInsets.symmetric(vertical: 12.w, horizontal: 64.w), padding: EdgeInsets.symmetric(vertical: 12.w, horizontal: 64.w),
child: Row( child: Row(
children: [ children: [
'开启火灾报警'.text.size(28.sp).color(ktextPrimary).bold.make().expand(), '接收火灾报警通知'.text.size(28.sp).color(ktextPrimary).bold.make().expand(),
CupertinoSwitch( CupertinoSwitch(
value: UserTool.appProveider.fireAlert, value: UserTool.appProveider.fireAlert,
onChanged: (value) { onChanged: (value) {

@ -1,3 +1,4 @@
import 'package:aku_community/widget/others/finish_result_image.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -19,21 +20,7 @@ class FinishFixedSubmitPage extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
76.w.heightBox, 76.w.heightBox,
SizedBox( FinishResultImage(status: true),
width: 128.w,
height: 128.w,
child: Container(
width: 110.w,
height: 110.w,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(110.w),
color: kPrimaryColor),
child: Icon(
CupertinoIcons.check_mark,
color: Colors.white,
size: 70.w,
),
)),
48.w.heightBox, 48.w.heightBox,
'提交成功'.text.black.size(36.sp).make(), '提交成功'.text.black.size(36.sp).make(),
16.w.heightBox, 16.w.heightBox,

@ -1,3 +1,4 @@
import 'package:aku_community/widget/others/finish_result_image.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -22,21 +23,7 @@ class SubmitComplishPage extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
76.w.heightBox, 76.w.heightBox,
Container( FinishResultImage(status: status),
alignment: Alignment.center,
width: 110.w,
height: 110.w,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(55.w),
color: this.status! ? kPrimaryColor : kDangerColor,
),
child: Icon(
this.status!
? CupertinoIcons.checkmark
: CupertinoIcons.multiply,
size: 100.w,
),
),
48.w.heightBox, 48.w.heightBox,
(this.status! ? '提交成功' : '提交失败').text.size(36.sp).black.bold.make(), (this.status! ? '提交成功' : '提交失败').text.size(36.sp).black.bold.make(),
16.w.heightBox, 16.w.heightBox,

@ -302,6 +302,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "4.0.0" version: "4.0.0"
dotted_border:
dependency: "direct main"
description:
name: dotted_border
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
equatable: equatable:
dependency: "direct main" dependency: "direct main"
description: description:
@ -739,6 +746,20 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.8.0" version: "1.8.0"
path_drawing:
dependency: transitive
description:
name: path_drawing
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.5.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.2.1"
path_provider: path_provider:
dependency: "direct main" dependency: "direct main"
description: description:
@ -965,6 +986,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.0" version: "2.0.0"
signature:
dependency: "direct main"
description:
name: signature
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.1.1"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter

@ -10,15 +10,22 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
#国际化支持
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
intl: ^0.17.0 intl: ^0.17.0
permission_handler: ^7.1.0 permission_handler: ^7.1.0
#包信息
package_info: ^2.0.0 package_info: ^2.0.0
#状态管理
provider: ^5.0.0 provider: ^5.0.0
#屏幕适配
flutter_screenutil: ^5.0.0+2 flutter_screenutil: ^5.0.0+2
#图标集合
cupertino_icons: ^1.0.3 cupertino_icons: ^1.0.3
#超链接 跳转拨号等
url_launcher: ^6.0.3 url_launcher: ^6.0.3
#常用工具类
flustars: ^2.0.1 flustars: ^2.0.1
flutter_icons: flutter_icons:
git: git:
@ -38,49 +45,75 @@ dependencies:
path_provider: ^2.0.1 path_provider: ^2.0.1
#webscoket #webscoket
web_socket_channel: ^2.1.0 web_socket_channel: ^2.1.0
#虚线边框
dotted_border: ^2.0.0
#手写签字板
signature: ^4.1.1
#支付宝支付功能 #支付宝支付功能
tobias: ^2.1.0 tobias: ^2.1.0
#微信支付 #微信支付
fluwx: ^3.4.2 fluwx: ^3.4.2
#路由相关
get: ^4.1.4 get: ^4.1.4
#各种扩展
velocity_x: ^3.0.0 velocity_x: ^3.0.0
#本地化存储
hive: ^2.0.4 hive: ^2.0.4
hive_flutter: ^1.0.0 hive_flutter: ^1.0.0
#调试信息
logger: ^1.0.0 logger: ^1.0.0
#刷新组件
flutter_easyrefresh: ^2.2.1 flutter_easyrefresh: ^2.2.1
#随机昵称
random_character: random_character:
git: git:
url: git@git.oa00.com:flutter_pub/random_character.git url: git@git.oa00.com:flutter_pub/random_character.git
ref: null-safety ref: null-safety
#图片选择
image_picker: ^0.7.4 image_picker: ^0.7.4
#调试信息输出
power_logger: ^1.2.1 power_logger: ^1.2.1
#评分组件
flutter_rating_bar: ^4.0.0 flutter_rating_bar: ^4.0.0
#极光推送
jpush_flutter: jpush_flutter:
git: git:
url: https://git.oa00.com/flutter_third/jpush-flutter-plugin url: https://git.oa00.com/flutter_third/jpush-flutter-plugin
#打开文件
open_file: ^3.2.1 open_file: ^3.2.1
#角标
badges: ^2.0.0-nullsafety.1 badges: ^2.0.0-nullsafety.1
#高德地图相关
amap_flutter_map: ^2.0.1 amap_flutter_map: ^2.0.1
amap_flutter_location: ^2.0.0 amap_flutter_location: ^2.0.0
amap_flutter_base: ^2.0.0 amap_flutter_base: ^2.0.0
#动态文字
animated_text_kit: ^4.2.1 animated_text_kit: ^4.2.1
#谷歌崩溃记录分析
firebase_core: ^1.1.1 firebase_core: ^1.1.1
firebase_crashlytics: ^2.0.3 firebase_crashlytics: ^2.0.3
#分享功能
share: ^2.0.1 share: ^2.0.1
collection: ^1.15.0 collection: ^1.15.0
#model 自动生成注释插件
json_annotation: ^4.0.1 json_annotation: ^4.0.1
#瀑布流
waterfall_flow: ^3.0.1 waterfall_flow: ^3.0.1
#扫码组件
qr_code_scanner: ^0.4.0 qr_code_scanner: ^0.4.0
#model 插件
equatable: ^2.0.0 equatable: ^2.0.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
#导入包整理
import_sorter: ^4.5.1 import_sorter: ^4.5.1
#脚本工具
grinder: ^0.9.0 grinder: ^0.9.0
flutter_native_splash: ^1.1.8+4 flutter_native_splash: ^1.1.8+4
#model自动生成
json_serializable: ^4.1.1 json_serializable: ^4.1.1
build_runner: ^2.0.2 build_runner: ^2.0.2
yaml: ^3.1.0 yaml: ^3.1.0

Loading…
Cancel
Save