buoy_core 0.3.8 copy "buoy_core: ^0.3.8" to clipboard
buoy_core: ^0.3.8 copied to clipboard

Core registry, account-configured Desktop sync, floating menu and settings for Buoy tools in Flutter debug builds.

120/ 160
pub points
693
downloads

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

41 out of 961 API elements (4.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_core, buoy_core.BifArc, buoy_core.BifArc.BifArc.new, buoy_core.BifArc.cx, buoy_core.BifArc.cy.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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_core/buoy_core.dart that imports:
  • package:buoy_core/src/interaction/semantics_screen_host.dart that imports:
  • package:buoy_core/src/interaction/screen_actions.dart that imports:
  • package:buoy_core/src/sync_client.dart that imports:
  • package:buoy_core/src/license/license_manager.dart that imports:
  • package:buoy_core/src/license/keygen.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 75 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/core/bubble_state.dart:9:311

   ╷
9  │   double height,required double left,required double top,required double bottom,}){screenWidth=width;screenHeight=height;insetLeft=left;insetTop=top;insetBottom=bottom;return reconcileBounds();}BubblePoint?setBubbleSize({required double width,required double height}){if(bubbleWidth==width&&bubbleHeight==height)return
   │ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
10 │ │ null;bubbleWidth=width;bubbleHeight=height;if(isDragging)return null;return reconcileBounds();}BubblePoint?reconcileBounds(){final i=_a;if(i!=null)_a=validatePosition(i);final j=isHidden?BubblePoint(_e,position.y.clamp(bounds.minY,bounds.maxY)):validatePosition(position);if(j==position)return null;position=j;return
   │ └─────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/bubble_state.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/core/bubble_state.dart:14:339

   ╷
14 │   q=_a;final r=(q!=null&&q.x<screenWidth-bubbleWidth/2)?q:BubblePoint(screenWidth-bubbleWidth-edgePadding,position.y);isHidden=false;position=r;return ToggleResult(target:r,isHiding:false);}_a=position;isHidden=true;position=BubblePoint(_e,position.y);return ToggleResult(target:position,isHiding:true);}BubblePoint?forceHide(){if(isHidden)return
   │ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
15 │ │ null;_a=position;isHidden=true;position=BubblePoint(_e,position.y);return position;}BubblePoint?forceShow(){if(!isHidden)return null;final s=_a;final t=s??BubblePoint(screenWidth-bubbleWidth-edgePadding,position.y);isHidden=false;position=t;return t;}}
   │ └─────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/bubble_state.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
cryptography ^2.9.0 2.9.0 2.9.0
qr ^3.0.2 3.0.2 4.0.0
shared_preferences ^2.5.5 2.5.6 2.5.6
socket_io_client ^3.1.6 3.1.6 3.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.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
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
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
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_common - 3.1.1 3.1.1
typed_data - 1.4.0 1.4.0
vector_math - 2.4.3 2.4.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.2` on qr does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions qr to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
693
downloads

Documentation

API reference

Publisher

verified publisherbuoy.gg

Weekly Downloads

Core registry, account-configured Desktop sync, floating menu and settings for Buoy tools in Flutter debug builds.

Homepage

License

unknown (license)

Dependencies

cryptography, flutter, qr, shared_preferences, socket_io_client

More

Packages that depend on buoy_core