forked from bachhoan88/FlutterCleanArchitecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
127 lines (96 loc) · 2.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
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
name: flutter_clean_architecture
description: This is a simple for Clean Architecture using the Provider Pattern
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: '>=2.0.0'
# If override conflict depends library version
#dependency_overrides:
dependencies:
flutter:
sdk: flutter
# For data class
equatable: ^2.0.3
# Resource localizations
flutter_localizations:
sdk: flutter
# For Design Pattern
flutter_hooks: ^0.18.1
hooks_riverpod: ^1.0.3
# For Networking
dio: ^4.0.3
retrofit: ^3.0.0
# Json serializable & model
json_annotation: ^4.3.0
freezed_annotation: ^2.0.3
enum_to_string: ^2.0.1
# Platform information
package_info: ^2.0.2
# Default icon for widget
cupertino_icons: ^1.0.3
# Shared Preferences
# shared_preferences: ^2.0.6
# Change S.Prefs by Hive
hive: ^2.2.0
hive_flutter: ^1.1.0
# Support for design
flutter_svg: ^1.0.0
# Image Cached
cached_network_image: ^3.0.0
# Flare
flare_flutter: ^3.0.2
# Lib for custom view
carousel_slider: ^4.0.0
# Toast view
fluttertoast: ^8.0.7
dev_dependencies:
flutter_test:
sdk: flutter
# Data class
freezed: ^2.0.3+1
# Generate object
hive_generator: any
# Auto generate some files
build_runner: ^2.0.4
# build_runner: ^1.11.5
flutter_gen_runner: ^4.1.3
json_serializable: ^6.0.1
# retrofit
retrofit_generator: ^4.0.1
# unit test & calculate coverage
mockito: ^5.0.16
# Lint when build
flutter_lints: ^2.0.1
# Config generate when build
flutter_gen:
output: lib/gen/
line_lenght: 160
null_safety: true
integrations:
flutter_svg: true
flare_flutter: true
assets:
enabled: true
fonts:
enabled: true
colors:
enabled: true
inputs:
- assets/color/colors.xml
flutter:
uses-material-design: true
generate: true
assets:
- assets/images/
- assets/images/ic_menu.png
- assets/images/ic_netflix.png
fonts:
- family: Muli
fonts:
- asset: assets/fonts/Muli-Bold.ttf
weight: 900
- asset: assets/fonts/Muli-SemiBold.ttf
weight: 700
- asset: assets/fonts/Muli-Regular.ttf
weight: 400