design_tokens_builder 0.2.0+1 copy "design_tokens_builder: ^0.2.0+1" to clipboard
design_tokens_builder: ^0.2.0+1 copied to clipboard

Package for generating Flutter ThemeData from Figma design tokens using BuildRunner.

140/ 160
pub points
25
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

128 out of 155 API elements (82.6 %) have documentation comments.

Some symbols that are missing documentation: border_parser, border_radius_parser, box_shadow_parser, builder_config, color_parser.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:design_tokens_builder/design_tokens_builder.dart that imports:
  • package:design_tokens_builder/factory/design_tokens_factory.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:design_tokens_builder/design_tokens_builder.dart that imports:
  • package:design_tokens_builder/factory/design_tokens_factory.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: Missing type annotation.

lib/factory/token_set_factory.dart:127:30

    ╷
127 │ String _brightness({required tokenSet}) {
    │                              ^^^^^^^^
    ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/utils/design_token_map_extension.dart:3:24

  ╷
3 │ /// An extension on Map<String, dynamic> for handling a general map that is
  │                        ^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
build ^2.3.1 2.4.2 4.0.1
build_config ^1.1.1 1.2.0 1.2.0
collection ^1.17.1 1.19.1 1.19.1
glob ^2.1.1 2.1.3 2.1.3
math_expressions ^2.4.0 2.7.0 3.1.0
tuple ^2.0.1 2.0.2 2.0.2
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 89.0.0
analyzer - 7.7.1 8.2.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.1
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
watcher - 1.1.4 1.1.4

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

The constraint `^2.3.1` on build does not support the stable version `3.0.0`.

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

The constraint `^2.4.0` on math_expressions does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
140
points
25
downloads
screenshot

Publisher

verified publishersimpleclub.com

Weekly Downloads

Package for generating Flutter ThemeData from Figma design tokens using BuildRunner.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#Figma #Design Tokens #Material #Theme #Generator

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build, build_config, collection, flutter, glob, math_expressions, tuple, yaml

More

Packages that depend on design_tokens_builder