os_basecode 0.1.10 copy "os_basecode: ^0.1.10" to clipboard
os_basecode: ^0.1.10 copied to clipboard

A Core Package That Must Have on every flutter project if using Clean Code Architecture

1
likes
140/ 160
pub points
47%
popularity

We analyzed this package 10 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

5162 out of 10988 API elements (47.0 %) 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

failed
Platform support
20 / 20trigger folding of the section

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/app_cache_provider.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

lib/utilities/base_client.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/utilities/custom_toast.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
bloc ^8.1.2 8.1.4 8.1.4
dartz ^0.10.1 0.10.1 0.10.1
device_preview ^1.2.0 1.2.0 1.2.0
dio ^5.3.2 5.7.0 5.7.0
dio_cache_interceptor ^3.4.2 3.5.0 3.5.0
dio_cache_interceptor_hive_store ^3.2.1 3.2.2 3.2.2
equatable ^2.0.5 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_animate ^4.2.0+1 4.5.0 4.5.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
flutter_screenutil ^5.8.2 5.9.3 5.9.3
fluttertoast ^8.2.5 8.2.8 8.2.8
font_awesome_flutter ^10.4.0 10.7.0 10.7.0
get_it ^7.6.0 7.7.0 8.0.2
go_router ^14.1.1 14.3.0 14.3.0
google_fonts ^6.2.1 6.2.1 6.2.1
iconsax ^0.0.8 0.0.8 0.0.8
intl ^0.19.0 0.19.0 0.19.0
lottie ^3.1.1 3.1.3 3.1.3
path_provider ^2.0.15 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.1.1 2.3.2 2.3.2
shimmer ^3.0.0 3.0.0 3.0.0
supercharged ^2.1.1 2.1.1 2.1.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
device_frame - 1.2.0 1.2.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_localizations - 0.0.0 0.0.0
flutter_shaders - 0.1.3 0.1.3
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
hive - 2.2.3 2.2.3
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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.2 6.1.2
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
supercharged_dart - 2.1.1 2.1.1
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^7.6.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.