buoy_network 0.3.8
buoy_network: ^0.3.8 copied to clipboard
Inspect supported dart:io HTTP requests captured through Buoy HttpOverrides in Flutter debug builds. Native and other transports may bypass capture.
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
16 out of 355 API elements (4.5 %) 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_network, buoy_network.Buoy, buoy_network.Buoy.accountSettled, buoy_network.Buoy.adapters, buoy_network.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_network/buoy_network.dartthat imports:package:buoy_network/src/overrides/presets.dartthat imports:package:buoy_network/src/overrides/override_rules_store.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 99 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/conditions/network_conditions_control.dart:2:43
╷
2 │ import 'package:buoy_core/buoy_core.dart';import 'package:flutter/material.dart';import 'network_conditions.dart';class NetworkConditionsControl extends StatefulWidget{const NetworkConditionsControl({super.key});@override State<NetworkConditionsControl>createState()=>_a();}const _b= <(NetworkConditionProfile,String)>[(NetworkConditionProfile.normal,
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/conditions/network_conditions_control.dart
INFO: The type name '_a' isn't an UpperCamelCase identifier.
lib/src/conditions/network_conditions_control.dart:4:115
╷
4 │ '+2 seconds before each new request',NetworkConditionProfile.offline=> 'New requests fail before sending',};class _a extends State<NetworkConditionsControl>{bool _d=false;String?_e;void Function()?_f;@override void initState(){super.initState();_f=NetworkConditions.instance.subscribe((){if(mounted)setState((){});});}@override
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/conditions/network_conditions_control.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
buoy_core |
^0.3.14 |
0.3.15 | 0.3.15 | |
buoy_shared_ui |
^0.3.3 |
0.3.4 | 0.3.4 | |
dio |
^5.10.0 |
5.11.1 | 5.11.1 | |
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 | |
async |
- | 2.13.1 | 2.13.1 | |
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 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
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 | |
mime |
- | 2.1.0 | 2.1.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.