flutter_mvc_router 1.0.0-dev.5
flutter_mvc_router: ^1.0.0-dev.5 copied to clipboard
flutter_mvc's router.
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
101 out of 398 API elements (25.4 %) have documentation comments.
Some symbols that are missing documentation: flutter_mvc_router
, flutter_mvc_router.FlutterMvcRouter
, flutter_mvc_router.FlutterMvcRouter.addMvcRouter
, flutter_mvc_router.FlutterMvcRouter.addMvcRouterMiddleware
, flutter_mvc_router.MvcBasicRouter
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 32 issues. Showing the first 2:
INFO: The import of 'package:flutter_mvc_router/src/router/router.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter_mvc_router/flutter_mvc_router.dart'.
lib/src/navigator.dart:5:8
╷
5 │ import 'package:flutter_mvc_router/src/router/router.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/navigator.dart
INFO: 'onPopPage' is deprecated and shouldn't be used. Use onDidRemovePage instead. This feature was deprecated after v3.16.0-17.0.pre.
lib/src/navigator.dart:204:21
╷
204 │ onPopPage: (route, result) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/navigator.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
flutter_mvc |
^4.1.0 |
4.2.1+1 | 4.2.1+1 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dart_dependency_injection |
- | 1.1.3+2 | 1.1.3+2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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 3 errors:
NON_TYPE_AS_TYPE_ARGUMENT
-lib/flutter_mvc_router.dart:62:18
- The name 'ServiceObserver' isn't a type, so it can't be used as a type argument.UNDEFINED_METHOD
-lib/flutter_mvc_router.dart:76:5
- The method 'configure' isn't defined for the type 'ServiceCollection'.MIXIN_WITH_NON_CLASS_SUPERCLASS
-lib/src/serializer/manager.dart:7:42
- Mixin can only be applied to class.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.