local_auth_wall 1.0.1
local_auth_wall: ^1.0.1 copied to clipboard
Local Auth wall redirect user to a widget when authenticated and another if not.
We analyzed this package 31 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
Could not run dartdoc: Exception: -9
<***>
Resolving dependencies...
Downloading packages...
-
_fe_analyzer_shared 92.0.0 (93.0.0 available)
-
analyzer 9.0.0 (10.0.1 available)
-
args 2.7.0
-
async 2.13.0
-
collection 1.19.1
-
convert 3.1.2
-
crypto 3.0.7
-
csslib 1.0.2
-
dartdoc 9.0.1 (9.0.2 available)
-
file 7.0.1
-
glob 2.1.3
-
html 0.15.6
-
logging 1.3.0
-
markdown 7.3.0
-
meta 1.18.0
-
package_config 2.2.0
-
path 1.9.1
-
pub_semver 2.2.0
-
source_span 1.10.1
-
string_scanner 1.4.1
-
term_glyph 1.2.2
-
typed_data 1.4.0
-
watcher 1.2.1
-
yaml 3.1.3 Building package executables... Built dartdoc:dartdoc. Installed executable dartdoc. Activated dartdoc 9.0.1. <***> Exceeded timeout of 0:02:00.000000 Warning: Pub installs executables into /tmp/analyzerVJNQBF/pub-cache/bin, which is not on your path. You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, .zshrc etc.):
export PATH="$PATH":"/tmp/analyzerVJNQBF/pub-cache/bin"
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:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:local_auth/local_auth.dartthat declares support for platforms:Android,iOS,Windows,macOS.
Package does not support platform `Web`.
Because:
package:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,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:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `macOS`.
Because:
package:local_auth_wall/local_auth_wall.dartthat imports:package:local_auth_wall/src/auth_wall_overlay_controller.dartthat imports:package:local_auth_wall/src/auth_wall_notifier.dartthat imports:package:local_auth/local_auth.dartthat imports:package:local_auth/src/local_auth.dartthat imports:package:local_auth_windows/local_auth_windows.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The argument type 'Map
lib/src/auth_wall_notifier.dart:311:25
╷
311 │ _instanceMap.remove(values);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth_wall_notifier.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/auth_wall_overlay_controller.dart:32:35
╷
32 │ color: Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth_wall_overlay_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
local_auth |
^2.1.2 |
2.3.0 | 3.0.0 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
provider |
^6.0.4 |
6.1.5+1 | 6.1.5+1 | |
shared_preferences |
^2.0.15 |
2.5.4 | 2.5.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 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.1.5 | 2.1.5 | |
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.0 | 1.0.0 | |
intl |
- | 0.20.2 | 0.20.2 | |
local_auth_android |
- | 1.0.56 | 2.0.4 | |
local_auth_darwin |
- | 1.6.1 | 2.0.1 | |
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.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
nested |
- | 1.0.0 | 1.0.0 | |
objective_c |
- | 9.2.3 | 9.2.3 | |
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 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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 `^2.1.2` 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.
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.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.