RoundedButton constructor

const RoundedButton({
  1. Key? key,
  2. required String title,
  3. required VoidCallback onTap,
  4. Color color = Colors.blue,
  5. Color textColor = Colors.white,
  6. double radius = 30,
  7. double height = 48,
  8. Widget? prefixIcon,
  9. double? textSize,
})

Implementation

const RoundedButton({
  super.key,
  required this.title,
  required this.onTap,
  this.color = Colors.blue,
  this.textColor = Colors.white,
  this.radius = 30,
  this.height = 48,
  this.prefixIcon, this.textSize,
});