base_lib_pub 3.7.1
base_lib_pub: ^3.7.1 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.
We analyzed this package 20 hours ago, and awarded it 80 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
351 out of 743 API elements (47.2 %) 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.
10/10 points: Package has an example
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.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat 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.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/vibrate_utils.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat 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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 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
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.2.0 | |
dio |
^5.4.2+1 |
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.1 | |
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.