WippyHeaderActions class sealed

Implementers
Annotations
  • @freezed

Constructors

WippyHeaderActions.multipleIconActions({required String leftIconAsset, required String rightIconAsset, @Default(null) void onPressedLeftIcon()?, @Default(wippyBlack) Color leftIconColor, @Default(null) void onPressedRightIcon()?, @Default(wippyBlack) Color rightIconColor})
const
factory
WippyHeaderActions.singleIconAction({required String iconAsset, @Default(null) void onPressedIcon()?, @Default(wippyBlack) Color iconColor})
const
factory
WippyHeaderActions.singleTextAction({required String text, @Default(null) void onPressedText()?})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult multipleIconActions(WippyHeaderMultipleIconActions value), required TResult singleIconAction(WippyHeaderSingleIconActions value), required TResult singleTextAction(WippyHeaderSingleTextAction value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? multipleIconActions(WippyHeaderMultipleIconActions value)?, TResult? singleIconAction(WippyHeaderSingleIconActions value)?, TResult? singleTextAction(WippyHeaderSingleTextAction value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult multipleIconActions(WippyHeaderMultipleIconActions value)?, TResult singleIconAction(WippyHeaderSingleIconActions value)?, TResult singleTextAction(WippyHeaderSingleTextAction value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult multipleIconActions(String leftIconAsset, String rightIconAsset, void onPressedLeftIcon()?, Color leftIconColor, void onPressedRightIcon()?, Color rightIconColor)?, TResult singleIconAction(String iconAsset, void onPressedIcon()?, Color iconColor)?, TResult singleTextAction(String text, void onPressedText()?)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult multipleIconActions(String leftIconAsset, String rightIconAsset, void onPressedLeftIcon()?, Color leftIconColor, void onPressedRightIcon()?, Color rightIconColor), required TResult singleIconAction(String iconAsset, void onPressedIcon()?, Color iconColor), required TResult singleTextAction(String text, void onPressedText()?)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? multipleIconActions(String leftIconAsset, String rightIconAsset, void onPressedLeftIcon()?, Color leftIconColor, void onPressedRightIcon()?, Color rightIconColor)?, TResult? singleIconAction(String iconAsset, void onPressedIcon()?, Color iconColor)?, TResult? singleTextAction(String text, void onPressedText()?)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited