theme_extensions_generator 1.2.3 copy "theme_extensions_generator: ^1.2.3" to clipboard
theme_extensions_generator: ^1.2.3 copied to clipboard

Generates ThemeExtension classes, mixins, lerp/tween logic and ThemeData accessors for Flutter themes

1.2.3 #

  • Fix: Removed unused generateSource stub and the redundant package:analyzer/dart/element/element.dart import so analyzer no longer reports deprecated Element (old element model) when analyzing this package.

1.2.2 #

  • Fix: @ThemeProperty.styled() now emits a public lerp entry (extension {Theme}Lerp on {Theme} with static lerp) so nested themes work across libraries; ThemeExtension.lerp uses the same public namespace. Remove any hand-written {Theme}Lerp duplicates if you added them as a workaround.

1.2.1 #

  • Compatibility: Relaxed dependency constraints (analyzer) to support wider versions

1.2.0 #

1.1.4 #

  • Compatibility: Relaxed dependency constraints (build/source_gen) to support wider versions

1.1.3 #

  • Docs: Added Dartdoc comments to public APIs
  • Fix: Validation of non-lerpable types now throws InvalidGenerationSource error
  • Tests: Expanded test coverage, including comprehensive examples
  • Chore: Minor refactoring and code cleanup

1.1.1 #

  • Feature: Added ability to manually set generated extension getter name (extensionGetterName parameter)
  • Credits: Contribution by drooxie

1.0.0 #

  • Initial version.
6
likes
150
points
82
downloads

Documentation

API reference

Publisher

verified publisheralheev.ru

Weekly Downloads

Generates ThemeExtension classes, mixins, lerp/tween logic and ThemeData accessors for Flutter themes

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, source_gen, theme_extensions_annotation

More

Packages that depend on theme_extensions_generator