button static method

ClickableButton button(
  1. String customId, {
  2. String? label,
  3. ButtonStyle style = ButtonStyle.primary,
  4. EmojiBuilder? emoji,
  5. bool disabled = false,
})

Create a basic button with dedicated properties

Implementation

static ClickableButton button (String customId, {
  String? label,
  ButtonStyle style = ButtonStyle.primary,
  EmojiBuilder? emoji,
  bool disabled = false,
}) => ClickableButton(customId, label: label, style: style, emoji: emoji, disabled: disabled);