RoundedButton constructor

const RoundedButton({
  1. Key? key,
  2. required Widget buttonText,
  3. required bool isLeftBorder,
  4. required bool isRightBorder,
  5. dynamic onTap()?,
  6. Color? color,
  7. double cornerRadius = 30,
  8. Color? borderColor,
  9. EdgeInsets? padding,
})

Implementation

const RoundedButton({
  Key? key,
  required this.buttonText,
  required this.isLeftBorder,
  required this.isRightBorder,
  this.onTap,
  this.color,
  this.cornerRadius = 30,
  this.borderColor,
  this.padding,
}) : super(key: key);