BooleanMorphExtensions extension

Extensions for boolean signals with common morph patterns.

on

Methods

expandCollapseMorph({double size = 24, Color? color, IconMorphStyle style = IconMorphStyle.rotateScale}) Widget

Available on Signal<bool>, provided by the BooleanMorphExtensions extension

Create an expand/collapse icon morph.
favoriteMorph({double size = 24, Color? activeColor, Color? inactiveColor, IconMorphStyle style = IconMorphStyle.scale}) Widget

Available on Signal<bool>, provided by the BooleanMorphExtensions extension

Create a favorite toggle icon morph.

Available on Signal<bool>, provided by the BooleanMorphExtensions extension

Create a menu/close icon morph (hamburger menu).
playPauseMorph({double size = 24, Color? color, IconMorphStyle style = IconMorphStyle.rotateScale}) Widget

Available on Signal<bool>, provided by the BooleanMorphExtensions extension

Create a play/pause icon morph.
visibilityMorph({double size = 24, Color? color, IconMorphStyle style = IconMorphStyle.crossFade}) Widget

Available on Signal<bool>, provided by the BooleanMorphExtensions extension

Create a visibility toggle icon morph.