EscapeGameAlertDialog.oneChild constructor
EscapeGameAlertDialog.oneChild({
- Key? key,
- String? title,
- Color? backgroundColor,
- EdgeInsets contentPadding = _defaultContentPadding,
- required Widget child,
- List<
Widget> ? actions, - Widget? bottom,
- ScrollController? scrollController,
Creates a new EscapeGameAlertDialog instance with only one child
.
Implementation
EscapeGameAlertDialog.oneChild({
Key? key,
String? title,
Color? backgroundColor,
EdgeInsets contentPadding = _defaultContentPadding,
required Widget child,
List<Widget>? actions,
Widget? bottom,
ScrollController? scrollController,
}) : this(
key: key,
title: title,
backgroundColor: backgroundColor,
contentPadding: contentPadding,
children: [child],
actions: actions,
bottom: bottom,
scrollController: scrollController,
);