BadButtonAsync constructor
const
BadButtonAsync({
- Key? key,
- double? width,
- double? height,
- EdgeInsets? margin,
- EdgeInsets? padding,
- BoxConstraints? constraints,
- Border? border,
- double borderRadius = 0,
- Color? fill,
- Alignment? alignment = Alignment.center,
- required Future<
void> onPressed(), - required Widget pending,
- required Widget idle,
Implementation
const BadButtonAsync({
super.key,
this.width,
this.height,
this.margin,
this.padding,
this.constraints,
this.border,
this.borderRadius = 0,
this.fill,
this.alignment = Alignment.center,
required this.onPressed,
required this.pending,
required this.idle,
});