dosty_theme_generator 0.0.1 copy "dosty_theme_generator: ^0.0.1" to clipboard
dosty_theme_generator: ^0.0.1 copied to clipboard

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

dosty_theme_generator #

dosty_theme_generator is a code generation package for Flutter that works with dosty_theme_annotation to streamline the creation of theme color variables in Flutter apps. By automating the creation of light and dark mode color properties, dosty_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 dosty_theme_annotation to define and manage custom colors for light and dark modes.

Getting Started #

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

Installation #

Add dosty_theme_generator to dev_dependencies in your pubspec.yaml file:

run dart pub add dosty_theme_generator

Usage #

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

0
likes
110
pub points
7%
popularity

Publisher

verified publisherfersaz.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

analyzer, build, dosty_theme, dosty_theme_annotation, flutter, source_gen

More

Packages that depend on dosty_theme_generator