DialogButtonStyle class

Configuration for the dialogs/alerts OK button style.

Annotations
  • @JsonSerializable(includeIfNull: false, createFactory: false, createToJson: true, explicitToJson: true)

Constructors

DialogButtonStyle({Font? font, Color? textColor, Color? highlightedTextColor, Color? backgroundColor, Color? highlightedBackgroundColor})

Properties

backgroundColor Color?
The background color of the button while not pressed.
read / write
font Font?
The font of the button title.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
highlightedBackgroundColor Color?
The background color of the button while pressed.
read / write
highlightedTextColor Color?
The color of the buttons title while pressed.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
textColor Color?
The color of the buttons title while not pressed.
read / write

Methods

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

Operators

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