mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-22 01:20:46 +00:00
feat(app): Добавить fluttergen (#3)
Co-authored-by: PetrovY <y.petrov@friflex.com>
This commit is contained in:
67
pubspec.yaml
67
pubspec.yaml
@@ -18,6 +18,7 @@ dependencies:
|
||||
provider: 6.1.2
|
||||
dio: 5.7.0
|
||||
intl: 0.19.0
|
||||
flutter_svg: 2.0.17
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
|
||||
@@ -27,9 +28,9 @@ dependencies:
|
||||
|
||||
app_services:
|
||||
### Базовая реализация ###
|
||||
path: app_services/gms/app_services
|
||||
|
||||
### Аврора реализация ###
|
||||
# path: app_services/aurora/app_services
|
||||
path: app_services/aurora/app_services
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
@@ -38,39 +39,37 @@ dev_dependencies:
|
||||
hosted: https://pub.friflex.com
|
||||
version: 4.0.1
|
||||
envied_generator: 1.0.1
|
||||
build_runner: 2.4.14
|
||||
build_runner: 2.4.14
|
||||
flutter_gen_runner: 5.8.0
|
||||
flutter_gen: 5.8.0
|
||||
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
generate: true
|
||||
generate: false
|
||||
assets:
|
||||
- assets/icons/
|
||||
- assets/fonts/
|
||||
- assets/images/
|
||||
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
# assets:
|
||||
# - images/a_dot_burr.jpeg
|
||||
# - images/a_dot_ham.jpeg
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/to/resolution-aware-images
|
||||
|
||||
# For details regarding adding assets from package dependencies, see
|
||||
# https://flutter.dev/to/asset-from-package
|
||||
|
||||
# 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/to/font-from-package
|
||||
fonts:
|
||||
- family: Montserrat
|
||||
fonts:
|
||||
- asset: assets/fonts/Montserrat-ExtraBold.ttf
|
||||
weight: 800
|
||||
- asset: assets/fonts/Montserrat-Bold.ttf
|
||||
weight: 700
|
||||
- asset: assets/fonts/Montserrat-SemiBold.ttf
|
||||
weight: 600
|
||||
- asset: assets/fonts/Montserrat-Medium.ttf
|
||||
weight: 500
|
||||
- asset: assets/fonts/Montserrat-Regular.ttf
|
||||
weight: 400
|
||||
|
||||
flutter_gen:
|
||||
options:
|
||||
output: lib/gen/
|
||||
line_length: 100
|
||||
integrations:
|
||||
flutter_svg: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user