RoundedButton constructor

const RoundedButton({
  1. Key? key,
  2. required String title,
  3. Color? colour,
  4. required dynamic onPressed(),
  5. double? width,
  6. double? elevation,
  7. Widget? leftSideWidgets,
  8. double? titleSize,
  9. double? borderRadius,
  10. FontWeight? fontWeight,
  11. Color? fontColor,
  12. Widget? rightSideWidgets,
})

Implementation

const RoundedButton({super.key,
  required this.title,
  this.colour,
  required this.onPressed,
  this.width,
  this.elevation,
  this.leftSideWidgets,
  this.titleSize,
  this.borderRadius,
  this.fontWeight,
  this.fontColor,
  this.rightSideWidgets,
});