xwidget 0.0.41 xwidget: ^0.0.41 copied to clipboard
A package for building dynamic UIs in Flutter using an expressive, XML based markup language.
We analyzed this package 3 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/appfluent/xwidget/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
120 out of 447 API elements (26.8 %) have documentation comments.
Some symbols that are missing documentation: xwidget
, xwidget.BuilderFunction
, xwidget.Children
, xwidget.Children.Children
, xwidget.Children.addAll
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ 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:xwidget/xwidget.dart
that imports:package:xwidget/src/xwidget.dart
that imports:package:xwidget/src/utils/logging.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 70 issues. Showing the first 2:
INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/custom/material_state.dart:4:42
╷
4 │ class MaterialStatePropertyOf<T> extends MaterialStateProperty<T> {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/custom/material_state.dart
INFO: 'MaterialState' is deprecated and shouldn't be used. Use WidgetState instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/custom/material_state.dart:28:17
╷
28 │ T resolve(Set<MaterialState> states) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/custom/material_state.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
>=5.13.0 <7.0.0 |
6.4.1 | 6.7.0 |
args |
^2.4.2 |
2.5.0 | 2.5.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
glob |
^2.1.2 |
2.1.2 | 2.1.2 |
intl |
>=0.17.0 <0.20.0 |
0.19.0 | 0.19.0 |
logger |
^2.0.2 |
2.3.0 | 2.3.0 |
markdown |
^7.1.1 |
7.2.2 | 7.2.2 |
path |
^1.8.3 |
1.9.0 | 1.9.0 |
petitparser |
>=6.0.0 <7.0.0 |
6.0.2 | 6.0.2 |
xml |
^6.3.0 |
6.5.0 | 6.5.0 |
yaml |
^3.1.2 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 72.0.0 |
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.19.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
file |
- | 7.0.0 | 7.0.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
package_config |
- | 2.1.0 | 2.1.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.0 | 1.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.6
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.