MessageButton class Null safety

Represents button that has attached metadata and will generate interaction event

Inheritance

Properties

buttonMetadata String
a dev-defined unique string sent on click (max 100 characters)
final, read / write, late
disabled bool
True if button is disabled
final, read / write, inherited, late
emoji MessageComponentEmoji?
Additional emoji that will be displayed before label
final, read / write, inherited, late
hashCode int
The hash code for this object. [...]
read-only, inherited
label String
What the button says (max 80 characters)
final, read / write, inherited, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style ComponentStyle
Component style, appearance
final, read / write, inherited, late

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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