venue_layout_core 0.2.6
venue_layout_core: ^0.2.6 copied to clipboard
Deterministic portable venue layout geometry and scene protocol.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
88 out of 411 API elements (21.4 %) have documentation comments.
Some symbols that are missing documentation: venue_layout_core, venue_layout_core.CanonicalContractIssue, venue_layout_core.CanonicalContractIssue.CanonicalContractIssue.new, venue_layout_core.CanonicalContractIssue.path, venue_layout_core.CanonicalContractIssue.reason.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: Statements in a for should be enclosed in a block.
lib/src/grid_surface.dart:179:9
╷
179 │ ┌ for (var xx = p.$1 - half; xx < p.$1 - half + diameter; xx++) {
180 │ │ if (clip != null &&
181 │ │ (originX + xx * step < (clip!['x'] as num) ||
182 │ │ originY + yy * step < (clip!['y'] as num) ||
183 │ │ originX + (xx + 1) * step >
184 │ │ (clip!['x'] as num) + (clip!['width'] as num) ||
185 │ │ originY + (yy + 1) * step >
186 │ │ (clip!['y'] as num) + (clip!['height'] as num))) {
187 │ │ continue;
188 │ │ }
189 │ │ changed = stampCell(xx, yy, erase: erase) || changed;
│ └─────────────────────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/grid_surface.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/legacy_document_import.dart:245:9
╷
245 │ report('shadowed_style_removed', 'nodes.${node.id}.${e.key}');
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/legacy_document_import.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.8 | 3.0.8 | |
vector_graphics_compiler |
1.3.0 |
1.3.0 | 1.3.6 | |
xml |
>=6.6.1 <8.0.0 |
7.0.1 | 7.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
vector_graphics_codec |
- | 1.2.0 | 1.2.0 | |
vector_math |
- | 2.4.4 | 2.4.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `1.3.0` on vector_graphics_compiler does not support the stable version `1.3.1`.
Try running dart pub upgrade --major-versions vector_graphics_compiler to update the constraint.
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.23.19, Dart 3.13.7.
Check the analysis log for details.