SpaciousButton constructor
const
SpaciousButton({
- Key? key,
- required String text,
- required TargetTapCallback onTap,
- TargetLongTapCallback? onLongTap,
- double? width,
- Color? textColor,
- Color? backgroundColor,
Implementation
const SpaciousButton({
Key? key,
required this.text,
required this.onTap,
this.onLongTap,
this.width,
this.textColor,
this.backgroundColor,
}) : super(key: key);