CommonDialog.singleButton constructor
CommonDialog.singleButton({
- Key? key,
- Widget? contentChild,
- String? title,
- TextAlign? titleAlign,
- TextStyle? titleStyle,
- double? titleFontSize,
- Color? titleColor,
- String? content,
- TextAlign? contentAlign,
- TextStyle? contentStyle,
- double? contentFontSize,
- Color? contentColor,
- String? button,
- TextStyle? buttonTextStyle,
- VoidCallback? onButtonPressed,
单按钮弹窗
Implementation
CommonDialog.singleButton(
{Key? key,
Widget? contentChild,
String? title,
TextAlign? titleAlign,
TextStyle? titleStyle,
double? titleFontSize,
Color? titleColor,
String? content,
TextAlign? contentAlign,
TextStyle? contentStyle,
double? contentFontSize,
Color? contentColor,
String? button,
TextStyle? buttonTextStyle,
VoidCallback? onButtonPressed})
: this(
key: key,
contentChild: contentChild,
title: title,
titleAlign: titleAlign,
contentAlign: contentAlign,
titleStyle: titleStyle,
titleFontSize: titleFontSize,
titleColor: titleColor,
content: content,
contentStyle: contentStyle,
contentFontSize: contentFontSize,
contentColor: contentColor,
rightButton: button,
rightButtonTextStyle: buttonTextStyle,
onRightButtonPressed: onButtonPressed);