ButtonBuilder class Null safety
Constructors
- ButtonBuilder({required String customId, String? label, required ButtonStyle style, EmojiBuilder? emoji, bool disabled = false})
- ButtonBuilder.from({required dynamic payload})
-
factory
Properties
- customId ↔ String
-
read / write
- disabled ↔ bool
-
read / write
- emoji ↔ EmojiBuilder?
-
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- label ↔ String?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- style ↔ ButtonStyle
-
read / write
- type ↔ ComponentType
-
read / write, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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