-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpubspec.yaml
More file actions
174 lines (159 loc) · 6.73 KB
/
pubspec.yaml
File metadata and controls
174 lines (159 loc) · 6.73 KB
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
name: freader
description: 看一点在线新闻,读一些内置书籍。
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# 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
# 原始布局的未0.1.0,修改了布局的未0.2.0.因为功能目前仅有readhub资讯,pexels图片浏览,所以没有大版本。
version: 0.3.0
environment:
sdk: ">=2.19.5 <3.0.0"
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
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.
## 2023-03-31 flutter sdk更新到3.7.8,以下包也一并更新到此时最新,但有些包可能有问题
# 包含 Flutter 的Cupertino 小部件使用的默认图标资产集。
cupertino_icons: ^1.0.5
# 网络请求
http: ^0.13.5
# 打开url链接
url_launcher: ^6.1.10
# json序列化
json_serializable: ^6.6.1
json_annotation: ^4.8.0
# 布局尺寸分析
flutter_screenutil: ^5.7.0
# InheritedWidget的包装器 ,使它们更易于使用和更可重用。
provider: ^6.0.5
# 国际化
intl: ^0.17.0
# 获取设备信息
device_info_plus: ^8.1.0
# 获取flutter包信息
package_info_plus: ^3.0.3
# http client
dio: ^5.1.1
# 查找文件系统上常用位置
path_provider: ^2.0.14
# 显示来自互联网的图像并将它们保存在缓存目录中。
cached_network_image: ^3.2.3
# 跨平台(iOS、Android)API 来请求权限并检查其状态。
permission_handler: ^10.2.0
# 显示浮空提示信息
fluttertoast: ^8.2.1
# 时间格式化
date_format: ^2.0.7
# datetime选择器
flutter_datetime_picker: ^1.5.1
# pdf阅读器
syncfusion_flutter_pdfviewer: ^21.1.37
# 文件选择器
file_picker: ^5.2.6
# sqlite
sqflite: ^2.2.6
# 基于字符串的路径操作库。
path: ^1.8.2
# uuid生成器
uuid: ^3.0.7
# PageViews 的可定制进度指标
page_view_indicators: ^2.0.0
# 使图像能够通过捏、旋转和拖动等用户手势进行缩放和平移。
photo_view: ^0.14.0
# Flutter 的 Markdown 渲染器(flutter官方的,但是功能很少,没有toc)
flutter_markdown: ^0.6.14
# md 部件(支持toc等,但是渲染什么的有bug)
markdown_widget: ^2.1.0
# 分组列表
grouped_list: ^5.1.2
# 获取网络连接信息等
connectivity_plus: ^3.0.3
# 加密库
crypto: ^3.0.2
# 登陆页组件,丰富多样\动画不少
flutter_login: ^4.1.1
# 用于读取和写入简单键值对的 Flutter 插件。(简单用于存入登入)
shared_preferences: ^2.0.20
# 蓝牙插件(需要java11及以上。旧版本flutter_blue已经不维护了)
# 修改gradle.properties文件,添加org.gradle.java.home=your jdk path
flutter_blue_plus: ^1.4.0
# 可搜索下拉选择框插件
dropdown_search: ^5.0.6
# 包含用于在不同数据表示之间进行转换的编码器和解码器。dart:convert的补充(翻译组件中有用到)
convert: ^3.1.1
dev_dependencies:
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.1
build_runner: ^2.3.3
# 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
# 仅包含当前目录下的所有文件,以及子目录下(与主目录中的文件)的同名文件。如果想要添加子文件夹中的文件,请为每个目录创建一个条目。
# To add assets to your application, add an assets section, like this:
assets:
- images/
- images/image_page_demo/
- images/site_logos/
- images/tools_image/
- assets/
# - assets/jsons/
# - assets/jsons/pexels_api_images.json
- assets/pdfs/
- assets/txts/
- assets/mds/
- assets/mds/中文分组/
# md 中使用的图片路径,也要加入进来,不然找不到
- assets/mds/with-pictures/images/
- assets/mds/with-pictures/
# 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