InputButtonWidget constructor

const InputButtonWidget({
  1. Key? key,
  2. required String title,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. BorderRadius? borderRadius,
  6. bool isBorderButton = false,
  7. String? asset,
  8. Duration debounceDuration = const Duration(milliseconds: 500),
  9. double? width,
  10. double? height,
  11. EdgeInsets? padding,
  12. double? fontSize,
  13. ColorModel? bgColor,
  14. double? assetSize,
  15. ColorModel? fontColor,
  16. bool isLoading = false,
  17. String? semanticLabel,
  18. String? semanticHint,
  19. 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,
});