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

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

130/ 160
pub points
--
downloads

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

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

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

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: mu_biometric_auth, mu_biometric_auth.AnimatedButton, mu_biometric_auth.AnimatedButton.AnimatedButton.new, mu_biometric_auth.AnimatedButton.gradient, mu_biometric_auth.AnimatedButton.onTap.

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:93:63

   ╷
93 │             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:96:65

   ╷
96 │               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.8 1.0.8
flutter_screenutil ^5.9.3 5.9.3 5.9.3
google_fonts ^6.2.1 6.3.3 8.0.2
local_auth ^2.3.0 2.3.0 3.0.1
lottie ^3.1.2 3.3.2 3.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
async - 2.13.0 2.13.0
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.33 2.0.33
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
local_auth_android - 1.0.56 2.0.5
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.1
native_toolchain_c - 0.17.5 0.17.5
objective_c - 9.3.0 9.3.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
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
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.2.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.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

0
likes
130
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_screenutil, google_fonts, local_auth, lottie

More

Packages that depend on mu_biometric_auth