forked from zubairehman/flutter_boilerplate_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
132 lines (102 loc) · 3.82 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
name: boilerplate
description: A flutter boilerplate project created using MobX and Provider.
# 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.6.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_cupertino_localizations: ^1.0.1
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
# The following adds the shared pref as a dependency in your application
shared_preferences: ^0.5.6
# A composable, Future-based library for making HTTP requests.
http: ^0.12.0+4
# The following adds the launcher icon support to your application.
# run below mentioned commands to generate launcher icons
# flutter packages get
# flutter packages pub run flutter_launcher_icons:main
flutter_launcher_icons: ^0.7.4
# Flogs, a powerful logging framework
f_logs: ^1.2.2
# MobX is a library for reactively managing the state of your applications. Use the power of
# observables, actions, and reactions to supercharge your Dart and Flutter apps.
mobx: ^0.4.0+1
flutter_mobx: ^0.3.6
mobx_codegen: ^0.4.0+1
# An helper to easily exposes a value using InheritedWidget without having to write one.
provider: ^4.0.1
# String validation and sanitization for Dart. Dart 2-compatible version of validator
validators: ^2.0.0+1
# A powerful Http client for Dart
dio: 3.0.8
# A flexible widget for user notification.
flushbar: ^1.9.1
# Material Dialog
material_dialog: ^0.0.9
# Dependency injection
inject:
git:
url: https://github.com/google/inject.dart.git
path: package/inject
ref: 7c3cbf6
dependency_overrides:
source_gen: 0.9.4+7
analyzer: ^0.39.4
intl: ^0.16.1
dev_dependencies:
flutter_test:
sdk: flutter
json_serializable: ^3.2.5
build_runner: ^1.7.3
inject_generator:
git:
url: https://github.com/google/inject.dart.git
path: package/inject_generator
ref: 7c3cbf6
flutter_icons:
image_path: "assets/icons/ic_launcher.png"
android: true
ios: true
# 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:
- assets/images/
- assets/icons/
- assets/lang/
# 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: ProductSans
fonts:
- asset: assets/fonts/Product-Sans-Regular.ttf
- asset: assets/fonts/Product-Sans-Italic.ttf
style: italic
- asset: assets/fonts/Product-Sans-Bold.ttf
weight: 700
# For details regarding fonts from package dependencies,
# see https://flutter.io/custom-fonts/#from-packages