Button constructor

const Button({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. bool isProgressing = false,
})

Implementation

const Button({
  super.key,
  required this.text,
  required this.onPressed,
  this.isProgressing = false,
});