PopupButton class

Constructors

PopupButton.cancel(String id)
button with the localized text “Cancel”
factory
PopupButton.close(String id)
button with the localized text “Close”
factory
PopupButton.defaultType(String id, String text)
button with the default style
factory
PopupButton.destructive(String id, String text)
a button with a style that indicates a destructive action (e.g. “Remove”, “Delete”, etc.).
factory
PopupButton.ok(String id)
button with the localized text “Ok”
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
Identifier of the button, 0-64 characters. Set to empty string by default. If the button is pressed, its id is returned in the callback and the popupClosed event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text to be displayed on the button, 0-64 characters. Required if type is default or destructive. Irrelevant for other types.
final
type String?
Type of the button. Set to default by default.
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