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 barrierDismissible = false,
  9. bool? enableRecordPast = false,
  10. bool isScrollable = false,
  11. EdgeInsets titlePadding = const EdgeInsets.only(top: kPadding, bottom: kPadding),
  12. EdgeInsets contentPadding = const EdgeInsets.all(kPadding),
  13. Color? barrierColor,
  14. Key? key,
  15. EdgeInsets? dialogPadding,
})

Implementation

const DigitDialogOptions({
  this.titleText,
  this.contentText,
  this.titleIcon,
  Widget? title,
  Widget? content,
  this.primaryAction,
  this.secondaryAction,
  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;