permission_request_page 1.0.0
permission_request_page: ^1.0.0 copied to clipboard
A widget that explains and requests why app permissions are needed.
We analyzed this package 22 days ago, and awarded it 80 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.
10/10 points: 20% or more of the public API has dartdoc comments
56 out of 73 API elements (76.7 %) have documentation comments.
Some symbols that are missing documentation: init_result, localization, localization.Localization, localization.Localization.Localization.new, localization.Localization.dictionary.
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:permission_request_page/permission_request_page.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:permission_request_page/permission_request_page.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:permission_request_page/permission_request_page.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:permission_request_page/permission_request_page.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'.
lib/permission_request_page.dart:354:18
╷
354 │ .headline6
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/permission_request_page.dart
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/permission_request_page.dart:379:10
╷
379 │ .subtitle1
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/permission_request_page.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
animations |
^2.0.4 |
2.1.1 | 2.1.1 | |
device_info_plus |
^4.1.2 |
4.1.3 | 12.3.0 | |
permission_handler |
^10.0.0 |
10.4.5 | 12.0.1 | |
shared_preferences |
^2.0.15 |
2.5.4 | 2.5.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.1.2` on device_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^10.0.0` 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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_GETTER-lib/permission_request_page.dart:354:18- The getter 'headline6' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/permission_request_page.dart:379:10- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/permission_request_page.dart:384:10- The getter 'bodyText2' isn't defined for the type 'TextTheme'.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.