nop_flutter 0.0.1
nop_flutter: ^0.0.1 copied to clipboard
依赖注入,状态管理
We analyzed this package 6 days ago, and awarded it 50 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
46 out of 613 API elements (7.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: change_notifier
, nav
, nop_flutter
, nop_flutter.AutoListenAddRemove
, nop_flutter.AutoListenAddRemove.parent
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:nop_flutter/nop_flutter.dart
that imports:package:nop_flutter/overlay.dart
that imports:package:nop_flutter/src/overlay/state_getter.dart
that imports:package:nop/utils.dart
that imports:package:nop/src/utils/option.dart
that imports:package:nop/event_queue.dart
that imports:package:nop/src/event_queue/task_queue.dart
that imports:package:nop/nop.dart
that imports:package:nop/isolate_event.dart
that imports:package:nop/src/isolate_event/sender_transfer_data.dart
that imports:dart:isolate
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: The method 'isPopGestureInProgress' isn't defined for the type 'CupertinoRouteTransitionMixin'.
lib/src/navigation/slide_page_transition.dart:85:39
╷
85 │ CupertinoRouteTransitionMixin.isPopGestureInProgress(route);
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/navigation/slide_page_transition.dart
ERROR: The method 'copyWith' isn't defined for the type 'RouteSettings'.
lib/src/nop/route.dart:225:30
╷
225 │ settings: settings.copyWith(name: pathName, arguments: query));
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nop/route.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.18.0 | 1.19.0 |
equatable |
^2.0.3 |
2.0.5 | 2.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
nop |
^0.0.2+1 |
0.0.4+1 | 0.1.0+1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.0.2+1` on nop does not support the stable version `0.1.0+1`.
Try running dart pub upgrade --major-versions nop
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 3 errors:
UNDEFINED_METHOD
-lib/src/navigation/slide_page_transition.dart:85:39
- The method 'isPopGestureInProgress' isn't defined for the type 'CupertinoRouteTransitionMixin'.UNDEFINED_METHOD
-lib/src/nop/route.dart:225:30
- The method 'copyWith' isn't defined for the type 'RouteSettings'.UNDEFINED_METHOD
-lib/src/nop/route.dart:236:28
- The method 'copyWith' isn't defined for the type 'RouteSettings'.
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.7
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.