buoy_storage 0.3.3
buoy_storage: ^0.3.3 copied to clipboard
Inspect configured Flutter storage backends, including shared_preferences and optional registered adapters, in a debug-build panel.
We analyzed this package 26 hours ago, and awarded it 130 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 150 API elements (1.3 %) 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: buoy_storage, buoy_storage.Buoy, buoy_storage.Buoy.accountSettled, buoy_storage.Buoy.adapters, buoy_storage.Buoy.addRegistryListener.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:buoy_storage/buoy_storage.dartthat imports:package:buoy_storage/src/storage_tool/storage_modal.dartthat imports:package:buoy_storage/src/storage_tool/storage_models.dartthat imports:package:buoy_storage/src/storage_tool/storage_value_type.dartthat imports:package:buoy_shared_ui/buoy_shared_ui.dartthat imports:package:buoy_shared_ui/src/widgets/status_badge.dartthat imports:package:buoy_shared_ui/src/generated/badge_styles.g.dartthat imports:package:buoy_core/buoy_core.dartthat imports:package:buoy_core/src/interaction/semantics_screen_host.dartthat imports:package:buoy_core/src/interaction/screen_actions.dartthat imports:package:buoy_core/src/sync_client.dartthat imports:package:buoy_core/src/license/license_manager.dartthat imports:package:buoy_core/src/license/keygen.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 48 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/register.dart:2:103
╷
2 │ library;import 'package:buoy_core/buoy_core.dart';import 'package:buoy_shared_ui/buoy_shared_ui.dart';import 'package:flutter/material.dart';import 'storage_capture.dart';import 'required_storage_keys.dart';import 'storage_sync_adapter.dart';import 'storage_tool/storage_event_card.dart';import 'storage_tool/storage_event_detail.dart';import
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/register.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/required_storage_keys.dart:5:347
╷
5 │ d in c.value){if(a.any((e)=>e.key==b.key&&e.storageType==c.key&&(c.key== 'secure' ||e.instanceId==d),)){continue;}a.add(StorageKeyInfo(key:b.key,value:null,storageType:c.key,instanceId:d,status: 'required_missing',),);}}}return a.map((f){RequiredStorageKey?g;for(final h in _a){if(h.key==f.key&&h.appliesTo(f.storageType)){g=h;break;}}if(g==null)return
│ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
6 │ │ f;var i= 'required_present';if(f.status== 'required_missing' ||(f.storageType== 'async' &&f.value==null)){i= 'required_missing';}else if(f.value!= '•••••• (biometric protected)'){final j=f.storageType== 'async' ?f.value==g.expectedValue:_b(f.value)==g.expectedValue;if(g.expectedValue!=null&& !j){
[...]
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/required_storage_keys.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
buoy_core |
^0.3.3 |
0.3.15 | 0.3.15 | |
buoy_shared_ui |
^0.3.3 |
0.3.4 | 0.3.4 | |
shared_preferences |
^2.5.5 |
2.5.6 | 2.5.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 2.2.0 | 2.2.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
hooks |
- | 2.2.0 | 2.2.0 | |
jni |
- | 1.1.2 | 1.1.2 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
listen |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.6.4 | 9.6.4 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
qr |
- | 3.0.3 | 4.0.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
shared_preferences_android |
- | 2.5.5 | 2.5.5 | |
shared_preferences_foundation |
- | 2.6.2 | 2.6.2 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
socket_io_client |
- | 3.1.6 | 3.1.6 | |
socket_io_common |
- | 3.1.1 | 3.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.