SingleSelectDialogWidget constructor

SingleSelectDialogWidget({
  1. Key? key,
  2. bool isClose = true,
  3. String title = "",
  4. String? messageText,
  5. Widget? messageWidget,
  6. List<String>? conditions,
  7. String submitText = "",
  8. Color? submitBgColor,
  9. SingleSelectOnSubmitCallback? onSubmitClick,
  10. SingleSelectOnItemClickCallback? onItemClick,
  11. String? checkedItem,
  12. Widget? customWidget,
  13. VoidCallback? onCloseClick,
  14. bool isCustomFollowScroll = true,
  15. bool canDismissOnConfirmClick = true,
  16. 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);
}