PopupButton class
Constructors
button with the localized text “Cancel”
factory
button with the localized text “Close”
factory
button with the default style
factory
a button with a style that indicates a destructive action (e.g. “Remove”, “Delete”, etc.).
factory
button with the localized text “Ok”
factory
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
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 setter inherited
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
new_telegram_web_app 1.0.1