Skip to content

chunghha/fl_template

Repository files navigation

Flutter app template - alpha

Please review and feedback to Discussions.

This repo is to provide a flutter app template for datacentric apps with backend services.

  • Layer architecture with multi packages with melos
  • Model classes with freezed to hold responses from backend services
  • Adapter classes with dio to interface with RESTful services
  • State management with riverpod globally and flutter_hooks locally
  • Route to pages with go_router
  • all lint rules with few rules disabled

Melos Setup

Package Model

Package Adapter

Package Theme

Package UI

Flutter Hooks / Riverpod

Go_Router

Google_Fonts

Launcher Icon

  • Just run this melos task once a launcher icon(launcher.png) placed into ui package's "assets/icons".
melos run generate:launcher_icon