KaytaButton constructor
KaytaButton(
- String text, {
- required dynamic onTap()?,
- String? image,
- double? height = 45,
- Color? color,
- double? width,
- double? iconSize = 24,
- dynamic onLongPress()?,
- dynamic onDoubleTap()?,
- BorderRadius? borderRadius,
- bool? disabled = false,
- bool? outline = false,
- bool? invertColors = false,
- bool? isLoading = false,
- Color? textColor,
- TextStyle? textStyle,
- double? outlineWidth = 2,
Implementation
KaytaButton(
this.text, {
required this.onTap,
this.image,
this.height = 45,
this.color,
this.width,
this.iconSize = 24,
this.onLongPress,
this.onDoubleTap,
this.borderRadius,
this.disabled = false,
this.outline = false,
this.invertColors = false,
this.isLoading = false,
this.textColor,
this.textStyle,
this.outlineWidth = 2,
});