CurtainAction class

Constructors

CurtainAction({required Icon icon, required Text text, Color? color, Color? selectedColor, double height = 50, BorderRadius? borderRadius, VoidCallback? onTap})
const

Properties

borderRadius BorderRadius?
BorderRadius of the action button in the CurtainSideBar.
final
color Color?
Icon and text color when action is not selected.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the action button in the CurtainSideBar.
final
icon Icon
Displayed icon of the action.
final
onTap VoidCallback?
onTap function for curtain item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
Icon and text color when action is selected.
final
text Text
Text of the action always displayed in mobile drawer and displayed in web when CurtainSideBar is expanded.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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