mix_annotations 2.1.1
mix_annotations: ^2.1.1 copied to clipboard
Annotations for mix and mix_generator
2.1.1 #
- DOCS: Document
@MixableField(setterType:)usage for@MixableSpecand@MixableModifierfields (#950, #951).
2.1.0 #
- FEAT: Add
@MixableModifierannotation. Annotate aWidgetModifiersubclass to generate its modifier mixin andModifierMixclass viamix_generator(#924). - FEAT: Add
@MixWidgetannotation. Annotate a top-level styler variable or styler-returning function somix_generatoremits a matchingStatelessWidget(#920). - FEAT: Add
extraStylerMixinsto control additional mixins applied to generated stylers, and relatedgenerator_flagsupdates (#923). - DEPRECATED:
GeneratedStylerMethods.callandGeneratedStylerMethods.skipCall. Call generation has not been supported since the 2.0 styler API; the flags are now annotated@Deprecatedand will be removed in a future major release. The bit (0x20) remains inGeneratedStylerMethods.allfor source and value compatibility — the generator already ignores it. - DOCS: Spec authoring examples in the README now include
package:flutter/foundation.dartandpackage:flutter/widgets.dartimports plus the@immutableannotation, matching the symbols the generated_$<Name>mixin references. - DOCS: Note that
GeneratedSpecMethods.skipEqualssuppresses only the generatedpropsgetter; the surrounding equality surface is always emitted so a user-authoredpropspowers a working==/hashCode/getDiff/stringify.
2.0.0-rc.1 #
- BREAKING: The Mix Generator was completely rebuilt to support the architecture and requirements of Mix V2.0.
- FEAT: Add setterType parameter to MixableField annotation (#846).
- FEAT: Add MixableSpec and MixableStyler annotations (#835).
- REFACTOR: Widget modifier API and update to Dart 3.10 (#775).
1.7.0 #
- FEAT: Add generated style-focused modifiers and specs (#652).
0.4.0 #
- REFACTOR: Rename
MixablePropertytoMixableType(#574). - REFACTOR: mix generator clean up and mix semantic changes (#569).
0.3.1 #
- FEAT: Create code gen for design tokens (#521).
0.3.0 #
- FIX: SpecModifiers were taking a long time to animate. (#457).
0.2.1 #
- FEAT: MixableSpec now supports
withCopyWith,withEquality,withLerp, andskipUtility(#396).
0.2.0+1 #
- REFACTOR: bump flutter version to 3.19.0 (#365).
0.2.0 #
- Added MixableEnumUtility, and MixableClassUtility annotations.
0.1.0 #
- Initial version.