stacked_mvvm 0.2.2 stacked_mvvm: ^0.2.2 copied to clipboard
MVVM architecture implementation
We analyzed this package 4 days ago, and awarded it 140 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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
190 out of 245 API elements (77.6 %) have documentation comments.
Some symbols that are missing documentation: stacked_mvvm
, stacked_mvvm.IModel
, stacked_mvvm.IModel.IModel
, stacked_mvvm.IPage.logScreenOpen
, stacked_mvvm.IPage.onCreated
.
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
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:stacked_mvvm/stacked_mvvm.dart
that imports:package:stacked/stacked.dart
that imports:package:stacked/src/code_generation/router_annotation/router_utils.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_browser.dart
that imports:package:universal_io/src/internet_address.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:stacked_mvvm/stacked_mvvm.dart
that imports:package:stacked/stacked.dart
that imports:package:stacked/src/code_generation/router_annotation/router_utils.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_vm.dart
that imports:package:universal_io/src/new_universal_http_client.dart
that imports:package:universal_io/src/_helpers.dart
that imports:package:universal_io/src/_helpers_impl_elsewhere.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full 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
INFO: 'onModelReady' is deprecated and shouldn't be used. Prefer to use onViewModelReady instead.
lib/i_widget.dart:19:7
╷
19 │ onModelReady: (model) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/i_widget.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
equatable |
^2.0.5 |
2.0.7 | 2.0.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
provider |
^6.1.2 |
6.1.2 | 6.1.2 |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 |
stacked |
^3.4.3 |
3.4.4 | 3.4.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
get_it |
- | 8.0.3 | 8.0.3 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.1 | 1.9.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
stacked_shared |
- | 1.4.2 | 1.4.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
universal_io |
- | 2.2.2 | 2.2.2 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.