-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
124 lines (108 loc) · 4.32 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
name: wanandroid_flutter
description: 玩Android - Flutter版
# 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.
# Read more about versioning at semver.org.
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <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
# Flutter 国际化: https://github.com/Sky24n/fluintl
fluintl: ^0.1.2
# 吐司: https://github.com/PonnamKarthik/FlutterToast
fluttertoast: ^3.0.1
# http 网络框架: https://github.com/dart-lang/http
http: ^0.12.0+1
# dio 网络框架: https://github.com/flutterchina/dio
dio: ^2.1.0
# eventbus: https://github.com/marcojakob/dart-event-bus
event_bus: ^1.0.3
# 广告banner: https://github.com/jzoom/flutter_swiper
flutter_swiper: ^1.1.4
# 缓存image: https://github.com/renefloor/flutter_cached_network_image
cached_network_image: ^0.7.0
# 查看图片: https://github.com/renancaraujo/photo_view
photo_view: ^0.2.2
# 上拉加载和下拉刷新的组件: https://github.com/peng8350/flutter_pulltorefresh
pull_to_refresh: ^1.1.6
# 常用工具类库 https://github.com/Sky24n/common_utils
common_utils: ^1.1.1
# rxdart: https://github.com/ReactiveX/rxdart
rxdart: ^0.21.0
# 动态权限: https://github.com/baseflowit/flutter-permission-handler
permission_handler: ^3.0.0
# flutter_webview_plugin: https://github.com/fluttercommunity/flutter_webview_plugin
flutter_webview_plugin: ^0.3.1
# shared_preferences: https://github.com/flutter/plugins/blob/master/packages/shared_preferences/README.md
shared_preferences: ^0.5.1+2
# 分享(调用系统分享的 Flutter 组件,支持分享文本,图片和文件)ddd
share: #(https://github.com/yangxiaoge/plugins/ packages/webview_flutter/ ,packages下有很多的库,需要指定才能用)
git:
url: git://github.com/yangxiaoge/plugins.git
ref: newDev
path: packages/share/
url_launcher:
git:
url: git://github.com/flutter/plugins.git
ref: master
path: packages/url_launcher/
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/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/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
# - assets/images/zz.png
- android/app/src/main/res/mipmap-xhdpi/zz.png
- assets/images/weather_bg.jpg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.io/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.io/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.io/custom-fonts/#from-packages
# https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=979981
fonts:
- family: aliIconFont
fonts:
- asset: assets/fonts/iconfont.ttf
- family: WorkSansMedium
fonts:
- asset: assets/fonts/WorkSans-Medium.ttf