QuickButton constructor

const QuickButton({
  1. Key? key,
  2. String text = "",
  3. double radius = 20,
  4. double width = 0.9,
  5. Color bgColor = Colors.white,
  6. Color textColor = Colors.black,
  7. double btnPadding = 11,
  8. double letterSpacing = 3,
  9. bool borderShow = false,
  10. bool isLoading = false,
  11. Widget? child,
  12. required VoidCallback onPressed,
})

Implementation

const QuickButton({
  super.key,
  this.text = "",
  this.radius = 20,
  this.width = 0.9,
  this.bgColor = Colors.white,
  this.textColor = Colors.black,
  this.btnPadding = 11,
  this.letterSpacing = 3,
  this.borderShow = false,
  this.isLoading = false,
  this.child,
  required this.onPressed,
});