-
Notifications
You must be signed in to change notification settings - Fork 14
/
pubspec.yaml
450 lines (418 loc) · 14.7 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
name: imboy
description: A new Flutter project for IM.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.5.11
environment:
sdk: ">=3.0.0 <=4.0.0"
dependencies:
flutter:
sdk: flutter
# Network
dio: ^5.7.0 # 网络请求框架
dio_http2_adapter: ^2.5.3
web_socket_channel: ^3.0.1
mime: ^1.0.6
connectivity_plus: ^6.0.5 # 是否联网及网络类型
# UI
# 从实用程序 Widget 和带有点级联的扩展中构建 Flutter UI。流畅地开发,没有头痛和嵌套地狱。
niku: ^2.4.3
#niku:
# path: plugin/niku
# git:
# url: https://gitee.com/imboy-tripartite-deps/niku.git
# ref: main
cupertino_icons: ^1.0.8 # Use with the CupertinoIcons class for iOS style icons.
lpinyin: ^2.0.3 #
#azlistview: ^2.0.3
#azlistview_plus: ^3.0.0
azlistview:
#path: plugin/azlistview
git:
url: https://gitee.com/imboy-tripartite-deps/azlistview.git
ref: leeyi
#get: ^4.6.6 # getx 状态管理框架
get: ^5.0.0-release-candidate-9.2
#get:
# #path: plugin/getx
# git:
# url: https://gitee.com/imboy-tripartite-deps/getx.git
# ref: master
url_launcher: ^6.3.0 # 打开url 拨打电话 发短信
# https://juejin.cn/post/6869291513508659213
webview_flutter: ^4.9.0 # Show web page (CGU)
#flutter_inappwebview: ^6.0.0 # 它允许你将WebView小部件整合到你的Flutter应用中,使用无头WebViews,或者使用In-App浏览器。
qr_flutter: ^4.1.0 # 二维码生成
event_bus: ^2.0.0
jose: ^0.3.4 # jwt 插件
encrypt: ^5.0.3 # 一组基于 PointyCastle 的高级 API,用于双向加密。 RSA AES
# 在纯 Dart 中实现的一组加密函数。 SHA-* MD5 HMAC
# crypto: ^3.0.2
# Flutter 开发者的密码学:加密、数字签名、密钥协议等。
# AES, Chacha20, ED25519, X25519, and more. Web Crypto support.
# https://github.com/dint-dev/cryptography
# cryptography: ^2.0.5
# cryptography_flutter: ^2.0.2
# e2ee
#webcrypto: ^0.5.2
#json序列化和反序列化用的
#json_annotation: ^4.8.1
permission_handler: ^11.3.1
permission_handler_apple: ^9.4.5
permission_handler_android: ^12.0.12
permission_handler_platform_interface: ^4.2.3
#any permission_handler:
# git:
# url: https://gitee.com/imboy-tripartite-deps/flutter-permission-handler.git
# path: permission_handler
# tag: permission_handler_android_v10.2.1
#ref: master
# 缓存
shared_preferences: ^2.3.2
# Flutter Secure Storage 提供 API 将数据存储在安全存储中。iOS 中使用 Keychain,Android 中使用基于 KeyStore 的解决方案。
flutter_secure_storage: ^9.2.2
cached_network_image: ^3.4.1
flutter_cache_manager: ^3.4.1
# 一个支持通过 Keychain 和 Keystore 支持字符串安全存储的 Flutter 插件
# flutter_keychain: ^2.5.0
# flutter_keychain:
# path: plugin/flutter_keychain
# 一个实现加密算法和原语的 Dart 库
pointycastle: ^3.9.1
camera: ^0.11.0+2
#wechat_camera_picker: ^4.2.0-dev.3
wechat_camera_picker: ^4.3.2
wechat_assets_picker: ^9.2.2
# Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.
photo_view: ^0.15.0 #
# 照片管理器
photo_manager: ^3.3.0
# Flutter视频处理之光库。压缩视频、删除音频、从 dart 代码获取视频缩略图。
video_compress: ^3.1.3
# 用于获取主机平台文件系统上常用位置的 Flutter 插件,例如临时和应用程序数据目录。
path_provider: ^2.1.4
image_picker: ^1.1.2
image_picker_macos: ^0.2.1+1
image_picker_platform_interface: ^2.10.0
#file_picker: ^6.2.0
file_picker: ^8.1.2
open_file: ^3.5.5
# image_crop: ^0.4.1
image_crop:
#path: plugin/image_crop
git:
url: https://gitee.com/imboy-tripartite-deps/image_crop.git
ref: leeyi
#
image: ^4.2.0
logger: ^2.4.0
#sentry_flutter: ^7.18.0
# 用于访问加速度计、陀螺仪和磁力计传感器的 Flutter 插件。
sensors_plus: ^6.0.1
flutter_screenutil: ^5.9.3
# 页面刷新
easy_refresh: ^3.4.0
# https://github.com/letsar/flutter_slidjable
flutter_slidable: ^3.1.1
# 消息提醒的红点效果
badges: ^3.1.2
# 聊天气泡
bubble: ^1.2.1
# 全球唯一 ID 生成器
xid: ^1.2.1
# 一个能在 profile/debug 模式下,直观帮助我们评估页面流畅度的工具
fps_monitor: ^2.0.0
# 时间处理
jiffy: ^6.3.1
# 用于校正本地系统与时钟源服务器之前的时间
ntp: ^2.0.0
# Flutter 的表情符号选择器
emoji_picker_flutter: ^3.0.0
# 轮播滑块小部件
carousel_slider_plus: ^7.0.1
# 具有登录/注册功能的登录小部件,有助于加快开发速度
#flutter_login: ^5.0.0
#flutter_login:
# path: plugin/flutter_login
# 进度条
#percent_indicator: ^4.2.3
# 一个干净和轻量级的加载/吐司小部件
flutter_easyloading: ^3.0.5
# 生成闪屏页
flutter_native_splash: ^2.4.1
feedback: ^3.1.0
flutter_chat_ui: ^1.6.15
#flutter_chat_ui:
# #path: plugin/flutter_chat_ui
# git:
# url: https://gitee.com/imboy-tripartite-deps/flutter_chat_ui.git
# ref: leeyi
# Flutter 的弹出窗口。弹出窗口是一种瞬态视图,当您点击某个控件或某个区域时,它会出现在屏幕上其他内容的上方。
popover: ^0.3.1
# popup_menu: ^1.0.5
popup_menu:
git:
url: https://gitee.com/imboy-tripartite-deps/popup_menu.git
ref: master
# 二维码扫描
mobile_scanner: ^5.2.3
# mobile_scanner: ^4.0.1
# mobile_scanner:
# git:
# url: https://gitee.com/imboy-tripartite-deps/mobile_scanner.git
# ref: master
# 将图像保存到图库的 flutter 插件
#image_gallery_saver: ^2.0.2
image_gallery_saver:
#path: plugin/image_gallery_saver
git:
url: https://gitee.com/imboy-tripartite-deps/image_gallery_saver.git
ref: leeyi
# SQLite 的 Flutter 插件,一个独立的、高可靠性的嵌入式 SQL 数据库引擎。
sqflite: ^2.3.3+1
sqflite_common_ffi: ^2.3.3
# sqflite_common_ffi:
# git:
# url: https://gitee.com/imboy-tripartite-deps/sqflite.git
# ref: master
# path: sqflite_common_ffi
# json1 扩展至少需要 SQLite 3.38.0 (2021-02-09) (https://www.sqlite.org/json1.html)
sqlite3_flutter_libs: ^0.5.24
#sqlite3: ^2.4.6
#sqlcipher_flutter_libs: ^0.6.4
#sqflite_sqlcipher: ^3.1.0+1
# 一个跨平台插件,用于显示和安排 Flutter 应用程序的本地通知,并能够针对每个平台进行自定义。
#flutter_local_notifications: ^17.2.2
#桌面图标提醒
#flutter_app_badger: ^1.5.0
# 录音
#record: ^5.1.2
flutter_sound_platform_interface: ^9.16.0
flutter_sound: ^9.16.0
# flutter_sound:
# #path: plugin/flutter_sound/flutter_sound
# git:
# url: https://gitee.com/imboy-tripartite-deps/flutter_sound.git
# ref: leeyi
# path: flutter_sound
audio_session: ^0.1.21
# 语音消息播放器
voice_message_package: ^2.2.1
# voice_message_package:
# # path: plugin/voice_message_package
# git:
# url: https://gitee.com/imboy-tripartite-deps/voice_message_player.git
# ref: leeyi
# 一对一音视频通话等
#flutter_webrtc: ^0.11.7
flutter_webrtc:
path: plugin/flutter-webrtc
# git:
# url: https://gitee.com/imboy-tripartite-deps/flutter-webrtc.git
# ref: main
# 可滚动小部件的固定/可变行高提供了滚动到索引的机制
#scroll_to_index: ^3.0.1
scroll_to_index:
#path: plugin/scroll_to_index
git:
#url: https://github.com/Arley011/scroll-to-index.git
url: https://gitee.com/imboy-tripartite-deps/scroll-to-index_scroll_with_keep_alives_fix.git
ref: scroll_with_keep_alives_fix
# 封装了基本的图形样式,矩形、圆角矩形、圆形、椭圆形,以及自定义虚线框
dotted_border: ^2.1.0
# 提供了一个Clock类,它封装了“当前时间”的概念,并提供了对相对于当前时间的点的简单访问
clock: ^1.1.1
# 用于 HTTP 请求的可组合、多平台、基于Future的 API。
http: ^1.2.2
device_info_plus: ^10.1.2
package_info_plus: ^8.0.2
# Flutter 的 Markdown 渲染器
flutter_markdown: ^0.7.3+1
# 滑动吸顶
sliding_up_panel: ^2.0.0+1
# 用于 Flutter 的 SVG 渲染和小部件库,允许绘制和显示可缩放矢量图形 1.1 文件。
flutter_svg: ^2.0.10+1
# 动画效果
flutter_animate: ^4.5.0
# dart 对象比较
equatable: ^2.0.5
# 用于查找设备上安装的可用地图并使用标记启动它们或显示方向。
map_launcher: ^3.5.0
# 基础的点击
tapped: ^2.0.0
# map取值
safemap: ^2.1.0
# 加载动画库
flutter_spinkit: ^5.2.1
# 视频播放器插件
video_player: ^2.9.1
# video_player的插件,支持所有桌面/移动平台。硬件解码器,最佳渲染。通过 FFmpeg 支持大多数格式
# fvp: ^0.23.0
# fvp:
# git:
# url: https://gitee.com/imboy-tripartite-deps/fvp.git
# ref: master
# 标签编辑框
textfield_tags: ^3.0.1
#filter_list: ^1.0.2
#filter_list:
# path: plugin/flutter_plugin_filter_list
# 标签列表
filter_list:
git:
url: https://gitee.com/imboy-tripartite-deps/flutter_plugin_filter_list.git
ref: leeyi
# 高德地图
amap_flutter_base: ^3.0.0
#amap_flutter_location: ^3.0.0
#amap_flutter_map: ^3.0.0
amap_flutter_location:
git:
#url: https://github.com/xia-weiyang/flutter_amap_location.git
url: https://gitee.com/imboy-tripartite-deps/flutter_amap_location.git
ref: leeyi
amap_flutter_map:
git:
url: https://gitee.com/imboy-tripartite-deps/amap_flutter_map.git
ref: leeyi
# amap_flutter_location:
# path: plugin/amap_flutter_location
# amap_flutter_map:
# path: plugin/amap_flutter_map
# Flutter 插件,可让您在 Android、iOS、macOS、Windows 和 Web 上保持设备屏幕处于唤醒状态。
wakelock_plus: ^1.2.8
# 类似于 Iphone 上的 AssistiveTouch 的 Flutter 包。
drag_ball: ^2.0.0
# Flutter应用升级/ Flutter App Upgrade /Flutter App Update/Flutter Update / 下载插件(有提示栏进度),支持全量升级、热更新和增量升级
#r_upgrade: ^0.4.2
r_upgrade:
#path: plugin/r_upgrade
git:
url: https://gitee.com/imboy-tripartite-deps/r_upgrade.git
ref: leeyi
flutter_rating_bar: ^4.0.1
octo_image: ^2.1.0 # 多功能 Flutter 图像小部件
# 通过 RTMP 用于相机和麦克风流媒体库的 Flutter 插件。
# haishin_kit: ^0.11.1
#flutter_whip: ^0.5.5
# 允许跨多个平台处理文件的抽象。
cross_file: ^0.3.4+2
# Dart 包用于解码 TIFF、JPEG、HEIC、PNG 和 WebP 文件中的 Exif 数据。
#exif: ^3.3.0
# Get the information about free and total disk space for you device. It is an update to the disk_space plugin.
#disk_space_plus: ^0.2.3
#ic_storage_space: ^0.0.2
ic_storage_space:
path: plugin/ic_storage_space
#git:
# url: https://gitee.com/imboy-tripartite-deps/IcStorageSpace.git
# ref: leeyi
nine_grid_view: ^2.0.0
synchronized: ^3.3.0+2
share_plus: ^10.0.2
highlight_text: ^1.8.0
envied: ^0.5.4+1
#dropdown_button2: ^3.0.0-beta.16
#jverify: ^3.0.0
jverify:
path: plugin/jverify
# git:
# url: https://gitee.com/imboy-tripartite-deps/IcStorageSpace.git
# ref: leeyi
local_auth: ^2.3.0
pin_code_fields: ^8.0.1
intl_phone_number_input: ^0.7.4
file_saver: ^0.2.14
# receive_sharing_intent 使 Flutter 应用能够接收来自其他应用的共享照片、文本或 url
#receive_sharing_intent: ^1.8.0
#flutter_foreground_task: ^8.8.1+1
#upgrader: ^11.0.0
#app_links: ^6.3.2
#simple_animations: ^5.0.2
#huawei_account: ^6.12.0+301
# agconnect_crash: ^1.9.0+300
# agconnect_auth: ^1.9.0+3000
# huawei_account:
# path: plugin/hms-flutter-plugin/flutter-hms-account
# A flutter plugin which could read image,files from clipboard and write files to clipboard.
#pasteboard: ^0.2.0
#pinput: ^5.0.0
#local_auth: ^2.3.0
# https://pub-web.flutter-io.cn/packages/rtmp_broadcaster
#rtmp_broadcaster:
# git:
# url: https://github.com/emiliodallatorre/flutter_rtmp_publisher.git
# ref: master
# 还没有直接应用的库
# 反射功能
#reflectable: ^4.0.5
# 图像占位符的紧凑表示
#flutter_blurhash: ^0.7.0
# 下载更新
#flutter_downloader: ^1.10.4
# 通过注释 Dart 类自动生成与 JSON 相互转换的代码。
#json_serializable: ^6.7.1
# 外部打开app识别uri
#uni_links: ^0.5.1
dependency_overrides:
web: ^0.5.1 # share_plus 10.0.1 depends on web ^1.0.0 and flutter_webrtc 0.11.6+hotfix.1 depends on web ^0.5.1
#package_info_plus: ^8.0.0
intl: ^0.19.0 # dep by jiffy: ^6.3.0
#jiffy: ^6.3.0
camera: ^0.11.0+2 # dep by wechat_camera_picker
#wechat_camera_picker: ^4.2.2
sensors_plus: ^6.0.1 # dep by wechat_camera_picker
js: ^0.7.1
#meta: ^1.12.0 # flutter_sound_platform_interface dep 1.12.0
#photo_view: ^0.15.0 # dep by flutter_chat_ui
#web_socket_channel: ^3.0.0
scroll_to_index:
git:
url: https://gitee.com/imboy-tripartite-deps/scroll-to-index_scroll_with_keep_alives_fix.git
ref: scroll_with_keep_alives_fix
dev_dependencies:
build_runner: ^2.4.12
envied_generator: ^0.5.4+1
flutter_lints: ^4.0.0
# ffigen: ^12.0.0
flutter_test:
sdk: flutter
targets:
$default:
builders:
envied_generator|envied:
options:
path: .env.dev
override: true
# ffigen:
# output: 'lib/native/sign_key.dart'
# headers:
# entry-points:
# - 'native/sign_key.h'
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# https://book.flutterchina.club/chapter3/img_and_icon.html#_3-3-2-icon
# https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=4659205
fonts:
- family: IMBoyIcon #指定一个字体名
fonts:
- asset: assets/fonts/iconfont.ttf
assets:
- assets/example.db
- assets/data/region.json
- assets/images/splash_bg.png
- assets/images/index_bar_bubble_gray.png
- assets/images/chat/voice_volume_1.png
- assets/images/chat/voice_volume_2.png
- assets/images/chat/voice_volume_3.png
- assets/images/chat/voice_volume_4.png
- assets/images/chat/voice_volume_5.png
- assets/images/chat/voice_volume_6.png
- assets/images/chat/voice_volume_7.png