mvc_application 8.13.0 mvc_application: ^8.13.0 copied to clipboard
Flutter Framework for Applications using the MVC Design Pattern
We analyzed this package 4 days ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
1353 out of 1513 API elements (89.4 %) have documentation comments.
Some symbols that are missing documentation: controller.StateListener.didChangePlatformBrightness
, prefs.Prefs.INSTANCE
, view.AppPopupMenu.buttonMenu
, view.AppPopupMenu.key
, view.AppPopupMenu.popupMenuButton
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:mvc_application/view.dart
that imports:package:mvc_application/src/view/utils/timezone.dart
that imports:package:flutter_native_timezone/flutter_native_timezone.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:mvc_application/view.dart
that imports:package:mvc_application/src/view/utils/timezone.dart
that imports:package:flutter_native_timezone/flutter_native_timezone.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Web`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:mvc_application/view.dart
that imports:package:mvc_application/src/view/app.dart
that imports:package:mvc_application/model.dart
that imports:package:mvc_application/src/model/fileutils/installfile.dart
that imports:package:mvc_application/src/model/fileutils/files.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:mvc_application/controller.dart
that imports:package:mvc_application/src/controller/schedule_notificaitons.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 160 issues. Showing the first 2:
ERROR: The method 'of' isn't defined for the type 'StateMVC'.
lib/src/view/app.dart:785:20
╷
785 │ mvc.StateMVC.of<T>(context);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/view/app.dart
ERROR: Missing concrete implementation of 'AppStateMVC.buildChild'.
lib/src/view/app_state.dart:47:7
╷
47 │ class AppState<T extends mvc.AppStatefulWidgetMVC> extends _AppState<T> {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/view/app_state.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity_plus |
^2.0.0 |
2.3.8 | 6.1.1 |
device_info_plus |
^3.0.0 |
3.2.4 | 11.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_local_notifications |
^9.0.0 |
9.9.1 | 18.0.1 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
flutter_material_color_picker |
^1.0.0 |
1.2.0 | 1.2.0 |
flutter_native_timezone |
^2.0.0 |
2.0.0 | 2.0.0 |
l10n_translator |
^3.0.0 |
3.2.0 | 4.1.4 |
mvc_pattern |
^8.0.0 |
8.12.0 | 8.12.0 |
package_info_plus |
^1.0.0 |
1.4.2 | 8.1.2 |
path_provider |
^2.0.0 |
2.0.15 | 2.1.5 |
prefs |
^3.0.0 |
3.5.0 | 4.2.0 |
timezone |
^0.8.0 |
0.8.0 | 0.10.0 |
universal_html |
^2.0.0 |
2.2.4 | 2.2.4 |
universal_platform |
^1.0.0 |
1.1.0 | 1.1.0 |
url_launcher |
^6.0.0 |
6.3.1 | 6.3.1 |
url_launcher_web |
^2.0.0 |
2.3.3 | 2.3.3 |
url_strategy |
^0.2.0 |
0.2.0 | 0.3.0 |
uuid |
^3.0.0 |
3.0.7 | 4.5.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 9 issues. Showing the first 2:
The constraint `^2.0.0` on connectivity_plus does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^3.0.0` on device_info_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 8 errors:
UNDEFINED_METHOD
-lib/src/view/app.dart:327:16
- The method 'ready' isn't defined for the type 'Prefs'.UNDEFINED_GETTER
-lib/src/view/app.dart:565:44
- The getter 'inDebugger' isn't defined for the type 'AppStateUNDEFINED_METHOD
-lib/src/view/app.dart:574:46
- The method 'buildInherited' isn't defined for the type 'AppState'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.