SingleSelectDialog constructor

const SingleSelectDialog({
  1. Key? key,
  2. bool isClose = true,
  3. String title = "",
  4. String? messageText,
  5. Widget? messageWidget,
  6. required 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 canDismissOnConfirmClick = true,
  15. bool isCustomFollowScroll = true,
})

Implementation

const SingleSelectDialog(
    {super.key,
    this.isClose = true,
    this.title = "",
    this.messageText,
    this.messageWidget,
    required this.conditions,
    this.submitText,
    this.submitBgColor,
    this.onSubmitClick,
    this.onItemClick,
    this.checkedItem,
    this.customWidget,
    this.onCloseClick,
    this.canDismissOnConfirmClick = true,
    this.isCustomFollowScroll = true});