dfapi_auth 2.0.7 dfapi_auth: ^2.0.7 copied to clipboard
DfApi Authetication based on flutter_appauth package and identity server.
We analyzed this package 39 hours ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/iemektar/dfapi_auth
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: dfapi_auth
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
34 out of 168 API elements (20.2 %) have documentation comments.
Some symbols that are missing documentation: auth_bloc
, auth_bloc.AuthBloc
, auth_bloc.AuthBloc.AuthBloc
, auth_configuration
, auth_configuration.AuthConfig
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:dfapi_auth/data/repositories/auth_repository.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/bloc/auth_bloc.dart:17:38
╷
17 │ if (!authDataResponse.isSuccess!) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bloc/auth_bloc.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/bloc/auth_bloc.dart:19:41
╷
19 │ if (!loginDataResponse.isSuccess!)
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bloc/auth_bloc.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
custom_response |
^1.0.0 |
1.0.3 | 1.0.3 |
equatable |
^2.0.0 |
2.0.5 | 2.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^7.2.0 |
7.3.3 | 8.1.5 |
flutter_icons_null_safety |
^1.1.0 |
1.1.0 | 1.1.0 |
flutter_secure_storage |
^7.0.1 |
7.0.1 | 9.0.0 |
get_it |
^7.2.0 |
7.7.0 | 7.7.0 |
http |
^0.13.3 |
0.13.6 | 1.2.1 |
meta |
^1.3.0 |
1.11.0 | 1.14.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
bloc |
- | 7.2.1 | 8.1.4 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
flutter_secure_storage_linux |
- | 1.2.0 | 1.2.0 |
flutter_secure_storage_macos |
- | 2.0.1 | 3.0.1 |
flutter_secure_storage_platform_interface |
- | 1.0.2 | 1.0.2 |
flutter_secure_storage_web |
- | 1.1.2 | 1.1.2 |
flutter_secure_storage_windows |
- | 1.1.3 | 3.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.0 | 1.9.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
provider |
- | 6.1.2 | 6.1.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^7.2.0` on flutter_bloc does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc
to update the constraint.
The constraint `^7.0.1` on flutter_secure_storage does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.