MyButton constructor

const MyButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onTap,
  4. Color? color,
  5. Color? backgroundColor,
  6. double? radius,
  7. BorderRadiusGeometry? borderRadius,
  8. bool? isLoading,
  9. bool? disable,
  10. bool? isOutlineButton,
})

Implementation

const MyButton({super.key, required this.label, this.onTap, this.color, this.backgroundColor, this.radius, this.borderRadius, this.isLoading, this.disable, this.isOutlineButton});