DigitDialogOptions constructor
const
DigitDialogOptions({
- String? titleText,
- String? contentText,
- Icon? titleIcon,
- Widget? title,
- Widget? content,
- DigitDialogActions? primaryAction,
- DigitDialogActions? secondaryAction,
- bool isCloseIcon = false,
- bool barrierDismissible = false,
- bool? enableRecordPast = false,
- bool isScrollable = false,
- EdgeInsets titlePadding = const EdgeInsets.only(top: kPadding, bottom: kPadding),
- EdgeInsets contentPadding = const EdgeInsets.all(kPadding),
- Color? barrierColor,
- Key? key,
- 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;