CustomButton constructor

const CustomButton({
  1. Key? key,
  2. dynamic onPressed()?,
  3. String buttonText = '',
  4. double? height,
  5. double? width,
  6. Color buttonColor = Colors.black,
  7. Color fontColor = ColorConstants.fontPrimary,
  8. double? borderRadius,
})

Implementation

const CustomButton(
    {Key? key,
    this.onPressed,
    this.buttonText = '',
    this.height,
    this.width,
    this.buttonColor = Colors.black,
    this.fontColor = ColorConstants.fontPrimary,
    this.borderRadius})
    : super(key: key);