bh_shared 2.9.3
bh_shared: ^2.9.3 copied to clipboard
Bianca's House shared package
We analyzed this package 17 hours ago, and awarded it 120 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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: bh_shared
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/biancashouse/bh_shared
but got https://github.com/biancashouse/flutter_callouts
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
15 out of 128 API elements (11.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: bh_shared
, bh_shared.BaseMixins
, bh_shared.BaseMixins.instance
, bh_shared.Blink
, bh_shared.Blink.Blink.new
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/widget/widget_helper_mixin.dart
that imports:package:image_network/image_network.dart
that imports:package:webviewimage/webviewimage.dart
that imports:package:webviewimage/src/view/view.dart
that imports:package:webviewimage/src/view/impl/io.dart
that imports:package:webviewimage/src/view/interface.dart
that imports:package:webviewimage/src/utils/utils.dart
that imports:package:webviewimage/src/utils/webview_aware.dart
that imports:package:pointer_interceptor/pointer_interceptor.dart
that declares support for platforms:iOS
,Web
.
Package does not support platform `Windows`.
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/widget/widget_helper_mixin.dart
that imports:package:image_network/image_network.dart
that imports:package:webviewimage/webviewimage.dart
that imports:package:webviewimage/src/view/view.dart
that imports:package:webviewimage/src/view/impl/io.dart
that imports:package:webviewimage/src/view/interface.dart
that imports:package:webviewimage/src/utils/utils.dart
that imports:package:webviewimage/src/utils/webview_aware.dart
that imports:package:pointer_interceptor/pointer_interceptor.dart
that declares support for platforms:iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/widget/widget_helper_mixin.dart
that imports:package:image_network/image_network.dart
that imports:package:webviewimage/webviewimage.dart
that imports:package:webviewimage/src/view/view.dart
that imports:package:webviewimage/src/view/impl/io.dart
that imports:package:webviewimage/src/view/interface.dart
that imports:package:webviewimage/src/utils/utils.dart
that imports:package:webviewimage/src/utils/webview_aware.dart
that imports:package:pointer_interceptor/pointer_interceptor.dart
that declares support for platforms:iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/widget/widget_helper_mixin.dart
that imports:package:image_network/image_network.dart
that imports:package:webviewimage/webviewimage.dart
that imports:package:webviewimage/src/view/view.dart
that imports:package:webviewimage/src/view/impl/io.dart
that imports:package:webviewimage/src/view/interface.dart
that imports:package:webviewimage/src/utils/utils.dart
that imports:package:webviewimage/src/utils/webview_aware.dart
that imports:package:pointer_interceptor/pointer_interceptor.dart
that declares support for platforms:iOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/system_mixin.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/system_mixin.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_linux.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bh_shared/bh_shared.dart
that imports:package:bh_shared/src/system_mixin.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_linux.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/system_mixin.dart:182:3
╷
182 │ formattedDate(int ms) =>
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/system_mixin.dart
INFO: Missing type annotation.
lib/src/system_mixin.dart:185:27
╷
185 │ String removeNonNumeric(s) => s.replaceAll(RegExp(r"\D"), "");
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/system_mixin.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
device_info_plus |
^11.1.0 |
11.5.0 | 12.1.0 | |
gap |
^3.0.1 |
3.0.1 | 3.0.1 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
image_network |
^2.5.6 |
2.6.0 | 2.6.0 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
logger |
^2.4.0 |
2.6.2 | 2.6.2 | |
package_info_plus |
^8.0.2 |
8.3.1 | 9.0.0 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
timeago |
^3.7.0 |
3.7.1 | 3.7.1 | |
universal_platform |
^1.1.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointer_interceptor |
- | 0.10.1+2 | 0.10.1+2 | |
pointer_interceptor_ios |
- | 0.10.1 | 0.10.1 | |
pointer_interceptor_platform_interface |
- | 0.10.0+1 | 0.10.0+1 | |
pointer_interceptor_web |
- | 0.10.3 | 0.10.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter |
- | 4.13.0 | 4.13.0 | |
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 | |
webviewimage |
- | 0.0.6 | 0.0.6 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 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 3 issues. Showing the first 2:
The constraint `^11.1.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.