VerticalDialog.show constructor
VerticalDialog.show(
- BuildContext context, {
- Widget? icon,
- String? title,
- required Widget content,
- required List<
DialogButton> buttons, - required bool dismissibleDialog,
- required Color backgroundColor,
- required bool disableTintColor,
Implementation
VerticalDialog.show(
this.context, {
this.icon,
this.title,
required this.content,
required this.buttons,
required this.dismissibleDialog,
required this.backgroundColor,
required this.disableTintColor,
}) {
// Decide dialog layout based on platform
if (defaultTargetPlatform == TargetPlatform.iOS) {
_cupertinoView();
} else {
_materialView();
}
}