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.

3
likes
100/ 160
pub points
21%
popularity

We analyzed this package 21 hours 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 13 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

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

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

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/extension/color_ext.dart:61:12

   ╷
61 │     return MaterialStatePropertyAll<Color>(this);
   │            ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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 10.1.2
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.2.4 8.2.4
flutter flutter 0.0.0 0.0.0
flutter_image_compress ^2.2.0 2.3.0 2.3.0
flutter_slidable ^3.1.0 3.1.1 3.1.1
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.0.2
path ^1.8.3 1.9.0 1.9.0
path_provider ^2.1.2 2.1.4 2.1.4
permission_handler ^11.3.1 11.3.1 11.3.1
share_plus ^8.0.2 8.0.3 10.0.2
shared_preferences ^2.2.2 2.3.2 2.3.2
simple_animations ^5.0.2 5.0.2 5.0.2
uri_to_file ^1.0.0 1.0.0 1.0.0
url_launcher ^6.2.5 6.3.0 6.3.0
vibration ^1.8.4 1.9.0 2.0.0
webview_flutter ^4.7.0 4.9.0 4.9.0
wechat_assets_picker ^9.0.2 9.2.2 9.2.2
wechat_camera_picker ^4.2.1 4.3.2 4.3.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.4 1.5.4
async - 2.11.0 2.11.0
camera - 0.10.6 0.11.0+2
camera_android - 0.10.9+3 0.10.9+11
camera_avfoundation - 0.9.17+3 0.9.17+3
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
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+2 0.3.4+2
crypto - 3.0.5 3.0.5
csslib - 1.0.0 1.0.0
device_info_plus_platform_interface - 7.0.1 7.0.1
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.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_image_compress_common - 1.0.5 1.0.5
flutter_image_compress_macos - 1.0.2 1.0.2
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.4+1
flutter_plugin_android_lifecycle - 2.0.22 2.0.22
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http - 1.2.2 1.2.2
http_client_helper - 3.0.0 3.0.0
http_parser - 4.0.2 4.1.0
js - 0.7.1 0.7.1
logging - 1.2.0 1.2.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.15.0
mime - 1.0.6 1.0.6
nested - 1.0.0 1.0.0
package_info_plus_platform_interface - 2.0.1 3.0.1
path_provider_android - 2.2.10 2.2.10
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
permission_handler_android - 12.0.12 12.0.12
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
photo_manager - 3.3.0 3.3.0
photo_manager_image_provider - 2.1.1 2.1.1
platform - 3.1.5 3.1.5
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 - 5.0.1 6.0.1
sensors_plus_platform_interface - 1.2.0 2.0.0
share_plus_platform_interface - 3.4.0 5.0.0
shared_preferences_android - 2.3.2 2.3.2
shared_preferences_foundation - 2.5.2 2.5.2
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
stream_transform - 2.1.0 2.1.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.10 6.3.10
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
uuid - 4.5.0 4.5.0
vector_math - 2.1.4 2.1.4
vibration_platform_interface - 0.0.1 0.0.1
video_player - 2.9.1 2.9.1
video_player_android - 2.7.3 2.7.3
video_player_avfoundation - 2.6.1 2.6.1
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.2 2.3.2
web - 0.5.1 1.0.0
webview_flutter_android - 3.16.7 3.16.7
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.15.0 3.15.0
wechat_picker_library - 1.0.3 1.0.3
win32 - 5.5.4 5.5.4
win32_registry - 1.1.5 1.1.5
xdg_directories - 1.0.4 1.0.4

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

Found 4 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 `^6.0.0` on package_info_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions package_info_plus 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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.