twos 0.0.1 copy "twos: ^0.0.1" to clipboard
twos: ^0.0.1 copied to clipboard

Failed expiriment to use sdl and glew to make a library that supports shaders that I published way too early.

90/ 160
pub points
1
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

0 out of 11 API elements (0.0 %) 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: twos, twos.Event, twos.Event.Event.new, twos.Event.exit, twos.Event.type.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:twos/twos.dart that imports:
  • package:sdl2/sdl2.dart that imports:
  • package:sdl2/sdl2/lib_sdl_video_ex.dart that imports:
  • package:sdl2/sdl2/generated/lib_sdl.dart that imports:
  • package:sdl2/sdl2/dylib.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: Unused import: 'dart:math'.

lib/twos.dart:6:8

  ╷
6 │ import "dart:math";
  │        ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/twos.dart

WARNING: The value of the field '_context' isn't used.

lib/twos.dart:23:28

   ╷
23 │   late final Pointer<Void> _context;
   │                            ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/twos.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
ffi ^1.2.1 1.2.1 2.1.5
glew ^1.0.2 1.0.2 1.2.1
sdl2 ^1.1.0 1.1.0 1.7.1

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

The constraint `^1.2.1` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi 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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Failed expiriment to use sdl and glew to make a library that supports shaders that I published way too early.

Documentation

API reference

License

unknown (license)

Dependencies

ffi, glew, sdl2

More

Packages that depend on twos