built_viewmodel 1.2.6
built_viewmodel: ^1.2.6 copied to clipboard
built_viewmodel to generate ViewModel(s). This library is the runtime dependency.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add built_viewmodelThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
built_viewmodel: ^1.2.6Alternatively, 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:built_viewmodel/built_viewmodel.dart';