supa_architecture 1.0.0 supa_architecture: ^1.0.0 copied to clipboard
Architecture library for Supa Flutter applications
We analyzed this package 12 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.supa.vn
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
890 out of 1177 API elements (75.6 %) have documentation comments.
Some symbols that are missing documentation: api_client
, api_client.ApiClient.cookieStorage
, api_client.ApiClient.persistentStorage
, api_client.ApiClient.secureStorage
, app_token
.
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 does not support platform `Android`.
Because:
package:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.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:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.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:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.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 `Linux`.
Because:
package:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.dart
that imports:package:local_auth/local_auth.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `macOS`.
Because:
package:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.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 `Web`.
Because:
package:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.dart
that imports:package:local_auth/local_auth.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:supa_architecture/supa_architecture.dart
that imports:package:supa_architecture/widgets/widgets.dart
that imports:package:supa_architecture/widgets/biometric_login_button.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 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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/supa_architecture/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'alpha' is deprecated and shouldn't be used. Use .a.
lib/extensions/color.dart:14:10
╷
14 │ '${alpha.toRadixString(16).padLeft(2, '0')}'
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/extensions/color.dart
INFO: 'red' is deprecated and shouldn't be used. Use .r.
lib/extensions/color.dart:15:10
╷
15 │ '${red.toRadixString(16).padLeft(2, '0')}'
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/extensions/color.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
aad_oauth |
^1.0.0 |
1.0.1 | 1.0.1 |
bloc |
^8.1.0 |
8.1.4 | 8.1.4 |
build |
^2.4.1 |
2.4.2 | 2.4.2 |
cookie_jar |
^4.0.0 |
4.0.8 | 4.0.8 |
device_info_plus |
^9.0.0 |
9.1.2 | 11.2.0 |
dio |
^5.7.0 |
5.7.0 | 5.7.0 |
dio_cookie_manager |
^3.1.0 |
3.1.1 | 3.1.1 |
equatable |
^2.0.0 |
2.0.7 | 2.0.7 |
file_picker |
^8.1.0 |
8.1.7 | 8.1.7 |
firebase_core |
^3.6.0 |
3.9.0 | 3.9.0 |
firebase_crashlytics |
^4.1.0 |
4.2.0 | 4.2.0 |
firebase_messaging |
^15.1.0 |
15.1.6 | 15.1.6 |
firebase_performance |
^0.10.0 |
0.10.0+11 | 0.10.0+11 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^8.1.0 |
8.1.6 | 8.1.6 |
flutter_dotenv |
^5.0.0 |
5.2.1 | 5.2.1 |
flutter_secure_storage |
^9.2.0 |
9.2.3 | 9.2.3 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
get_it |
^7.7.0 |
7.7.0 | 8.0.3 |
go_router |
^14.0.0 |
14.6.2 | 14.6.2 |
google_sign_in |
^6.0.0 |
6.2.2 | 6.2.2 |
hive |
^2.2.0 |
2.2.3 | 2.2.3 |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 |
image_picker |
^1.1.0 |
1.1.2 | 1.1.2 |
infinite_scroll_pagination |
^4.1.0 |
4.1.0 | 4.1.0 |
injectable |
^2.4.0 |
2.5.0 | 2.5.0 |
intl |
^0.19.0 |
0.19.0 | 0.20.1 |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 |
json_serializable |
^6.9.0 |
6.9.0 | 6.9.2 |
local_auth |
^2.0.0 |
2.3.0 | 2.3.0 |
logging |
^1.2.0 |
1.3.0 | 1.3.0 |
package_info_plus |
^8.0.0 |
8.1.2 | 8.1.2 |
path |
^1.0.0 |
1.9.0 | 1.9.1 |
path_provider |
^2.0.0 |
2.1.5 | 2.1.5 |
permission_handler |
^11.3.0 |
11.3.1 | 11.3.1 |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
reactive_forms |
^17.0.0 |
17.0.1 | 17.0.1 |
recaptcha_enterprise_flutter |
^18.6.0 |
18.6.1 | 18.6.1 |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 |
sentry_flutter |
^8.9.0 |
8.12.0 | 8.12.0 |
sign_in_with_apple |
^6.0.0 |
6.1.4 | 6.1.4 |
source_gen |
^1.5.0 |
1.5.0 | 2.0.0 |
supa_carbon_icons |
^0.0.1+4 |
0.0.1+5 | 0.0.1+5 |
url_launcher |
^6.0.0 |
6.3.1 | 6.3.1 |
web |
^1.0.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^9.0.0` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^7.7.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
URI_DOES_NOT_EXIST
-lib/services/file_service.dart:3:8
- Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.UNDEFINED_METHOD
-lib/services/file_service.dart:92:15
- The method 'canLaunchUrlString' isn't defined for the type 'FileService'.UNDEFINED_METHOD
-lib/services/file_service.dart:93:13
- The method 'launchUrlString' isn't defined for the type 'FileService'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.