mu_biometric_auth 0.0.3 copy "mu_biometric_auth: ^0.0.3" to clipboard
mu_biometric_auth: ^0.0.3 copied to clipboard

A highly customizable and responsive biometric authentication package for Flutter supporting Fingerprint, FaceID, and TouchID on Android and iOS.

140/ 160
pub points
10
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/example/mu_biometric_auth was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/example/mu_biometric_auth was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/example/mu_biometric_auth/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

31 out of 31 API elements (100.0 %) have documentation comments.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:mu_biometric_auth/mu_biometric_auth.dart that imports:
  • package:mu_biometric_auth/src/biometric_service.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
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 7 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/ui/mu_biometric_prompt.dart:130:63

    ╷
130 │             color: (isDarkMode ? Colors.black : Colors.white).withOpacity(0.7),
    │                                                               ^^^^^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/ui/mu_biometric_prompt.dart:133:65

    ╷
133 │               color: (isDarkMode ? Colors.white : Colors.black).withOpacity(0.1),
    │                                                                 ^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
cupertino_icons ^1.0.8 1.0.9 1.0.9
flutter_screenutil ^5.9.3 5.9.3 5.9.3
google_fonts ^6.2.1 6.3.3 8.1.0
local_auth ^2.3.0 2.3.0 3.0.1
lottie ^3.1.2 3.3.3 3.3.3
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_plugin_android_lifecycle - 2.0.34 2.0.34
glob - 2.1.3 2.1.3
hooks - 1.0.3 1.0.3
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
local_auth_android - 1.0.56 2.0.8
local_auth_darwin - 1.6.1 2.0.3
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.18.0
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 0.6.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^6.2.1` on google_fonts does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions google_fonts to update the constraint.

The constraint `^2.3.0` on local_auth does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions local_auth to update the constraint.

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.12, Flutter 3.41.9, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly customizable and responsive biometric authentication package for Flutter supporting Fingerprint, FaceID, and TouchID on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#analytics #authentication #biometrics #security #fingerprint

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_screenutil, google_fonts, local_auth, lottie

More

Packages that depend on mu_biometric_auth