CustomDialog.show constructor
CustomDialog.show(})
Implementation
CustomDialog.show(
this.context, {
required this.view,
required this.disablePadding,
this.borderRadius,
required this.dismissibleDialog,
required this.backgroundColor,
required this.disableTintColor,
}) {
// Decide dialog layout based on platform
if (defaultTargetPlatform == TargetPlatform.iOS) {
if (borderRadius == null && disablePadding == false) {
_cupertinoView();
} else {
_materialView();
}
} else {
_materialView();
}
}