/flutter_app_template

Starting template for flutter application with structured way.

Primary LanguageDartGNU General Public License v2.0GPL-2.0

Sample Flutter App Template For Starting

Getting Started

Directory structure

  • di : dependency injection root
  • feature : multiple features (business logic) as each directory.
    • bloc : bloc, events, state
    • screens: view which is related to this feature
  • l10n: string resource with localization
  • routes.dart: page routing table for this app

String resource management

Renaming project

Bundle renaming

App name renaming

Testing

Integration_test

Firebase setup

Firebase Emulation

  • Firebase auth emulation test sequence.
    • firebase emulator를 시작한다. firebase emulators:start --import="./integration_test/resources/emulator_dump"
    • test를 진행한다.
  • 새로운 emulation setting을 만들고 싶을 때
    • firebase emulator를 export option으로 시작한다. firebase emulators:start --export-on-exit="./integration_test/resources/emulator_dump"