dump_widget_tree 0.1.3
dump_widget_tree: ^0.1.3 copied to clipboard
Flutter helper function that print Widget/Element/RenderObject/Layer trees, side-by-side.
We analyzed this package on Mar 1, 2021, and awarded it 90 pub points (of a possible 110):
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: Package has an example
- Found example at:
example/main.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 3 out of 21 API elements (14.3 %) 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.
20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: The member 'layer' can only be used within instance members of subclasses of 'package:flutter/src/rendering/object.dart'.
lib/dump_widget_tree.dart:47:40
╷
47 │ Layer get layer => renderObjectSelf?.layer;
│ ^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/dump_widget_tree.dart
INFO: The member 'engineLayer' can only be used within instance members of subclasses of 'package:flutter/src/rendering/layer.dart'.
lib/dump_widget_tree.dart:88:50
╷
88 │ possibleLayer != null && possibleLayer.engineLayer == null;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/dump_widget_tree.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter | flutter | 0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0-nullsafety.3 | 1.1.0 |
collection | - | 1.15.0-nullsafety.3 | 1.15.0 |
meta | - | 1.3.0-nullsafety.3 | 1.3.0 |
sky_engine | - | 0.0.99 | 0.0.99 |
typed_data | - | 1.3.0-nullsafety.3 | 1.3.0 |
vector_math | - | 2.1.0-nullsafety.3 | 2.1.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Flutter 1.22.6
,
Dart 2.10.5
.