design_builder 1.0.1
design_builder: ^1.0.1 copied to clipboard
A build tool that generates Flutter ThemeExtension code from W3C Design Tokens with light/dark mode support and runtime overrides
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add design_builderWith Flutter:
$ flutter pub add design_builderThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
design_builder: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:design_builder/design_builder.dart';