DialogButton constructor

const DialogButton({
  1. Key? key,
  2. required Widget child,
  3. double? width,
  4. double height = 40.0,
  5. Color? color,
  6. Color? highlightColor,
  7. Color? splashColor,
  8. Gradient? gradient,
  9. BorderRadius? radius,
  10. BoxBorder? border,
  11. EdgeInsets padding = const EdgeInsets.only(left: 6, right: 6),
  12. EdgeInsets margin = const EdgeInsets.all(6),
  13. required Function onPressed,
})

DialogButton constructor

Implementation

const DialogButton({
  super.key,
  required this.child,
  this.width,
  this.height = 40.0,
  this.color,
  this.highlightColor,
  this.splashColor,
  this.gradient,
  this.radius,
  this.border,
  this.padding = const EdgeInsets.only(left: 6, right: 6),
  this.margin = const EdgeInsets.all(6),
  required this.onPressed,
});