BlackButton constructor

const BlackButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. double width = 180.0,
  5. double height = 45.0,
  6. double borderRadius = 8.0,
  7. double fontSize = 14.0,
})

Implementation

const BlackButton({
  Key? key,
  required this.text,
  required this.onPressed,
  this.width = 180.0,
  this.height = 45.0,
  this.borderRadius = 8.0,
  this.fontSize = 14.0,
}) : super(key: key);