pin 0.3.1
pin: ^0.3.1 copied to clipboard
Package containing all necessary backend logic for implementing PIN code feature in Flutter applications. And even more...
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/AndreySosnovyy/flutter_pin_code/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
65 out of 85 API elements (76.5 %) have documentation comments.
Some symbols that are missing documentation: pin
, pin.CantReturnTimeoutException
, pin.CantReturnTimeoutException.CantReturnTimeoutException.new
, pin.CantSetBiometricsWithoutPinException
, pin.CantSetBiometricsWithoutPinException.CantSetBiometricsWithoutPinException.new
.
10/10 points: Package has an example
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:pin/pin.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:pin/pin.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:pin/pin.dart
that imports:package:pin/src/pin_code_controller.dart
that imports:package:local_auth_darwin/local_auth_darwin.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:pin/pin.dart
that imports:package:pin/src/pin_code_controller.dart
that imports:package:local_auth_android/local_auth_android.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:pin/pin.dart
that imports:package:pin/src/pin_code_controller.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:pin/pin.dart
that imports:package:pin/src/pin_code_controller.dart
that imports:package:local_auth_android/local_auth_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:pin/pin.dart
that imports:package:pin/src/pin_code_controller.dart
that imports:package:pin/src/features/timeout/timeout_handler.dart
that imports:package:pin/src/features/timeout/timeout_refresher.dart
that imports:package:pin/src/features/logging/logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Angle brackets will be interpreted as HTML.
lib/src/features/timeout/attempts_handler.dart:36:41
╷
36 │ /// Current available attempts map in <seconds, amount> format.
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/features/timeout/attempts_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_secure_storage |
^9.2.2 |
9.2.4 | 9.2.4 | |
local_auth |
^2.3.0 |
2.3.0 | 2.3.0 | |
local_auth_android |
^1.0.46 |
1.0.49 | 1.0.49 | |
local_auth_darwin |
^1.4.1 |
1.4.3 | 1.4.3 | |
local_auth_windows |
^1.0.11 |
1.0.11 | 1.0.11 | |
logger |
^2.4.0 |
2.5.0 | 2.5.0 | |
shared_preferences |
^2.3.2 |
2.5.3 | 2.5.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.