DigitDialogOptions constructor

const DigitDialogOptions({
  1. String? titleText,
  2. String? contentText,
  3. Icon? titleIcon,
  4. Widget? title,
  5. Widget? content,
  6. DigitDialogActions? primaryAction,
  7. DigitDialogActions? secondaryAction,
  8. bool isCloseIcon = false,
  9. bool barrierDismissible = false,
  10. bool? enableRecordPast = false,
  11. bool isScrollable = false,
  12. EdgeInsets titlePadding = const EdgeInsets.only(top: kPadding, bottom: kPadding),
  13. EdgeInsets contentPadding = const EdgeInsets.all(kPadding),
  14. Color? barrierColor,
  15. Key? key,
  16. EdgeInsets? dialogPadding,
})

Implementation

const DigitDialogOptions({
  this.titleText,
  this.contentText,
  this.titleIcon,
  Widget? title,
  Widget? content,
  this.primaryAction,
  this.secondaryAction,
  this.isCloseIcon = false,
  this.barrierDismissible = false,
  this.enableRecordPast = false,
  this.isScrollable = false,
  this.titlePadding = const EdgeInsets.only(
    top: kPadding,
    bottom: kPadding,
  ),
  this.contentPadding = const EdgeInsets.all(kPadding),
  this.barrierColor,
  this.key,
  this.dialogPadding,
})  : _titleWidget = title,
      _contentWidget = content;