ButtonBuilder class

Constructors

ButtonBuilder({required String customId, String? label, required ButtonStyle style, EmojiBuilder? emoji, bool disabled = false})
ButtonBuilder.from({required dynamic payload})
factory

Properties

customId String
getter/setter pair
disabled bool
getter/setter pair
emoji EmojiBuilder?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style ButtonStyle
getter/setter pair
type ↔ ComponentType
getter/setter pairinherited

Methods

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

Operators

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