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.

80/ 160
pub points
291
downloads

We analyzed this package 1 hour ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

353 out of 754 API elements (46.8 %) have documentation comments.

Some symbols that are missing documentation: base_lib_pub, base_lib_pub.AESUtils.AESUtils.new, base_lib_pub.BaseColors.BaseColors.new, base_lib_pub.BaseColors.cBlack, base_lib_pub.BaseColors.cBlackTrans.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 39 issues. Showing the first 2:

ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.

lib/src/theme/base_theme.dart:71:18

   ╷
71 │       cardTheme: CardTheme(color: cardColor ?? primaryColor, elevation: 2),
   │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.

lib/src/theme/base_theme.dart:134:20

    ╷
134 │         tabBarTheme: const TabBarTheme(
    │ ┌────────────────────^
135 │ │         dividerHeight: 0,
136 │ │         indicatorSize: TabBarIndicatorSize.label,
137 │ │         indicatorColor: BaseColors.cFontWhite,
138 │ │         labelPadding: EdgeInsets.zero,
139 │ │       ),
    │ └───────^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
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 12.1.0
dio ^5.4.3 5.9.0 5.9.0
encrypt ^5.0.3 5.0.3 5.0.3
extended_image ^8.2.0 8.3.1 10.0.1
flutter_image_compress ^2.2.0 2.3.0 2.4.0
flutter_slidable ^3.1.0 3.1.2 4.0.3
get ^4.6.6 4.7.2 4.7.2
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 9.0.0
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.4.0 12.0.1
share_plus ^8.0.2 8.0.3 12.0.0
shared_preferences ^2.2.2 2.5.3 2.5.3
simple_animations ^5.0.2 5.2.0 5.2.0
uri_to_file ^1.0.0 1.0.0 1.0.0
url_launcher ^6.2.5 6.3.2 6.3.2
vibration ^1.8.4 1.9.0 3.1.4
webview_flutter ^4.7.0 4.13.0 4.13.0
wechat_assets_picker ^9.0.2 9.8.0 9.8.0
wechat_camera_picker ^4.2.1 4.4.0 4.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
camera - 0.10.6 0.11.2
camera_android - 0.10.10+10 0.10.10+10
camera_avfoundation - 0.9.22+1 0.9.22+1
camera_platform_interface - 2.11.0 2.11.0
camera_web - 0.3.5 0.3.5
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 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.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
extended_image_library - 4.0.6 5.0.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_image_compress_common - 1.0.6 1.0.6
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.32 2.0.32
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
package_info_plus_platform_interface - 2.0.1 3.2.1
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.2 2.4.2
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.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
photo_manager - 3.7.1 3.7.1
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 4.0.0
provider - 6.1.5+1 6.1.5+1
sensors_plus - 6.1.2 7.0.0
sensors_plus_platform_interface - 2.0.1 2.0.1
share_plus_platform_interface - 3.4.0 6.1.0
shared_preferences_android - 2.4.15 2.4.15
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.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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.24 6.3.24
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
vibration_platform_interface - 0.0.3 0.1.1
video_player - 2.10.0 2.10.0
video_player_android - 2.8.17 2.8.17
video_player_avfoundation - 2.8.4 2.8.4
video_player_platform_interface - 6.5.0 6.5.0
video_player_web - 2.4.0 2.4.0
visibility_detector - 0.4.0+2 0.4.0+2
web - 0.5.1 1.1.1
webview_flutter_android - 4.10.5 4.10.5
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.23.1 3.23.1
wechat_picker_library - 1.0.7 1.0.7
win32 - 5.15.0 5.15.0
win32_registry - 1.1.5 2.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.

Found 7 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/theme/base_theme.dart:71:18 - The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/theme/base_theme.dart:134:20 - The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
  • RETURN_OF_INVALID_TYPE - lib/src/theme/base_theme.dart:154:12 - A value of type 'AppBarThemeData' can't be returned from the method 'createAppBarTheme' because it has a return type of 'AppBarTheme'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
80
points
291
downloads

Publisher

verified publisherhomedot.space

Weekly Downloads

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)
View/report issues

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