flutter_api_kit 1.0.0
flutter_api_kit: ^1.0.0 copied to clipboard
A robust Flutter package to handle API requests with built-in loading buttons, snackbars, and in-button download progress indicators.
We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/rishabh05672/flutter_api_kit was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/rishabh05672/flutter_api_kit 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
38 out of 58 API elements (65.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_api_kit, flutter_api_kit.ApiErrorType, flutter_api_kit.ApiException, flutter_api_kit.ApiException.ApiException.fromStatusCode, flutter_api_kit.ApiException.ApiException.new.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/kit_loader.dart:112:44
╷
112 │ disabledBackgroundColor: bgColor.withOpacity(0.8),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/kit_loader.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/kit_loader.dart:130:54
╷
130 │ backgroundColor: progColor.withOpacity(0.2),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/kit_loader.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.8 |
1.0.9 | 1.0.9 | |
dio |
^5.4.0 |
5.9.2 | 5.9.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
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.23.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.