bullseye2d 2.0.2 copy "bullseye2d: ^2.0.2" to clipboard
bullseye2d: ^2.0.2 copied to clipboard

A cross-platform 2D game library for Dart that supports a WebGL2 backend as well as native support for Windows, Mac and Linux via SDL3.

90/ 160
pub points
234
downloads

We analyzed this package 19 hours ago, and awarded it 90 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected licenses: Zlib, MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

312 out of 336 API elements (92.9 %) have documentation comments.

Some symbols that are missing documentation: App, Audio, Cheatsheet, Core Systems, Debug.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The argument type 'int' can't be assigned to the parameter type 'SdlColor'.

lib/src/backend/sdl3/font_rasterizer.dart:128:59

    ╷
128 │       final surface = ttfRenderTextBlended(font, charStr, 0, fg.ref);
    │                                                           ^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/backend/sdl3/font_rasterizer.dart

ERROR: Too many positional arguments: 3 expected, but 4 found.

lib/src/backend/sdl3/font_rasterizer.dart:128:62

    ╷
128 │       final surface = ttfRenderTextBlended(font, charStr, 0, fg.ref);
    │                                                              ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/backend/sdl3/font_rasterizer.dart

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

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
ffi ^2.2.0 2.2.0 2.2.0
http ^1.3.0 1.6.0 1.6.0
path ^1.9.1 1.9.1 1.9.1
sdl3 ^2.7.0 2.8.2 2.8.2
shelf ^1.4.2 1.4.2 1.4.2
shelf_static ^1.1.3 1.1.3 1.1.3
vector_math ^2.1.5 2.3.0 2.3.0
web ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
http_parser - 4.1.2 4.1.2
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

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.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
90
points
234
downloads

Documentation

API reference

Publisher

verified publisherasylumsquare.com

Weekly Downloads

A cross-platform 2D game library for Dart that supports a WebGL2 backend as well as native support for Windows, Mac and Linux via SDL3.

Repository (GitHub)
View/report issues

License

Zlib, MIT (license)

Dependencies

args, ffi, http, path, sdl3, shelf, shelf_static, vector_math, web

More

Packages that depend on bullseye2d