KeyboardButton constructor
const
KeyboardButton({
- required String text,
- required KeyboardButtonType type,
Represents a single button in a bot keyboard
Implementation
const KeyboardButton({
required this.text,
required this.type,
});