base_lib_pub 3.7.2 copy "base_lib_pub: ^3.7.2" to clipboard
base_lib_pub: ^3.7.2 copied to clipboard

This is a basic library based on Getx. In order to build applications conveniently and quickly, you can quickly integrate the basic functions needed by general applications.

4
likes
100/ 160
pub points
154
downloads

We analyzed this package 4 days ago, and awarded it 100 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

353 out of 737 API elements (47.9 %) have documentation comments.

Some symbols that are missing documentation: base_lib_pub, base_lib_pub.BaseColors.cBlack, base_lib_pub.BaseColors.cBlackTrans, base_lib_pub.BaseColors.cBlue, base_lib_pub.BaseColors.cBlueFacebook.

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:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that imports:
  • package:vibration_platform_interface/vibration_platform_interface.dart that imports:
  • package:vibration_platform_interface/src/method_channel_vibration.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:base_lib_pub/base_lib_pub.dart that imports:
  • package:base_lib_pub/src/util/vibrate_utils.dart that imports:
  • package:vibration/vibration.dart that imports:
  • package:vibration_platform_interface/vibration_platform_interface.dart that imports:
  • package:vibration_platform_interface/src/method_channel_vibration.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 29 issues. Showing the first 2:

ERROR: The named parameter 'filename' is required, but there's no corresponding argument.

lib/src/util/image_utils.dart:271:62

271final AssetEntity? imageEntity = await PhotoManager.editor.saveImage(data!, title: '保存到相册');
    │                                                              ^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/util/image_utils.dart

INFO: 'red' is deprecated and shouldn't be used. Use .r.

lib/src/extension/color_ext.dart:29:25

29final int r = color.red, g = color.green, b = color.blue;
   │                         ^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extension/color_ext.dart

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
bot_toast ^4.1.3 4.1.3 4.1.3
date_format ^2.0.7 2.0.9 2.0.9
device_info_plus ^9.1.2 9.1.2 11.2.1
dio ^5.4.3 5.7.0 5.7.0
encrypt ^5.0.3 5.0.3 5.0.3
extended_image ^8.2.0 8.3.1 9.1.0
flutter flutter 0.0.0 0.0.0
flutter_image_compress ^2.2.0 2.3.0 2.4.0
flutter_slidable ^3.1.0 3.1.2 3.1.2
get ^4.6.6 4.6.6 4.6.6
harmony_plugin ^0.1.0 0.1.0 0.1.0
image_gallery_saver ^2.0.3 2.0.3 2.0.3
package_info_plus ^6.0.0 6.0.0 8.1.3
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.2 2.1.5 2.1.5
permission_handler ^11.3.1 11.3.1 11.3.1
share_plus ^8.0.2 8.0.3 10.1.4
shared_preferences ^2.2.2 2.3.5 2.3.5
simple_animations ^5.0.2 5.1.0 5.1.0
uri_to_file ^1.0.0 1.0.0 1.0.0
url_launcher ^6.2.5 6.3.1 6.3.1
vibration ^1.8.4 1.9.0 2.0.1
webview_flutter ^4.7.0 4.10.0 4.10.0
wechat_assets_picker ^9.0.2 9.4.2 9.4.2
wechat_camera_picker ^4.2.1 4.3.6 4.3.6
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
camera - 0.10.6 0.11.0+2
camera_android - 0.10.10 0.10.10
camera_avfoundation - 0.9.18 0.9.18
camera_platform_interface - 2.9.0 2.9.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.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
csslib - 1.0.2 1.0.2
device_info_plus_platform_interface - 7.0.2 7.0.2
dio_web_adapter - 2.0.0 2.0.0
extended_image_library - 4.0.5 4.0.5
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_image_compress_common - 1.0.5 1.0.5
flutter_image_compress_macos - 1.0.3 1.0.3
flutter_image_compress_ohos - 0.0.3 0.0.3
flutter_image_compress_platform_interface - 1.0.5 1.0.5
flutter_image_compress_web - 0.1.4+1 0.1.5
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.2 4.1.2
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
package_info_plus_platform_interface - 2.0.1 3.0.2
path_provider_android - 2.2.15 2.2.15
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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
photo_manager - 3.6.3 3.6.3
photo_manager_image_provider - 2.2.0 2.2.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
provider - 6.1.2 6.1.2
sensors_plus - 6.1.1 6.1.1
sensors_plus_platform_interface - 2.0.1 2.0.1
share_plus_platform_interface - 3.4.0 5.0.2
shared_preferences_android - 2.4.1 2.4.1
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.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
vibration_platform_interface - 0.0.2 0.0.2
video_player - 2.9.2 2.9.2
video_player_android - 2.7.17 2.7.17
video_player_avfoundation - 2.6.7 2.6.7
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
visibility_detector - 0.4.0+2 0.4.0+2
web - 0.5.1 1.1.0
webview_flutter_android - 4.3.0 4.3.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.17.0 3.17.0
wechat_picker_library - 1.0.5 1.0.5
win32 - 5.10.0 5.10.0
win32_registry - 1.1.5 2.0.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 5 issues. Showing the first 2:

The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

The constraint `^8.2.0` on extended_image does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions extended_image 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.18, Flutter 3.27.2, Dart 3.6.1.

Check the analysis log for details.

4
likes
100
points
154
downloads

Publisher

verified publisherhomedot.space

Weekly Downloads

2024.07.05 - 2025.01.17

This is a basic library based on Getx. In order to build applications conveniently and quickly, you can quickly integrate the basic functions needed by general applications.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

bot_toast, date_format, device_info_plus, dio, encrypt, extended_image, flutter, flutter_image_compress, flutter_slidable, get, harmony_plugin, image_gallery_saver, package_info_plus, path, path_provider, permission_handler, share_plus, shared_preferences, simple_animations, uri_to_file, url_launcher, vibration, webview_flutter, wechat_assets_picker, wechat_camera_picker

More

Packages that depend on base_lib_pub