brsHunterX / flutter-boilerplate-modular

Boilerplate that facilitates the creation of base projects that use flutter modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Boilerplate that facilitates the creation of base projects that use flutter modules.

Badge Badge style: flutter_lints

Features

  • Modular Features
  • Material Design 3.0
  • Dynamic Theme Colors

Usage

Click in "Use this template" > "Create a new repository" to create a new project based on this

Step-1

Clone the newly created project and rename the project using the "rename" library

flutter pub global activate rename
rename --appname your_project_name

Manually rename the "name" key in the pubspec.yaml file:

name: your_project_name

Install the dependencies:

flutter clean
flutter pub get

Configure your project's icons in assets > launcher following the image and naming pattern, then run:

flutter pub run flutter_launcher_icons

Duplicate the .env.example > .env file and make the necessary settings.

cp ./.env.example .env

This boilerplate has an example module that uses clean architecture and MobX to manage states. Run the code below to generate the .g files.

flutter pub run build_runner watch --delete-conflicting-outputs

Start the app:

flutter run

About

Boilerplate that facilitates the creation of base projects that use flutter modules.


Languages

Language:C++ 36.4%Language:CMake 29.8%Language:Dart 25.9%Language:HTML 2.9%Language:Swift 2.5%Language:C 2.3%Language:Kotlin 0.2%Language:Objective-C 0.1%