With the release of Android 9.0 (API level 28) there came a new version of support libraries under the banner, AndroidX. These versions are incompatible to the earlier plugins and packages used by Flutter and consequently by the MVC framework package I would soon be releasing. And so, in the interest of the Flutter community, I decided on something about it.
I decided to deliver a 'pre-release' of the framework package. One that will still work with the now deprecated and yet currently more widely used support files. While the standard package, mvc_application, will continue on with the most recent and future Android support files, this release will only work with the support files available prior to AndroidX. I decided to call it, mxc_application. With its subtle 'play on words' this will be an early release of the 'MVC framework package.'
Thus, this version of the framework is everything like the MVC version, but for one important distinction. One that's reflected in the list of versions numbers found in the framework's pubspec.yaml file. They're all the old versions of the plugins and packages that worked prior to the migration to AndroidX. Note, this particular framework package will not progress any much further in development. After all, it's only really helpful to those developing apps for the Android platform using deprecated support library files that will one day go away.
Turn to the Medium article, MXC before MVC, for further instructions and documentation.
2019-03-13: THIS WAS AN UNINTENTIONAL BREAKING CHANGE.
2019-03-13: THIS CONTINUES AS A BREAKING CHANGE.
// https://github.com/fluttercommunity/flutter_contacts/tree/master/example // https://pub.dartlang.org/packages/contacts_service#-readme-tab- import 'package:flutter/material.dart' show runApp; import 'package:mxc_application/mvc.dart' show MVC; import 'view.dart' show ContactsExampleApp; void main() => runApp(MVC(ContactsExampleApp()));
Add this to your package's pubspec.yaml file:
dependencies: mxc_application: ^1.2.1
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:mxc_application/app.dart'; import 'package:mxc_application/controller.dart'; import 'package:mxc_application/dbutils.dart'; import 'package:mxc_application/model.dart'; import 'package:mxc_application/mvc.dart'; import 'package:mxc_application/prefs.dart'; import 'package:mxc_application/settings.dart'; import 'package:mxc_application/view.dart';
|1.2.1||Mar 19, 2019|
|1.2.0||Mar 18, 2019|
|1.1.0+2||Mar 14, 2019|
|1.1.0+1||Mar 14, 2019|
|1.1.0||Mar 13, 2019|
|1.0.1||Mar 13, 2019|
|1.0.0||Mar 13, 2019|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Mar 19, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
|Dart SDK||>=2.1.0 <3.0.0|