TombButton constructor

TombButton({
  1. Key? key,
  2. required String text,
  3. required Function onPressed,
  4. Color buttonColor = Colors.blue,
  5. double borderRadius = 30.0,
})

Implementation

TombButton({
  Key? key,
  required this.text,
  required this.onPressed,
  this.buttonColor = Colors.blue,
  this.borderRadius = 30.0,
}) : super(key: key);