sm_core 0.0.5 copy "sm_core: ^0.0.5" to clipboard
sm_core: ^0.0.5 copied to clipboard

A simple core library for flutter, providing some common utilities and classes.

2
likes
150/ 160
pub points
3%
popularity

We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/shay-wong/flutter_sm_core/issues 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

1071 out of 2245 API elements (47.7 %) have documentation comments.

Some symbols that are missing documentation: sm_core, sm_core.API, sm_core.API.API, sm_core.APIConfig.copyWith, sm_core.APIConfig.dio.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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 `Windows`.

Because:

  • package:sm_core/sm_core.dart that imports:
  • package:sm_core/src/extension/app_translation_extension.dart that imports:
  • package:sm_widget/sm_widget.dart that imports:
  • package:sm_widget/src/m_container.dart that imports:
  • package:sm_image/sm_image.dart that imports:
  • package:sm_image/src/m_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:sm_core/sm_core.dart that imports:
  • package:sm_core/src/extension/app_translation_extension.dart that imports:
  • package:sm_widget/sm_widget.dart that imports:
  • package:sm_widget/src/m_container.dart that imports:
  • package:sm_image/sm_image.dart that imports:
  • package:sm_image/src/m_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:sm_core/sm_core.dart that imports:
  • package:sm_core/src/extension/app_translation_extension.dart that imports:
  • package:sm_widget/sm_widget.dart that imports:
  • package:sm_widget/src/m_container.dart that imports:
  • package:sm_image/sm_image.dart that imports:
  • package:sm_image/src/m_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system_io.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:sm_core/sm_core.dart that imports:
  • package:sm_core/src/utils/screen_adaptive.dart that imports:
  • package:get/get.dart that imports:
  • package:get/route_manager.dart that imports:
  • package:get/get_navigation/get_navigation.dart that imports:
  • package:get/get_navigation/src/root/get_material_app.dart that imports:
  • package:get/get_utils/get_utils.dart that imports:
  • package:get/get_utils/src/platform/platform.dart that imports:
  • package:get/get_utils/src/platform/platform_web.dart that imports:
  • dart:html

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

/tmp/pana_EYTAJW/lib/src/utils/toast.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_easyloading ^3.0.5 3.0.5 3.0.5
flutter_screenutil ^5.9.3 5.9.3 5.9.3
get ^4.6.6 4.6.6 4.6.6
intl ^0.19.0 0.19.0 0.20.0
loading_animation_widget ^1.2.1 1.3.0 1.3.0
sm_get_plus ^0.0.3 0.0.3 0.0.3
sm_logger ^0.0.10 0.0.10 0.0.10
sm_models ^0.0.5 0.0.5 0.0.5
sm_network ^0.1.0 0.1.1+1 0.1.1+1
sm_widget ^0.0.8 0.0.8 0.0.8
url_launcher ^6.3.0 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
cached_network_image - 3.4.1 3.4.1
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dio - 5.7.0 5.7.0
dio_cache_interceptor - 3.5.0 3.5.0
dio_web_adapter - 2.0.0 2.0.0
extended_text - 13.1.0 14.1.0
extended_text_field - 15.0.0 16.0.0
extended_text_library - 12.0.0 12.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
logger - 2.4.0 2.4.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
sm_image - 0.0.4 0.0.4
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
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
xml - 6.5.0 6.5.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`, that was published 0 days ago.

When intl is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions intl 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

2
likes
150
pub points
3%
popularity

Publisher

unverified uploader

A simple core library for flutter, providing some common utilities and classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_easyloading, flutter_screenutil, get, intl, loading_animation_widget, sm_get_plus, sm_logger, sm_models, sm_network, sm_widget, url_launcher

More

Packages that depend on sm_core