InfoDialog.show constructor
InfoDialog.show(})
Implementation
InfoDialog.show(
this.context, {
this.title,
required this.content,
required this.buttonTitle,
this.buttonColor,
required this.dismissibleDialog,
required this.backgroundColor,
required this.disableTintColor,
}) {
// Decide dialog layout based on platform
if (defaultTargetPlatform == TargetPlatform.iOS) {
_cupertinoView();
} else {
_materialView();
}
}