flutter_myscript 0.0.6
flutter_myscript: ^0.0.6 copied to clipboard
Handling the permission access.
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
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://bitbucket.org/abstractdevfactory/flutter_myscript
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
OUT: Documenting flutter_myscript... Discovering libraries... Linking elements... Precaching local docs for 628748 elements... Initialized dartdoc with 770 libraries Generating docs for library flutter_permission_handler.dart from package:flutter_myscript/flutter_permission_handler.dart... Generating docs for library flutter_myscript_platform_interface.dart from package:flutter_myscript/flutter_myscript_platform_interface.dart... Generating docs for library flutter_myscript.dart from package:flutter_myscript/flutter_myscript.dart... Generating docs for library flutter_myscript_method_channel.dart from package:flutter_myscript/flutter_myscript_method_channel.dart... Documented 4 public libraries in 79.3 seconds ERR: warning: unresolved doc reference [Flutter Permission Handler] from package-flutter_myscript: file:///tmp/pana_TZSALH warning: flutter_myscript has no library level documentation comments from flutter_myscript: (file:///tmp/pana_TZSALH/lib/flutter_myscript_platform_interface.dart:1:1) warning: unresolved doc reference [Permission] from flutter_myscript.GetPermissionStatus: (file:///tmp/pana_TZSALH/lib/flutter_myscript_platform_interface.dart:4:6) warning: unresolved doc reference [Permission.phone] from flutter_myscript.ServicePermissionActions.serviceStatus: (file:///tmp/pana_TZSALH/lib/flutter_myscript.dart:108:29) warning: unresolved doc reference [false] from flutter_myscript.GetPermissionActions.shouldShowRequestRationale: (file:///tmp/pana_TZSALH/lib/flutter_myscript.dart:42:20) [42 more lines]
10/10 points: Package has 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 does not support platform `Web`.
Because:
package:flutter_myscript/flutter_myscript.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/flutter_myscript/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: The value of the field '_name2' isn't used.
lib/src/demo/sample_2.dart:4:10
╷
4 │ String _name2 = 'Flutter2';
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/demo/sample_2.dart
WARNING: The declaration '_tapAction' isn't referenced.
lib/src/demo/sample_2.dart:6:8
╷
6 │ void _tapAction() {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/demo/sample_2.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
meta |
^1.8.0 |
1.16.0 | 1.16.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
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 | |
vector_math |
- | 2.1.4 | 2.1.5 |
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.