BadButton constructor

const BadButton({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. EdgeInsets? margin,
  5. EdgeInsets? padding,
  6. BoxConstraints? constraints,
  7. Border? border,
  8. double borderRadius = 0,
  9. Color? fill,
  10. Alignment? alignment = Alignment.center,
  11. required void onPressed(),
  12. 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,
});