CustomButton constructor

const CustomButton({
  1. Key? key,
  2. String? title,
  3. double height = 56,
  4. double radius = 96,
  5. Color? bgColor,
  6. Color? titleColor,
  7. VoidCallback? onTap,
  8. bool isLoading = false,
  9. String? icon,
})

Implementation

const CustomButton(
    {super.key,
    this.title,
    this.height = 56,
    this.radius = 96,
    this.bgColor,
    this.titleColor,
    this.onTap,
    this.isLoading = false,
    this.icon});