abk_flutter_utils 0.0.4
abk_flutter_utils: ^0.0.4 copied to clipboard
A Flutter package providing utilities for networking, storage, logging, and optional Firebase initialization.
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/AbdulRahmanAMKhalaf/my_utils 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
2337 out of 2898 API elements (80.6 %) have documentation comments.
Some symbols that are missing documentation: abk_flutter_utils, abk_flutter_utils.ActionCodeInfo.ActionCodeInfo.new, abk_flutter_utils.ActionCodeInfo.data, abk_flutter_utils.ActionCodeInfo.operation, abk_flutter_utils.ActionCodeSettings.ActionCodeSettings.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:firebase_crashlytics/firebase_crashlytics.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:firebase_crashlytics/firebase_crashlytics.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:firebase_crashlytics/firebase_crashlytics.dartthat declares support for platforms:Android,iOS,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:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:abk_flutter_utils/app/di/locator.dartthat imports:package:abk_flutter_utils/cores/constants/index.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The type of the right operand ('ConnectivityResult') isn't a subtype or a supertype of the left operand ('List
lib/cores/network/interceptors.dart:10:18
╷
10 │ if (status == ConnectivityResult.none) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cores/network/interceptors.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/cores/theme/dark_theme.dart:93:33
╷
93 │ shadowColor: Colors.black.withOpacity(0.1),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cores/theme/dark_theme.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^9.0.0 |
9.2.0 | 9.2.0 | |
cached_network_image |
^3.4.1 |
3.4.1 | 3.4.1 | |
cloud_firestore |
^6.0.2 |
6.1.1 | 6.1.1 | |
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
cupertino_icons |
^1.0.8 |
1.0.8 | 1.0.8 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
dio |
^5.9.0 |
5.9.0 | 5.9.0 | |
firebase_analytics |
^12.0.2 |
12.1.0 | 12.1.0 | |
firebase_auth |
^6.1.0 |
6.1.3 | 6.1.3 | |
firebase_core |
^4.1.1 |
4.3.0 | 4.3.0 | |
firebase_crashlytics |
^5.0.2 |
5.0.6 | 5.0.6 | |
firebase_messaging |
^16.0.2 |
16.1.0 | 16.1.0 | |
flutter_bloc |
^9.1.1 |
9.1.1 | 9.1.1 | |
flutter_local_notifications |
^19.4.2 |
19.5.0 | 19.5.0 | |
flutter_secure_storage |
^9.2.4 |
9.2.4 | 10.0.0 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
get_it |
^8.2.0 |
8.3.0 | 9.2.0 | |
go_router |
^16.2.4 |
16.3.0 | 17.0.1 | |
intl |
>=0.20.2 <1.0.0 |
0.20.2 | 0.20.2 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
shared_preferences |
^2.5.3 |
2.5.4 | 2.5.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^9.2.4` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 27 days ago.
When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.
The constraint `^8.2.0` on get_it does not support the stable version `9.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
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.5, Dart 3.10.4.
Check the analysis log for details.