ButtonBuilder class

Inheritance

Constructors

ButtonBuilder({required ButtonStyle style, String? label, Emoji? emoji, String? customId, Uri? url, bool? isDisabled})
ButtonBuilder.danger({String? label, Emoji? emoji, required String customId, bool? isDisabled})
ButtonBuilder.primary({String? label, Emoji? emoji, required String customId, bool? isDisabled})
ButtonBuilder.secondary({String? label, Emoji? emoji, required String customId, bool? isDisabled})
ButtonBuilder.success({String? label, Emoji? emoji, required String customId, bool? isDisabled})

Properties

customId String?
getter/setter pair
emoji Emoji?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDisabled bool?
getter/setter pair
label String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style ButtonStyle
getter/setter pair
type MessageComponentType
getter/setter pairinherited
url Uri?
getter/setter pair

Methods

build() Map<String, Object?>
override
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