mvvm_provider 1.0.0 mvvm_provider: ^1.0.0 copied to clipboard
Simple and effective architecture MVVM using Provider to approach Flutter with full life cycle
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mvvm_provider
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mvvm_provider: ^1.0.0
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:mvvm_provider/base/FlutterView.dart';
import 'package:mvvm_provider/base/FlutterViewModel.dart';
import 'package:mvvm_provider/base/FlutterWidget.dart';
import 'package:mvvm_provider/base/FlutterWidgetModel.dart';