-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
118 lines (103 loc) · 3.41 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: flutter_app
description: "A new Flutter project."
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=3.4.3 <4.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# 增加本地插件
#audio_engine_player:
# path: plugins/audio_engine_player
# https://api.flutter.dev/flutter/cupertino/CupertinoIcons-class.html#constants
cupertino_icons: ^1.0.8
#Firebase套件
firebase_core: ^3.7.0
firebase_analytics: ^11.3.4
firebase_crashlytics: ^4.1.4
firebase_remote_config: ^5.1.4
google_mobile_ads: ^5.2.0
# 必装功能组件
intl: ^0.19.0 #国际化
dio: ^5.7.0 #网络请求
get: ^4.6.6 #状态管理、依赖管理、路由管理、国际化、主题、中间件等
uuid: ^4.5.0 #UUID生成
path: ^1.9.0 #文件目录处理库
sqflite: ^2.3.3+1 #db数据库
archive: ^3.6.1 #解压缩
share_plus: ^10.0.0 #分享
file_picker: ^8.0.7 #文件选择器
image_picker: ^1.1.2 #媒体文件选择器
image_cropper: ^8.0.2 #图片裁剪
path_provider: ^2.1.4 #沙盒存储
url_launcher: ^6.3.0 #打开网页、电话、短信、邮件
connectivity_plus: ^6.0.5 #网络检测
network_info_plus: ^6.0.0 #网络信息
open_settings_plus: ^0.3.3 #打开系统设置
package_info_plus: ^8.0.2 #获取应用信息
device_info_plus: ^10.1.2 #获取设备信息
shared_preferences: ^2.3.2 #本地轻量数据存储
permission_handler: ^11.3.1 #权限处理
cached_network_image: ^3.4.0 #图片加载缓存
webview_flutter: ^4.9.0 #网页加载
webview_flutter_android: ^3.16.7
webview_flutter_wkwebview: ^3.15.0
in_app_review: ^2.0.9 #应用内评论
in_app_purchase: ^3.2.0 #订阅内购
in_app_purchase_storekit: ^0.3.18+1
in_app_purchase_platform_interface: ^1.4.0
flutter_animate: ^4.5.0 #动画
flutter_launcher_icons: ^0.14.1 #自动生成图标
flutter_screenutil: ^5.9.3 #屏幕适配
flutter_secure_storage: ^9.2.2 #本地加密存储
flutter_keyboard_visibility: ^6.0.0 #键盘显示隐藏
dynamic_icon_flutter: ^0.0.7 #动态图标
json_annotation: ^4.9.0 #json对象处理
#UI组件
lottie: ^3.1.3
google_fonts: ^6.2.1
flutter_spinkit: ^5.2.1 #加载效果
flutter_easyloading: ^3.0.5 #加载效果,提示框
loading_animation_widget: ^1.2.1 #加载效果
flutter_rating_bar: ^4.0.1 #评分
dotted_border: ^2.1.0 #虚线边框
animated_text_kit: ^4.2.2 #动画文本
easy_rich_text: ^2.2.0 #富文本
modal_bottom_sheet: ^3.0.0 #底部弹出窗
flutter_carousel_widget: ^2.3.0 #图库轮播
flutter_xlider: ^3.5.0 #进度条
syncfusion_flutter_sliders: ^26.1.42 #滑块
gradient_borders: ^1.0.1 #渐变色边框
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0 #代码规范
build_runner: ^2.4.12 #json对象生成工具
json_serializable: ^6.8.0 #json对象序列化代码生成
flutter:
#generate: true
uses-material-design: true
assets:
- assets/file/
- assets/icon/
- assets/image/
- assets/json/
# 使用flutter_assets_gen插件生成
flutter_assets:
assets_path: assets/
output_path: lib/generated/
filename: assets.dart
field_prefix: null
classname: A
# 使用Flutter intl插件生成
# 参考教程:https://marketplace.visualstudio.com/items?itemName=localizely.flutter-intl
flutter_intl:
enabled: true
# 使用flutter_icons插件生成
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"