SpaciousButton constructor

const SpaciousButton({
  1. Key? key,
  2. required String text,
  3. required TargetTapCallback onTap,
  4. TargetLongTapCallback? onLongTap,
  5. double? width,
  6. Color? textColor,
  7. Color? backgroundColor,
})

Implementation

const SpaciousButton({
  Key? key,
  required this.text,
  required this.onTap,
  this.onLongTap,
  this.width,
  this.textColor,
  this.backgroundColor,
}) : super(key: key);