Rithprohos / flutter_app_template

Flutter App Templete is a project that introduces an approach to architecture and project structure for developing Flutter apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_app_template

melos codecov

Flutter App Template

"Flutter App Template" is a project that introduces an approach to architecture and project structure for developing Flutter apps.

packages/flutter_app

State Management

Code Generation

Hooks

Router

flutter_app Project settings

Category Description Codes
FVM Flutter Version Management .fvm/fvm_config.json
Dart Dart version pubspec.yaml
Dart Lint / Analyze analysis_options.yaml

Packages overview

flutter_app

This is a template package for Flutter apps with dev, stg, and prod environments.

Also check the flutter_app/README.md.

notification_receiver

This package takes care of functions (responsibilities) related to setting notification permissions and receiving push notifications for the application.

themes

This package is responsible for the appearance of ThemeData and other appearance-related data used in Flutter apps.

How to start development

make

FVM and Melos are now installed.

What to do in a new repository using this template

  1. Replace App ID with your App ID. jp.co.altive.fat -> your.domain.id
  2. Change CFBundleName and CFBundleDisplayName in ios/Runner/info.plist to your app name.
  3. Change FlutterAT in defaultConfig/resValue of android/app/build.gradle to your app name.
  4. Create a project in Firebase.
  5. Create an Android app, download google-services.json, and place it in android/app/src/{dev or stg or prod}.
  6. Create an iOS app, download GoogleService-Info.plist, and place it in ios/{dev or stg or prod}.
  7. Modify GOOGLE_REVERSED_CLIENT_ID in {dev, stg, prod}.xcconfig to match the contents of each GoogleService-Info.plist.
  8. Create a Web app and modify the parameters in firebaseConfig in web/index.html according to the Firebase SDK additions. - apiKey, authDomain, databaseURL, projectId, storageBucket, messagingSenderId, appId, measurementId

How to create a new package

# Package
flutter create -t package packages/{package_name}
# App
flutter create --org jp.co.altive packages/{app_name}

References

Internationalization User Guild PresentationDomainSeparation Flutter Architecture Blueprints

Thank you!

About

Flutter App Templete is a project that introduces an approach to architecture and project structure for developing Flutter apps.

License:MIT License


Languages

Language:Dart 95.3%Language:HTML 1.8%Language:Ruby 1.6%Language:Swift 0.3%Language:Makefile 0.3%Language:Shell 0.3%Language:JavaScript 0.2%Language:Kotlin 0.1%Language:Objective-C 0.0%