theme_extensions_generator 1.2.3
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
generateSourcestub and the redundantpackage:analyzer/dart/element/element.dartimport so analyzer no longer reports deprecatedElement(old element model) when analyzing this package.
1.2.2 #
- Fix:
@ThemeProperty.styled()now emits a public lerp entry (extension {Theme}Lerp on {Theme}withstatic lerp) so nested themes work across libraries;ThemeExtension.lerpuses the same public namespace. Remove any hand-written{Theme}Lerpduplicates if you added them as a workaround.
1.2.1 #
- Compatibility: Relaxed dependency constraints (analyzer) to support wider versions
1.2.0 #
- Feature: Deep-copy. See deep copy documentation.
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 (
extensionGetterNameparameter) - Credits: Contribution by drooxie
1.0.0 #
- Initial version.