SecondaryButton constructor

const SecondaryButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required String text,
  4. bool expand = true,
})

Implementation

const SecondaryButton({
  super.key,
  this.onPressed,
  required this.text,
  this.expand = true,
});