InputButtonWidget constructor
const
InputButtonWidget({
- Key? key,
- required String title,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- BorderRadius? borderRadius,
- bool isBorderButton = false,
- String? asset,
- Duration debounceDuration = const Duration(milliseconds: 500),
- double? width,
- double? height,
- EdgeInsets? padding,
- double? fontSize,
- ColorModel? bgColor,
- double? assetSize,
- ColorModel? fontColor,
- bool isLoading = false,
- String? semanticLabel,
- String? semanticHint,
- bool? semanticsExcluded,
Implementation
const InputButtonWidget({
super.key,
required this.title,
this.onTap,
this.onLongPress,
this.borderRadius,
this.isBorderButton = false,
this.asset,
this.debounceDuration = const Duration(milliseconds: 500),
this.width,
this.height,
this.padding,
this.fontSize,
this.bgColor,
this.assetSize,
this.fontColor,
this.isLoading = false,
this.semanticLabel,
this.semanticHint,
this.semanticsExcluded,
});