BadButton constructor
const
BadButton({
- Key? key,
- double? width,
- double? height,
- EdgeInsets? margin,
- EdgeInsets? padding,
- BoxConstraints? constraints,
- Border? border,
- double borderRadius = 0,
- Color? fill,
- Alignment? alignment = Alignment.center,
- required void onPressed(),
- required Widget child,
Implementation
const BadButton({
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.child,
});