best_theme_generator 0.0.5
best_theme_generator: ^0.0.5 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_annotationto 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