base_lib_pub 0.2.3
base_lib_pub: ^0.2.3 copied to clipboard
A new Flutter pub.
We analyzed this package 5 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
152 out of 392 API elements (38.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.
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/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_linux.dartthat imports:package:url_launcher_linux/url_launcher_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:base_lib_pub/base_lib_pub.dartthat imports:package:base_lib_pub/src/util/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_web.dartthat imports:package:share_plus_platform_interface/share_plus_platform_interface.dartthat imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dartthat imports:package:share_plus_platform_interface/method_channel/method_channel_share.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.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/share_utils.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
WARNING: Unused import: 'package:base_lib_pub/src/util/network/network_utils.dart'.
lib/src/base_main.dart:2:8
╷
2 │ import 'package:base_lib_pub/src/util/network/network_utils.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base_main.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: ImagePreviewPage.defaultIndex, ImagePreviewPage.imgList, ImagePreviewPage.textTagList, ImagePreviewPage.bottomView, ImagePreviewPage.enableTapImgClose, ImagePreviewPage.closeBtnVisible, ImagePreviewPage.enableHeroTag, ImagePreviewPage.heroTags, ImagePreviewPage.enableSlideOutPage, ImagePreviewPage.imgBgColor, ImagePreviewPage.imgBgOpacityBase, ImagePreviewPage.pageBgColor, ImagePreviewPage.pagePadding, ImagePreviewPage.pageDecoration, ImagePreviewPage.splitBottomView, ImagePreviewPage.errorShowData, ImagePreviewPage.errorBgColor
lib/src/page/image_preview/view.dart:8:7
╷
8 │ class ImagePreviewPage extends StatelessWidget {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/page/image_preview/view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bot_toast |
^4.0.4 |
4.1.3 | 4.1.3 | |
date_format |
^2.0.7 |
2.0.9 | 2.0.9 | |
dio |
^5.3.2 |
5.9.0 | 5.9.0 | |
encrypt |
^5.0.1 |
5.0.3 | 5.0.3 | |
extended_image |
^8.1.0 |
8.3.1 | 10.0.1 | |
flutter_image_compress |
^2.0.3 |
2.4.0 | 2.4.0 | |
flutter_staggered_grid_view |
^0.7.0 |
0.7.0 | 0.7.0 | |
get |
^4.6.5 |
4.7.3 | 4.7.3 | |
image_gallery_saver |
^2.0.1 |
2.0.3 | 2.0.3 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
permission_handler |
^10.2.0 |
10.4.5 | 12.0.1 | |
share_plus |
^7.1.0 |
7.2.2 | 12.0.1 | |
simple_animations |
^5.0.2 |
5.2.0 | 5.2.0 | |
uri_to_file |
^0.2.0 |
0.2.0 | 1.0.0 | |
wechat_assets_picker |
^8.7.0 |
8.8.1+1 | 10.1.0 | |
wechat_camera_picker |
^4.0.1 |
4.1.2 | 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.3 | |
camera_android |
- | 0.10.10+14 | 0.10.10+14 | |
camera_avfoundation |
- | 0.9.22+8 | 0.9.22+8 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.3.5+2 | 0.3.5+2 | |
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.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
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.5 | 0.1.5 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.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.17.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 |
- | 10.3.6 | 13.0.1 | |
permission_handler_apple |
- | 9.1.4 | 9.4.7 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
permission_handler_windows |
- | 0.1.3 | 0.2.1 | |
photo_manager |
- | 2.8.2 | 3.8.3 | |
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 |
- | 4.0.2 | 7.0.0 | |
sensors_plus_platform_interface |
- | 1.2.0 | 2.0.1 | |
share_plus_platform_interface |
- | 3.4.0 | 6.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_player |
- | 2.10.1 | 2.10.1 | |
video_player_android |
- | 2.9.1 | 2.9.1 | |
video_player_avfoundation |
- | 2.8.8 | 2.8.8 | |
video_player_platform_interface |
- | 6.6.0 | 6.6.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.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 5 issues. Showing the first 2:
The constraint `^8.1.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.
The constraint `^10.2.0` on permission_handler does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.