A production ready flutter application template for the provider architecture.
A production ready flutter application template for the provider architecture.
Filled Stacks Links:
Generate your platform specific folders with kotlin/swift
flutter create .
or generate your platform specific folders with objc/java
flutter create -i objc -a java .
Since this project uses 3 locales add this to your info.plist
CFBundleLocalizations es ru en
Generate the launcher icon (optional)
flutter pub get && pub run flutter_launcher_icons:main
. ├── core │ ├── constant │ ├── data_sources │ ├── enums │ ├── exceptions │ ├── localization │ ├── managers │ ├── mixins │ ├── models │ ├── repositories │ ├── services │ └── utils └── ui ├── shared ├── views & viewModels └── widgets
chmod +x ./format.sh && ./format.shto setup git pre commit formatting or
chmod +x ./manual_format.shand run
./manual_format.shwhenever you want to format the dart code
flutter packages pub run build_runner build --delete-conflicting-outputsif you plan to add/change any serializers once
flutter packages pub run build_runner watch --delete-conflicting-outputsif you plan to add/change any serializers multiple times
lib/local_setup.dartadd the local code to
supportedLocalCodes
CFBundleLocalizationsarray in
ios/Runner/Info.plist
.jsonfile under assets/lang/ and fill out every value for your language
flutter cleaninside you lib apps directory if flutter complains
assets/images/logo.pngto another image
flutter_icons:in the
pubspec.yamlfile
flutter pub getand then
flutter pub run flutter_launcher_icons:main
lib/ui/views//
lib/ui/router.dart
flutter packages pub run build_runner build --delete-conflicting-outputs
.dartunder
core/models//.dart
AlertRequestfrom
core/models/alert_request/alert_request.dartand replace all the class model names with
.g.dartabove the class
flutter packages pub run build_runner build --delete-conflicting-outputsto build your new model
.dartunder
core/models//.dart
Userfrom
core/models/user/user.dartand replace all the class model names with
@SerializersForclass constructor found under
core/models/serializer.dart
flutter packages pub run build_runner build --delete-conflicting-outputsto build your new model