DefaultSmallButton constructor
const
DefaultSmallButton({
- Key? key,
- String? btnText,
- VoidCallback? onButtonPressed,
Creates a small compact button.
Parameters:
btnText: The text to display on the buttononButtonPressed: Callback function when button is pressed
Implementation
const DefaultSmallButton({
super.key,
this.btnText,
this.onButtonPressed,
});