OudsAlertMessageActionLayout class
Represents a clickable action within an OudsAlertMessage.
Constructors
- OudsAlertMessageActionLayout({required String text, required VoidCallback? onClick, OudsAlertMessageActionLayoutEnum layout = OudsAlertMessageActionLayoutEnum.none})
- Creates a new action link for an OudsAlertMessage.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout ↔ OudsAlertMessageActionLayoutEnum
-
The position of the link within the alert message.
Defaults to OudsAlertMessageActionLayoutEnum.none.
getter/setter pair
- onClick → VoidCallback?
-
The callback to be invoked when the action link is pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The text label for the action link.
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