canvas_kit 0.5.1+1  canvas_kit: ^0.5.1+1 copied to clipboard
canvas_kit: ^0.5.1+1 copied to clipboard
Composable infinite pan/zoom canvas for Flutter with interactive and programmatic camera control.
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
 10/10 points: Provide a valid
 10/10 points: Provide a valid pubspec.yaml
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: MIT.
 10/10 points: 20% or more of the public API has dartdoc comments
 10/10 points: 20% or more of the public API has dartdoc comments
43 out of 74 API elements (58.1 %) have documentation comments.
Some symbols that are missing documentation: canvas_kit, canvas_kit.CanvasItem.CanvasItem.new, canvas_kit.CanvasItem.id, canvas_kit.CanvasKit.CanvasKit.new, canvas_kit.CanvasKit.children.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Windows 
- 
✓ Linux 
- 
✓ macOS 
- 
✓ Web 
 0/0 points: WASM compatibility
 0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
 40/50 points: code has no errors, warnings, lints, or formatting issues
 40/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
INFO: 'translate' is deprecated and shouldn't be used. Use translateByVector3, translateByVector4, or translateByDouble instead.
lib/src/canvas_kit.dart:211:18
    ╷
211 │       _transform.translate(-dx, -dy);
    │                  ^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/canvas_kit.dart
INFO: 'translate' is deprecated and shouldn't be used. Use translateByVector3, translateByVector4, or translateByDouble instead.
lib/src/canvas_kit.dart:224:38
    ╷
224 │     final next = _transform.clone()..translate(worldDelta.dx, worldDelta.dy);
    │                                      ^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/canvas_kit.dart
 10/10 points: All of the package dependencies are supported in the latest version
 10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| vector_math | ^2.1.4 | 2.2.0 | 2.2.0 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| characters | - | 1.4.0 | 1.4.1 | |
| collection | - | 1.19.1 | 1.19.1 | |
| material_color_utilities | - | 0.11.1 | 0.13.0 | |
| meta | - | 1.16.0 | 1.17.0 | 
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
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.