flutter_vm 0.0.1+2 copy "flutter_vm: ^0.0.1+2" to clipboard
flutter_vm: ^0.0.1+2 copied to clipboard

A Flutter ViewModel implementation. Use Mixin for use in Statefull Widget or sample contructor for use in Stateless. This lib include UseCase.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_vm

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_vm: ^0.0.1+2

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:flutter_vm/base/base_view_model.dart';
import 'package:flutter_vm/base/broadcast_stream_controller.dart';
import 'package:flutter_vm/base/usecase.dart';
import 'package:flutter_vm/mixin/view_model.dart';
import 'package:flutter_vm/vm.dart';
import 'package:flutter_vm/widget/snapshot_builder.dart';
0
likes
150
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter ViewModel implementation. Use Mixin for use in Statefull Widget or sample contructor for use in Stateless. This lib include UseCase.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_vm