permission_request_page 1.0.0 copy "permission_request_page: ^1.0.0" to clipboard
permission_request_page: ^1.0.0 copied to clipboard

outdated

A widget that explains and requests why app permissions are needed.

80/ 160
pub points
11
downloads

We analyzed this package 22 days ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:permission_request_page/permission_request_page.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:permission_request_page/permission_request_page.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:permission_request_page/permission_request_page.dart that declares support for platforms: Android, iOS.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
device_info_plus_linux - 3.0.0 5.0.0 Discontinued
device_info_plus_macos - 3.0.0 5.0.0 Discontinued
device_info_plus_platform_interface - 3.0.0 7.0.3
device_info_plus_web - 3.0.0 5.0.0 Discontinued
device_info_plus_windows - 4.1.0 6.0.0 Discontinued
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 3.1.4 5.15.0
xdg_directories - 1.1.0 1.1.0

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
10
likes
80
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

A widget that explains and requests why app permissions are needed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

animations, device_info_plus, flutter, permission_handler, shared_preferences

More

Packages that depend on permission_request_page

Packages that implement permission_request_page