easy_rxmvvm 0.1.2 easy_rxmvvm: ^0.1.2 copied to clipboard
A state management framework for Flutter using RxDart and MVVM.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_rxmvvm
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
easy_rxmvvm: ^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:easy_rxmvvm/core/consumer/retrieve.dart';
import 'package:easy_rxmvvm/core/consumer/single.dart';
import 'package:easy_rxmvvm/core/consumer/view_model_consumer.dart';
import 'package:easy_rxmvvm/core/consumer/view_model_consumer_state_mixin.dart';
import 'package:easy_rxmvvm/core/consumer/view_model_container.dart';
import 'package:easy_rxmvvm/core/dispose_bag/dispose_bag_mixin.dart';
import 'package:easy_rxmvvm/core/dispose_bag/dispose_bag_provider.dart';
import 'package:easy_rxmvvm/core/dispose_bag/dispose_extension.dart';
import 'package:easy_rxmvvm/core/event_bus/event_bus.dart';
import 'package:easy_rxmvvm/core/event_bus/event_bus_mixin.dart';
import 'package:easy_rxmvvm/core/extensions/context_extension.dart';
import 'package:easy_rxmvvm/core/extensions/list_extension.dart';
import 'package:easy_rxmvvm/core/extensions/observable_extension.dart';
import 'package:easy_rxmvvm/core/extensions/rx_extension.dart';
import 'package:easy_rxmvvm/core/extensions/sync_extension.dart';
import 'package:easy_rxmvvm/core/logger/logger.dart';
import 'package:easy_rxmvvm/core/provider/view_model_provider.dart';
import 'package:easy_rxmvvm/core/utils/stream_builder_factory.dart';
import 'package:easy_rxmvvm/core/view_model/context_provider_mixin.dart';
import 'package:easy_rxmvvm/core/view_model/dispatch_action_mixin.dart';
import 'package:easy_rxmvvm/core/view_model/view_model.dart';
import 'package:easy_rxmvvm/rxmvvm.dart';