ImosysButton constructor
const
ImosysButton({
- Key? key,
- required String text,
- required VoidCallback onTap,
- Color? color,
- String? textFontFamily,
- FontWeight? textFontWeight,
- Color? textColor,
- bool? hasBorder,
- Color? borderColor,
- String? image,
- double? width,
- IconData? icon,
- Color? iconColor,
- double? borderRadius,
- double? textSize,
- double? borderWidth,
- double? elevation,
- double? verticalPadding,
- double? imageHeight,
- TextAlign? textAlign,
- double? imageWidth,
- 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});