Skip to content

CK1412/flutter-template

Repository files navigation

flutter_template

Project description

Flutter template project for Android and Ios. You can generate a new repository by clicking "Use this template" above.

Version

  • Flutter 3.27.1
  • Dart 3.6.0
  • Java JDK 17

Setup and Installation

Bootstrap the project

  • Run each command below in turn
flutter clean
flutter pub get 
dart run build_runner build --delete-conflicting-outputs 
dart run intl_utils:generate

Gen code

Watches the files system for edits and does rebuilds as necessary.

dart run build_runner watch
---
title: Diagram of dependencies between layers
---
graph BT;
    app <--> presentation
    app <--> domain
    app <--> data
    data --> domain
    domain --> presentation
Loading

Troubleshooting

Clear git local cached

When you think your git is messed up, you can use this command to do everything up-to-date.

git rm -r --cached . 
git add . 
git commit -m 'git cache cleared'

Caution

Note: Only use when the project has no changes waiting to be committed.

Tools

  • DartJ is Flutter application, maked by @ttpho, which will generate the Freezed classes from a JSON payload.

About

Flutter template project for Android and IOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages