DefaultSmallButton constructor

const DefaultSmallButton({
  1. Key? key,
  2. String? btnText,
  3. VoidCallback? onButtonPressed,
})

Creates a small compact button.

Parameters:

  • btnText: The text to display on the button
  • onButtonPressed: Callback function when button is pressed

Implementation

const DefaultSmallButton({
  super.key,
  this.btnText,
  this.onButtonPressed,
});