ButtonBuilder constructor

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

Implementation

ButtonBuilder(this.customId, {
  this.label,
  this.style = ButtonStyle.primary,
  this.emoji,
  this.disabled = false,
  this.url
}): super(type: ComponentType.button);