ArtButtonsKh constructor

const ArtButtonsKh({
  1. Key? key,
  2. required Function? onPressed,
  3. String? text,
  4. Color? textColor,
  5. double? height,
  6. double? width,
  7. Color? backgroundColor = Colors.black,
  8. EdgeInsetsGeometry? margin,
  9. Color? disableBackgroundColor,
  10. double? radius,
  11. double? elevation,
  12. bool? isDisable,
  13. Widget? prefixesIcons,
  14. Widget? suffixesIcons,
  15. MainAxisAlignment? mainAxisAlignment,
  16. bool? isOutlineButton,
  17. BorderRadius? customizeBorderRadius,
  18. bool? isCircleButton,
  19. Widget? circleIcon,
  20. double? lineSize,
  21. String? fontFamily,
  22. double? fontSize = 12,
})

Implementation

const ArtButtonsKh(
    {Key? key,
    required this.onPressed,
    this.text,
    this.textColor,
    this.height,
    this.width,
    this.backgroundColor = Colors.black,
    this.margin,
    this.disableBackgroundColor,
    this.radius,
    this.elevation,
    this.isDisable,
    this.prefixesIcons,
    this.suffixesIcons,
    this.mainAxisAlignment,
    this.isOutlineButton,
    this.customizeBorderRadius,
    this.isCircleButton,
    this.circleIcon,
    this.lineSize,
    this.fontFamily,
    this.fontSize = 12})
    : super(key: key);