ButtonBuilder class

Constructors

ButtonBuilder(String? _customId, String? _url, ButtonStyle _style)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDisabled(bool value) → void
setEmoji(EmojiBuilder? value) → void
setLabel(String value) → void
setStyle(ButtonStyle value) → void
setUrl(String value) → void
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

button(String customId) → ClickableButtonContract