-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
141 lines (129 loc) · 4.74 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
name: ones_ai_flutter
description: ones ai Flutter project.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.16.2 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
# cupertino_icons: ^0.1.2
# 状态管理redux
flutter_redux: ^0.10.0
redux: ^5.0.0
redux_thunk: ^0.4.0
#shared_preferences: ^0.5.8 #offical lib support ios_ android web.
#flutter localstorage for ios_/android/desktop/web
localstorage: ^4.0.1+4
webview_flutter: ^4.4.1 #ios_ android
url_launcher: ^6.1.11 # ios_ android web
bot_toast: ^4.1.3
rxdart: ^0.27.7
flustars: ^2.0.1
# fluro:
# git:
# url: git://github.com/theyakka/fluro.git
#网页中唤醒原生app页面
uni_links: ^0.5.1
fluro: ^2.0.5 #ios_ android web
# auto_size:
# git:
# url: https://github.com/flutterchina/auto_size.git
connectivity_plus: ^5.0.1 #ios_ android web
dio: ^5.3.3 #all
# dio_http_cache: ^0.2.8 # ios_ android
json_serializable: ^6.6.2
pretty_dio_logger: ^1.3.1
#https://pub.dev/packages/pull_to_refresh#-readme-tab-
#pull_to_refresh: ^1.5.7 used in ones_mobile
flutter_easyrefresh: ^2.2.2 #android ios_ web
#https://pub.dev/packages/cached_network_image#-installing-tab-
cached_network_image: ^3.2.3 #ios_ android web
#https://github.com/zino-app/graphql-flutter
# graphql_flutter: ^2.0.0 #android ios_
#键盘弹起和隐藏
flutter_keyboard_visibility: ^5.4.1 # android ios_ web
retrofit: ^4.0.3
logger: ^2.0.2+1
# 状态管理 bloc
bloc: ^8.1.2
flutter_bloc: ^8.1.3
# Database for mobile and Desktop
drift: ^2.8.0
sqlite3_flutter_libs: ^0.5.17
# moor_ffi: ^0.8.0
# Helper to find the database path on mobile
path_provider: ^2.1.1
path: ^1.8.2
intl: 0.18.1 # 官方国际化方案
dev_dependencies:
# databse moor
# json_model: #latest version
drift_dev: ^2.8.3
build_runner: ^2.3.3 # use the latest version
# json_serializable: ^3.3.0
# retrofit_generator: # use the latest version
build_web_compilers: ^3.2.7
flutter_lints: ^2.0.3
intl_translation: 0.18.2
# flutter_test:
# sdk: flutter
# 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
assets:
- assets/images/welcome.png
- assets/images/default_avatar.png
- assets/images/ones_icon.png
- assets/html/css/style.css
- assets/html/js/function.js
- assets/html/index.html
fonts:
- family: iconfont
fonts:
- asset: assets/fonts/aliconfont.ttf
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages