packagist_mvc 1.1.2 packagist_mvc: ^1.1.2 copied to clipboard
基础MVC框架封装
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add packagist_mvc
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
packagist_mvc: ^1.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:packagist_mvc/base/base_controller.dart';
import 'package:packagist_mvc/base/base_model.dart';
import 'package:packagist_mvc/base/base_page.dart';
import 'package:packagist_mvc/base/base_page_interface.dart';
import 'package:packagist_mvc/base/lifecycle_observer.dart';
import 'package:packagist_mvc/base/mvc_setting.dart';
import 'package:packagist_mvc/base/page_stack.dart';
import 'package:packagist_mvc/base/status_view.dart';
import 'package:packagist_mvc/mvc.dart';