-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
97 lines (81 loc) · 3.22 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
name: untitled_module
description: "A new Flutter project."
version: 1.0.0+1
environment:
sdk: '>=3.4.4 <4.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
get: ^4.6.6
fluttertoast: ^8.2.5
shared_preferences: ^2.2.3
logger: ^2.3.0
json_annotation: ^4.9.0
get_storage: ^2.1.1
url_launcher: ^6.2.2
flutter_inappwebview: ^6.0.0
cached_network_image: ^3.3.0
flutter_riverpod: ^2.5.1 # Riverpod核心库
riverpod_annotation: ^2.3.5 # Riverpod注解
dio: ^5.5.0+1
retrofit: '>=4.0.0 <5.0.0'
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter_launcher_icons: ^0.13.1 # 图标生成插件
flutter_native_splash: ^2.3.8 # 自定义启动页
build_runner: ^2.4.11 # Dart代码生成文件
json_serializable: ^6.8.0
riverpod_generator: ^2.4.0 # Riverpod代码生成器
custom_lint: ^0.6.4 # 为Dart和Flutter项目自定义lint规则,Lint有助于捕获潜在错误,并强制执行一致的编程风格
riverpod_lint: ^2.3.10 # 专为Riverpod设计的一套lint规则,有助于再使用Riverpod时执行最佳实践
retrofit_generator: '>=7.0.0 <8.0.0' # required dart >=2.19
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
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
# To add Flutter specific 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 Flutter specific 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
# This section identifies your Flutter project as a module meant for
# embedding in a native host app. These identifiers should _not_ ordinarily
# be changed after generation - they are used to ensure that the tooling can
# maintain consistency when adding or modifying assets and plugins.
# They also do not have any bearing on your native host application's
# identifiers, which may be completely independent or the same as these.
module:
androidX: true
androidPackage: com.example.untitled_module
iosBundleIdentifier: com.example.untitledModule
assets:
- lib/entity/