auth_wrapper 1.0.1 copy "auth_wrapper: ^1.0.1" to clipboard
auth_wrapper: ^1.0.1 copied to clipboard

A simple Dart package for handling authentication logic.

130/ 160
pub points
44
downloads

We analyzed this package 5 days ago, and awarded it 130 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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting auth_wrapper... Discovering libraries... Linking elements... Precaching local docs for 646376 elements... Initialized dartdoc with 794 libraries Generating docs for library models/AuthRoute.dart from package:auth_wrapper/models/AuthRoute.dart... Generating docs for library auth_wrapper.dart from package:auth_wrapper/auth_wrapper.dart... Documented 2 public libraries in 43.0 seconds ERR: warning: auth_wrapper has no library level documentation comments from auth_wrapper: (file:///tmp/pana_BCYQMQ/lib/models/AuthRoute.dart:1:1) warning: auth_wrapper has no library level documentation comments from auth_wrapper: (file:///tmp/pana_BCYQMQ/lib/auth_wrapper.dart:1:1) error: file already written at "auth_wrapper/index.html" for symbol auth_wrapper: (file:///tmp/pana_BCYQMQ/lib/auth_wrapper.dart:1:1) conflicting with file already generated by auth_wrapper: (file:///tmp/pana_BCYQMQ/lib/models/AuthRoute.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'auth_wrapper' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [16 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: 'useInheritedMediaQuery' is deprecated and shouldn't be used. Remove this parameter as it is now ignored. MaterialApp never introduces its own MediaQuery; the View widget takes care of that. This feature was deprecated after v3.7.0-29.0.pre.

lib/auth_wrapper.dart:143:11

    ╷
143 │           useInheritedMediaQuery: widget.app.useInheritedMediaQuery,
    │           ^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/auth_wrapper.dart

INFO: 'useInheritedMediaQuery' is deprecated and shouldn't be used. This setting is now ignored. MaterialApp never introduces its own MediaQuery; the View widget takes care of that. This feature was deprecated after v3.7.0-29.0.pre.

lib/auth_wrapper.dart:143:46

    ╷
143 │           useInheritedMediaQuery: widget.app.useInheritedMediaQuery,
    │                                              ^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/auth_wrapper.dart

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
44
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple Dart package for handling authentication logic.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auth_wrapper