dudv_base 1.3.0+3
dudv_base: ^1.3.0+3 copied to clipboard
Model–view–presenter (MVP) is a derivation of the model–view–controller (MVC) architectural pattern, and is used mostly for building user interfaces.
We analyzed this package 8 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
71 out of 462 API elements (15.4 %) 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: action_noti_view
, action_noti_view.ActionNotiView
, action_noti_view.ActionNotiView.ActionNotiView.new
, action_noti_view.ActionNotiView.icon
, action_noti_view.ActionNotiView.onTap
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:dudv_base/dudv_base.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:dudv_base/dudv_base.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:dudv_base/dudv_base.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:dudv_base/dudv_base.dart
that imports:package:dudv_base/app_presenter.dart
that imports:package:dudv_base/utils.dart
that imports:package:dudv_base/view/guide_permission_view.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dudv_base/dudv_base.dart
that imports:package:fluttertoast/fluttertoast.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
Found 8 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/app_presenter.dart:160:41
╷
160 │ backgroundColor: Colors.black.withOpacity(0.8),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/app_presenter.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/utils.dart:41:50
╷
41 │ backgroundColor: tsBgColor ?? Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
fluttertoast |
^8.2.2 |
8.2.12 | 8.2.12 | |
logger |
^2.0.1 |
2.5.0 | 2.5.0 | |
permission_handler |
^10.4.3 |
10.4.5 | 12.0.0+1 |
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.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
permission_handler_android |
- | 10.3.6 | 13.0.1 | |
permission_handler_apple |
- | 9.1.4 | 9.4.7 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
permission_handler_windows |
- | 0.1.3 | 0.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^10.4.3` on permission_handler does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions permission_handler
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.21
, Flutter 3.32.1
, Dart 3.8.1
.
Check the analysis log for details.