best_theme_generator 0.0.6 copy "best_theme_generator: ^0.0.6" to clipboard
best_theme_generator: ^0.0.6 copied to clipboard

A code generation package for creating theme color variables in Flutter.

best_theme_generator #

best_theme_generator is a code generation package for Flutter that works with best_theme_annotation to streamline the creation of theme color variables in Flutter apps. By automating the creation of light and dark mode color properties, best_theme_generator simplifies the management of theme color variables with minimal boilerplate.

Features #

  • Automatically generates theme color variables from annotations.
  • Reduces boilerplate for managing theme colors in Flutter applications.
  • Works seamlessly with best_theme_annotation to define and manage custom colors for light and dark modes.

Getting Started #

This package is designed to work with best_theme_annotation. Ensure both packages are added to your project’s pubspec.yaml.

Installation #

Add best_theme_generator to dev_dependencies in your pubspec.yaml file:

run dart pub add best_theme_generator

Usage #

to start this package, run dart run build_runner build or dart run build_runner watch

1
likes
40
points
75
downloads

Publisher

verified publisherfersaz.com

Weekly Downloads

A code generation package for creating theme color variables in Flutter.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

analyzer, best_theme, best_theme_annotation, build, flutter, source_gen

More

Packages that depend on best_theme_generator