mvc_pattern 8.8.1 mvc_pattern: ^8.8.1 copied to clipboard
To develop apps using a framework following the MVC design pattern separating the app's 'interface' from its 'business logic' and from its 'data source' if any.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mvc_pattern
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mvc_pattern: ^8.8.1
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:mvc_pattern/mvc_pattern.dart';