vuex4flutter 0.0.2-dev vuex4flutter: ^0.0.2-dev copied to clipboard
Vuex4Flutter is a state management pattern that provides a VueX like interface. Super lightweight and more important, testable!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add vuex4flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
vuex4flutter: ^0.0.2-dev
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:vuex4flutter/vuex4flutter.dart';