Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

januwA/flutter_anime_app

Repository files navigation

how run the app?

  1. git clone https://github.com/januwA/flutter_anime_app.git
  2. flutter pub get
  3. flutter packages pub run build_runner watch --delete-conflicting-outputs
  4. flutter run

mobx build

find ./lib/ -iname *.g.dart | xargs rm -rf  // delete all *.g.dart file

flutter packages pub run build_runner build   // 执行一次build命令
flutter packages pub run build_runner watch  // 文件更改自动打包
flutter packages pub run build_runner watch --delete-conflicting-outputs  // 删除旧文件在打包

build apk

$ flutter build apk --split-per-abi

Test

λ flutter test ./test/util_test.dart