AlertControllerAction class

An action that someone can take on an AlertControllerObject.

Constructors

AlertControllerAction({required String actionName, required AlertControllerActionSeverity actionSeverity, required VoidCallback onSelection})
const

Properties

actionName String
What the name of the action is. E.G: Agree, Send Email, etc
final
actionSeverity AlertControllerActionSeverity
What the severity of the action is
final
hashCode int
The hash code for this object.
no setterinherited
onSelection VoidCallback
What should happen when the user selects the action
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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