xwidget 0.0.47 copy "xwidget: ^0.0.47" to clipboard
xwidget: ^0.0.47 copied to clipboard

A package for building dynamic UIs in Flutter using an expressive, XML based markup language.

15
likes
150/ 160
pub points
92
downloads

We analyzed this package 23 hours ago, and awarded it 150 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

126 out of 535 API elements (23.6 %) 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

failed
Platform support
20 / 20trigger folding of the section

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 86 issues. Showing the first 2:

INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.

bin/src/builders/builder.dart:122:69

    ╷
122 │                 final fieldType = fieldValue.type?.getDisplayString(withNullability: false);
    │                                                                     ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/src/builders/builder.dart

INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.

bin/src/builders/builder.dart:145:51

    ╷
145 │     final paramType = param.type.getDisplayString(withNullability: false);
    │                                                   ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/src/builders/builder.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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.11.0 7.0.0
args ^2.4.2 2.6.0 2.6.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.20.1
logger ^2.0.2 2.5.0 2.5.0
markdown ^7.1.1 7.2.2 7.2.2
path ^1.8.3 1.9.1 1.9.1
petitparser >=6.0.0 <7.0.0 6.0.2 6.0.2
type_plus ^2.1.1 2.1.1 2.1.1
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 - 76.0.0 77.0.0
_macros - 0.3.3 0.3.3
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
macros - 0.1.3-main.0 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.1 2.1.1
pub_semver - 2.1.5 2.1.5
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
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.

The constraint `>=5.13.0 <7.0.0` on analyzer does not support the stable version `7.0.0`, that was published 20 days ago.

When analyzer is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `>=0.17.0 <0.20.0` on intl does not support the stable version `0.20.0`, that was published 28 days ago.

When intl is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions intl 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.22.17, Flutter 3.27.0-0.2.pre, Dart 3.6.0-334.4.beta.

Check the analysis log for details.

15
likes
150
points
92
downloads

Publisher

verified publisherappfluent.us

Weekly Downloads

A package for building dynamic UIs in Flutter using an expressive, XML based markup language.

Repository (GitHub)
View/report issues

Topics

#dynamic #layout #ui #widget #xml

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, flutter, glob, intl, logger, markdown, path, petitparser, type_plus, xml, yaml

More

Packages that depend on xwidget