fast_mvvm 1.0.1 fast_mvvm: ^1.0.1 copied to clipboard
使用 MVVM 架构来实现,快速搭建项目,帮助使用者只需要关注业务实现即可。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fast_mvvm
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fast_mvvm: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fast_mvvm/fast_mvvm.dart';