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 2 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 60 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 |
---|---|---|---|
collection |
^1.18.0 |
1.18.0 | 1.19.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_mvc |
^4.1.0 |
4.2.1+1 | 4.2.1+1 |
path |
^1.9.0 |
1.9.0 | 1.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
csslib |
- | 1.0.0 | 1.0.0 |
dart_dependency_injection |
- | 1.1.3+2 | 1.1.3+2 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.15.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
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.12
, Flutter 3.24.1
, Dart 3.5.1
.
Check the analysis log for details.