DialogButton constructor
const
DialogButton({
- Key? key,
- required Widget child,
- double? width,
- double height = 40.0,
- Color? color,
- Color? highlightColor,
- Color? splashColor,
- Gradient? gradient,
- BorderRadius? radius,
- BoxBorder? border,
- EdgeInsets padding = const EdgeInsets.only(left: 6, right: 6),
- EdgeInsets margin = const EdgeInsets.all(6),
- 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,
});