ImosysButton constructor

const ImosysButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onTap,
  4. Color? color,
  5. String? textFontFamily,
  6. FontWeight? textFontWeight,
  7. Color? textColor,
  8. bool? hasBorder,
  9. Color? borderColor,
  10. String? image,
  11. double? width,
  12. IconData? icon,
  13. Color? iconColor,
  14. double? borderRadius,
  15. double? textSize,
  16. double? borderWidth,
  17. double? elevation,
  18. double? verticalPadding,
  19. double? imageHeight,
  20. TextAlign? textAlign,
  21. double? imageWidth,
  22. double? iconSize,
})

Implementation

const ImosysButton(
    {super.key,
    required this.text,
    required this.onTap,
    this.color,
    this.textFontFamily,
    this.textFontWeight,
    this.textColor,
    this.hasBorder,
    this.borderColor,
    this.image,
    this.width,
    this.icon,
    this.iconColor,
    this.borderRadius,
    this.textSize,
    this.borderWidth,
    this.elevation,
    this.verticalPadding,
    this.imageHeight,
    this.textAlign,
    this.imageWidth, this.iconSize});