DialogConfig constructor
DialogConfig({
- double? dialogWidth,
- double? radius,
- EdgeInsets? iconPadding,
- EdgeInsets? titlePaddingSm,
- EdgeInsets? titlePaddingLg,
- BaseTextStyle? titleTextStyle,
- TextAlign? titleTextAlign,
- EdgeInsets? contentPaddingSm,
- EdgeInsets? contentPaddingLg,
- BaseTextStyle? contentTextStyle,
- TextAlign? contentTextAlign,
- EdgeInsets? warningPaddingSm,
- EdgeInsets? warningPaddingLg,
- BaseTextStyle? warningTextStyle,
- TextAlign? warningTextAlign,
- EdgeInsets? dividerPadding,
- BaseTextStyle? mainActionTextStyle,
- BaseTextStyle? assistActionsTextStyle,
- Color? mainActionBackgroundColor,
- Color? assistActionsBackgroundColor,
- double? bottomHeight,
- Color? backgroundColor,
- String configId = GLOBAL_CONFIG_ID,
Implementation
DialogConfig({
double? dialogWidth,
double? radius,
EdgeInsets? iconPadding,
EdgeInsets? titlePaddingSm,
EdgeInsets? titlePaddingLg,
BaseTextStyle? titleTextStyle,
TextAlign? titleTextAlign,
EdgeInsets? contentPaddingSm,
EdgeInsets? contentPaddingLg,
BaseTextStyle? contentTextStyle,
TextAlign? contentTextAlign,
EdgeInsets? warningPaddingSm,
EdgeInsets? warningPaddingLg,
BaseTextStyle? warningTextStyle,
TextAlign? warningTextAlign,
EdgeInsets? dividerPadding,
BaseTextStyle? mainActionTextStyle,
BaseTextStyle? assistActionsTextStyle,
Color? mainActionBackgroundColor,
Color? assistActionsBackgroundColor,
double? bottomHeight,
Color? backgroundColor,
String configId = GLOBAL_CONFIG_ID,
}) : _dialogWidth = dialogWidth,
_radius = radius,
_iconPadding = iconPadding,
_titlePaddingSm = titlePaddingSm,
_titlePaddingLg = titlePaddingLg,
_titleTextStyle = titleTextStyle,
_titleTextAlign = titleTextAlign,
_contentPaddingSm = contentPaddingSm,
_contentPaddingLg = contentPaddingLg,
_contentTextStyle = contentTextStyle,
_contentTextAlign = contentTextAlign,
_warningPaddingSm = warningPaddingSm,
_warningPaddingLg = warningPaddingLg,
_warningTextStyle = warningTextStyle,
_warningTextAlign = warningTextAlign,
_dividerPadding = dividerPadding,
_mainActionTextStyle = mainActionTextStyle,
_assistActionsTextStyle = assistActionsTextStyle,
_mainActionBackgroundColor = mainActionBackgroundColor,
_assistActionsBackgroundColor = assistActionsBackgroundColor,
_bottomHeight = bottomHeight,
_backgroundColor = backgroundColor,
super(configId: configId);