opengl 0.6.0 icon indicating copy to clipboard operation
opengl: ^0.6.0 copied to clipboard

OpenGL 4.6 FFI bindings for Dart. Supports Linux, macOS and Windows.

28
likes
110/ 140
pub points
51%
popularity

We analyzed this package 14 days ago, and awarded it 110 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2023-05-30T19:12:40.489941] Starting...
Documenting opengl...
Initialized dartdoc with 51 libraries
Generating docs for library opengl from package:opengl/opengl.dart...

stderr: Unhandled exception:
DocumentationTooBigException: Reached 2462056448 bytes in the output directory.
#0      PubResourceProvider._aboutToWriteBytes (package:pub_dartdoc/src/pub_hook[...]
#1      _File.writeAsBytesSync (package:pub_dartdoc/src/pub_hooks.dart:149:15)
#2      DartdocFileWriter.write (package:dartdoc/src/dartdoc.dart:100:10)
#3      GeneratorBackendBase.write (package:dartdoc/src/generator/generator_back[...]
#4      GeneratorBackendBase.generateTypeDef (package:dartdoc/src/generator/gene[...]
#5      GeneratorFrontEnd._generateDocs (package:dartdoc/src/generator/generator[...]
#6      GeneratorFrontEnd.generate (package:dartdoc/src/generator/generator_fron[...]
#7      Dartdoc.generateDocsBase (package:dartdoc/src/dartdoc.dart:208:21)
<asynchronous suspension>
#8      Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:250:24)
<asynchronous suspension>
#9      pubDartDoc (package:pub_dartdoc/pub_dartdoc.dart:32:19)
<asynchronous suspension>
#10     main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:7:52)
<asynchronous suspension>


icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:opengl/opengl.dart that imports:
  • package:opengl/src/opengl_init.dart that imports:
  • package:opengl/src/opengl_library.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 61 issues. Showing the first 2:

INFO: The type name 'GlGetBooleani_vNative' isn't an UpperCamelCase identifier.

lib/src/opengl_header.dart:3659:9

     ╷
3659 │ typedef GlGetBooleani_vNative = Void Function(
     │         ^^^^^^^^^^^^^^^^^^^^^
     ╵

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

INFO: The type name 'GlGetBooleani_v' isn't an UpperCamelCase identifier.

lib/src/opengl_header.dart:3661:9

     ╷
3661 │ typedef GlGetBooleani_v = void Function(int target, int index, Pointer data);
     │         ^^^^^^^^^^^^^^^
     ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^1.1.0 1.2.1 2.0.2

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

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

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

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

icon indicating section status
Dart 3 compatibility
20 / 20icon to trigger folding of the section

20/20 points: Package is Dart 3 compatible!

Analysed with Pana 0.21.32, Dart 3.0.0.

28
likes
110
pub points
51%
popularity

Publisher

unverified uploader

OpenGL 4.6 FFI bindings for Dart. Supports Linux, macOS and Windows.

Repository (GitLab)

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

ffi

More

Packages that depend on opengl