-
Notifications
You must be signed in to change notification settings - Fork 2
/
pubspec.yaml
40 lines (33 loc) · 974 Bytes
/
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
name: example
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=3.1.0 <4.0.0'
dependencies:
animated_toggle_switch:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
locale_switcher:
path: ../../
# this will be generated by: dart run build_runner build (you need to run this command first, then add next line)
# path: ./lib/src/packages/locale_switcher
easy_localization:
locale_switcher:
# please note: this is country codes, not language codes!
flags: [ 'us', 'vn', 'de' ] # generated package will only have this svg flags
#shared_preferences: false # default: true
easy_localization: true # default: false
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
# locale_switcher_dev:
# path: ../../
flutter:
generate: true
uses-material-design: true
assets:
- assets/translations/