xml_layout 2.3.15 copy "xml_layout: ^2.3.15" to clipboard
xml_layout: ^2.3.15 copied to clipboard

XML layout for flutter. Layout your widgets with xml at runtime.

19
likes
100/ 140
pub points
37%
popularity

We analyzed this package 25 hours ago, and awarded it 100 pub points (of a possible 140):

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting xml_layout... Discovering libraries... Linking elements... Precaching local docs for 731368 elements... Initialized dartdoc with 1580 libraries Generating docs for library exceptions.dart from package:xml_layout/exceptions.dart... Generating docs for library builder/builder.dart from package:xml_layout/builder/builder.dart... Generating docs for library builder/collection.dart from package:xml_layout/builder/collection.dart... Generating docs for library xml_layout.dart from package:xml_layout/xml_layout.dart... Generating docs for library register.dart from package:xml_layout/register.dart... [8 more lines] ERR: warning: unresolved doc reference [name] from package-xml_layout: file:///tmp/pana_URRYAS warning: xml_layout has no library level documentation comments from xml_layout: (file:///tmp/pana_URRYAS/lib/exceptions.dart:1:9) warning: unresolved doc reference [.xml_layout.dart] from builder.XmlLayoutBuilder: (file:///tmp/pana_URRYAS/lib/builder/builder.dart:65:7) warning: xml_layout has no library level documentation comments from xml_layout: (file:///tmp/pana_URRYAS/lib/xml_layout.dart:1:9) error: file already written at "xml_layout/xml_layout-library.html" for symbol xml_layout: (file:///tmp/pana_URRYAS/lib/xml_layout.dart:1:9) [21 more lines]

10/10 points: Package has an example

OK
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
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 61 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/builder/builder.dart:148:18

    ╷
148 │     if (dartType != null) {
    │                  ^^^^^^^
    ╵

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

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/builder/builder.dart:399:51

    ╷
399 │                     status.insertSource(param.type?.element?.source);
    │                                                   ^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer ^1.7.1 1.7.2 6.4.1
build ^2.1.0 2.4.1 2.4.1
dart_style ^2.1.1 2.1.1 2.3.6
flutter flutter 0.0.0 0.0.0
xml ^5.1.2 5.4.1 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 67.0.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
cli_util - 0.3.5 0.4.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
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
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.7.1` on analyzer does not support the stable version `2.0.0`.

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

The constraint `^5.1.2` on xml does not support the stable version `6.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

19
likes
100
pub points
37%
popularity

Publisher

unverified uploader

XML layout for flutter. Layout your widgets with xml at runtime.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, build, dart_style, flutter, xml

More

Packages that depend on xml_layout