ModalButton class

The ModalButton class is used to define the button that will be shown in the modal dialog. The buttonText parameter is required and defines the text that will be shown in the button. The buttonColor parameter is optional and defines the color of the button.

Constructors

ModalButton({required String text, Color? textColor, Color? color})
const

Properties

color Color?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
textColor Color?
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