flutter_angle 0.0.6 copy "flutter_angle: ^0.0.6" to clipboard
flutter_angle: ^0.0.6 copied to clipboard

Flutters Almost Native Graphics Layer Engine is made by google to use OpenGL ES API calls to one of the hardware-supported APIs available for that platform.

3
likes
140/ 160
pub points
40%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

23 out of 30683 API elements (0.1 %) 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: angle, angle, angle.FlutterAngle, angle.FlutterAngle, angle.FlutterAngle.FlutterAngle.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:flutter_angle/flutter_angle.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_angle/flutter_angle.dart that imports:
  • package:flutter_angle/webgl/index.dart that imports:
  • package:flutter_angle/webgl/wrapper.dart that imports:
  • package:flutter_angle/shared/console.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_angle/flutter_angle.dart that imports:
  • package:flutter_angle/native-array/index.dart that imports:
  • package:flutter_angle/native-array/native_array_app.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 20192 issues. Showing the first 2:

INFO: The variable name '_EGLconfig' isn't a lowerCamelCase identifier.

lib/desktop/angle.dart:94:29

   ╷
94 │   static late Pointer<Void> _EGLconfig;
   │                             ^^^^^^^^^^
   ╵

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

INFO: The variable name 'attrib_list' isn't a lowerCamelCase identifier.

lib/desktop/bindings/egl_bindings.dart:16:28

   ╷
16 │     ffi.Pointer<ffi.Int32> attrib_list,
   │                            ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/desktop/bindings/egl_bindings.dart

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

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

Package Constraint Compatible Latest
dylib ^0.3.3 0.3.3 0.3.3
ffi ^2.1.2 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_angle_darwin ^0.0.2 0.0.2 0.0.2
logger ^2.3.0 2.4.0 2.4.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.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.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

3
likes
140
pub points
40%
popularity

Publisher

unverified uploader

Flutters Almost Native Graphics Layer Engine is made by google to use OpenGL ES API calls to one of the hardware-supported APIs available for that platform.

Repository (GitHub)
View/report issues

Topics

#opengl #angle #glsl

Documentation

API reference

License

MIT (license)

Dependencies

dylib, ffi, flutter, flutter_angle_darwin, logger

More

Packages that depend on flutter_angle