SingleSelectDialogWidget constructor
SingleSelectDialogWidget({
- Key? key,
- bool isClose = true,
- String title = "",
- String? messageText,
- Widget? messageWidget,
- List<
String> ? conditions, - String submitText = "",
- Color? submitBgColor,
- SingleSelectOnSubmitCallback? onSubmitClick,
- SingleSelectOnItemClickCallback? onItemClick,
- String? checkedItem,
- Widget? customWidget,
- VoidCallback? onCloseClick,
- bool isCustomFollowScroll = true,
- bool canDismissOnConfirmClick = true,
- DialogConfig? themeData,
Implementation
SingleSelectDialogWidget(
{super.key,
this.isClose = true,
this.title = "",
this.messageText,
this.messageWidget,
this.conditions,
this.submitText = "",
this.submitBgColor,
this.onSubmitClick,
this.onItemClick,
this.checkedItem,
this.customWidget,
this.onCloseClick,
this.isCustomFollowScroll = true,
this.canDismissOnConfirmClick = true,
this.themeData}) {
themeData ??= DialogConfig();
themeData = BaseThemeConfig.instance
.getConfig(configId: themeData!.configId)
.dialogConfig
.merge(themeData);
}