flutter_modular 5.0.3
flutter_modular: ^5.0.3 copied to clipboard
Smart project structure with dependency injection and route management
We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_modular
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has multiple matching pubspec.yaml
with name: flutter_modular
.
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
117 out of 240 API elements (48.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_modular
, flutter_modular.AsyncBind.AsyncBind.new
, flutter_modular.AsyncBind.asyncInject
, flutter_modular.AsyncBind.copyWith
, flutter_modular.Bind.Bind.new
.
10/10 points: Package has 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'false'.
lib/src/presenter/navigation/modular_route_information_parser.dart:35:37
╷
35 │ if (routeInformation.location == null ||
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presenter/navigation/modular_route_information_parser.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/presenter/navigation/modular_route_information_parser.dart:40:41
╷
40 │ path = routeInformation.location!;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presenter/navigation/modular_route_information_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_modular_annotations |
^0.0.2 |
0.0.2 | 0.0.2 | |
meta |
>=1.3.0 <2.0.0 |
1.16.0 | 1.16.0 | |
modular_core |
>=2.0.3+1 <3.0.0 |
2.0.3+1 | 3.3.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
modular_interfaces |
- | 2.0.2 | 3.0.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=2.0.3+1 <3.0.0` on modular_core does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions modular_core
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.