pure_ui 0.1.4 copy "pure_ui: ^0.1.4" to clipboard
pure_ui: ^0.1.4 copied to clipboard

'A pure Dart implementation of Canvas API compatible with dart:ui.'

130/ 160
pub points
304
downloads

We analyzed this package 10 hours ago, and awarded it 130 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 license: 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

1204 out of 1223 API elements (98.4 %) have documentation comments.

Some symbols that are missing documentation: dart.ui.CanvasFunction, dart.ui.ChannelBuffers.sendChannelUpdate, dart.ui.Codec.Codec.new, dart.ui.DisplayFeature.DisplayFeature.new, dart.ui.EngineLayer.EngineLayer.new.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform iOS

Because:

  • package:pure_ui/pure_ui.dart that imports:
  • dart:nativewrappers
Package not compatible with platform Web

Because:

  • package:pure_ui/pure_ui.dart that imports:
  • dart:nativewrappers

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pure_ui/pure_ui.dart that imports:
  • dart:nativewrappers

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.cn/web/wasm for details.

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 50 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/annotations.dart:6:1

  ╷
6 │ part of dart.ui;
  │ ^^^^^^^^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/channel_buffers.dart:7:1

  ╷
7 │ part of dart.ui;
  │ ^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
collection ^1.17.0 1.19.1 1.19.1
ffi ^2.1.0 2.1.4 2.1.4
image ^4.1.7 4.5.4 4.5.4
meta >=1.16.0 <2.0.0 1.17.0 1.17.0
vector_math ^2.1.4 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
crypto - 3.0.6 3.0.6
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
typed_data - 1.4.0 1.4.0
xml - 6.6.1 6.6.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/pure_dart_implementations.dart:332:23 - The method 'scaleByVector3' isn't defined for the type 'Matrix4'.
  • UNDEFINED_METHOD - lib/pure_dart_implementations.dart:354:23 - The method 'translateByVector3' isn't defined for the type 'Matrix4'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
130
points
304
downloads

Publisher

verified publishernormidar.com

Weekly Downloads

'A pure Dart implementation of Canvas API compatible with dart:ui.'

Repository (GitHub)
View/report issues

Topics

#image #dart-ui #canvas #pure-dart #ui

Documentation

API reference

License

MIT (license)

Dependencies

collection, ffi, image, meta, vector_math

More

Packages that depend on pure_ui