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
52%
popularity

We analyzed this package 4 days ago, and awarded it 150 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

1058 out of 2241 API elements (47.2 %) 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

OK
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/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

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.19.0
loading_animation_widget ^1.2.1 1.2.1 1.2.1
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.0 6.3.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cached_network_image - 3.3.1 3.3.1
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
dio - 5.4.3+1 5.4.3+1
dio_cache_interceptor - 3.5.0 3.5.0
extended_text - 13.0.2 13.0.2
extended_text_field - 15.0.0 15.0.0
extended_text_library - 12.0.0 12.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.2 3.3.2
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.1.0
json_annotation - 4.9.0 4.9.0
logger - 2.3.0 2.3.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.6 2.2.6
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.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 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.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.3 6.3.3
url_launcher_ios - 6.3.0 6.3.0
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

2
likes
150
pub points
52%
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