os_basecode 0.1.13
os_basecode: ^0.1.13 copied to clipboard
A Core Package That Must Have on every flutter project if using Clean Code Architecture
We analyzed this package 2 days ago, and awarded it 140 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
.
10/10 points: 20% or more of the public API has dartdoc comments
4880 out of 10477 API elements (46.6 %) have documentation comments.
Some symbols that are missing documentation: app_cache_provider
, app_cache_provider.AppPathProvider
, app_cache_provider.AppPathProvider.initPath
, app_cache_provider.AppPathProvider.path
, base_client
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:os_basecode/os_basecode.dart
that imports:package:os_basecode/utilities/custom_toast.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:os_basecode/os_basecode.dart
that imports:package:os_basecode/utilities/custom_toast.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:os_basecode/os_basecode.dart
that imports:package:os_basecode/utilities/custom_toast.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:os_basecode/os_basecode.dart
that imports:package:os_basecode/utilities/app_cache_provider.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:os_basecode/os_basecode.dart
that imports:package:os_basecode/utilities/custom_toast.dart
that imports:package:fluttertoast/fluttertoast.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
/tmp/pana_UHJRFA/lib/utilities/base_client.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_UHJRFA/lib/utilities/custom_bloc_builder_widget.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bloc |
^9.0.0 |
9.0.0 | 9.0.0 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
dio |
^5.7.0 |
5.8.0+1 | 5.8.0+1 | |
dio_cache_interceptor |
^3.5.1 |
3.5.1 | 4.0.3 | |
dio_cache_interceptor_hive_store |
^4.0.0 |
4.0.0 | 4.0.0 | Discontinued |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
flutter_animate |
^4.5.2 |
4.5.2 | 4.5.2 | |
flutter_bloc |
^9.0.0 |
9.1.1 | 9.1.1 | |
flutter_screenutil |
^5.9.3 |
5.9.3 | 5.9.3 | |
fluttertoast |
^8.2.10 |
8.2.12 | 8.2.12 | |
font_awesome_flutter |
^10.8.0 |
10.8.0 | 10.8.0 | |
get_it |
^8.0.3 |
8.0.3 | 8.0.3 | |
go_router |
^14.6.2 |
14.8.1 | 15.2.4 | |
google_fonts |
^6.2.1 |
6.2.1 | 6.2.1 | |
intl |
^0.20.1 |
0.20.2 | 0.20.2 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
pretty_dio_logger |
^1.4.0 |
1.4.0 | 1.4.0 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 | |
shared_preferences |
^2.3.3 |
2.5.3 | 2.5.3 | |
supercharged |
^2.1.1 |
2.1.1 | 2.1.1 |
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 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_shaders |
- | 0.1.3 | 0.1.3 | |
hive_ce |
- | 2.11.3 | 2.11.3 | |
http |
- | 1.4.0 | 1.4.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
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 | |
provider |
- | 6.1.5 | 6.1.5 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
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 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
supercharged_dart |
- | 2.1.1 | 2.1.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^3.5.1` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor
to update the constraint.
The constraint `^14.6.2` on go_router does not support the stable version `15.0.0`.
Try running dart pub upgrade --major-versions go_router
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.