base_mvvm 1.0.2 copy "base_mvvm: ^1.0.2" to clipboard
base_mvvm: ^1.0.2 copied to clipboard

outdated

A Flutter mvvm with pure dart, supported both iOS and Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add base_mvvm

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

dependencies:
  base_mvvm: ^1.0.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:base_mvvm/base/config/config.dart';
import 'package:base_mvvm/base/mvvm/base_model.dart';
import 'package:base_mvvm/base/mvvm/base_view.dart';
import 'package:base_mvvm/base/mvvm/base_view_model.dart';
import 'package:base_mvvm/base/network/mf_api_service.dart';
import 'package:base_mvvm/base/network/mf_dio_api.dart';
import 'package:base_mvvm/base/utils/common_util.dart';
import 'package:base_mvvm/base/widget/anim/config/anim_config.dart';
import 'package:base_mvvm/base/widget/anim/fram_aniam_layout.dart';
import 'package:base_mvvm/base/widget/anim/mf_anim_layout.dart';
import 'package:base_mvvm/base/widget/pagestate/mf_page_loading.dart';
import 'package:base_mvvm/base/widget/pagestate/mf_page_reflush.dart';
import 'package:base_mvvm/flutter_mvvm.dart';
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A Flutter mvvm with pure dart, supported both iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cookie_jar, dio, flutter, json_annotation, provider, rxdart

More

Packages that depend on base_mvvm