InfoDialog.show constructor
InfoDialog.show(})
Implementation
InfoDialog.show(
this.context,
{
this.title,
required this.content,
required this.buttonTitle,
this.buttonColor,
required this.backgroundColor,
required this.disableTintColor,
}){
// Decide dialog layout based on platform
if (Platform.isIOS) {
_cupertinoView();
} else if (Platform.isAndroid) {
_materialView();
} else {
_materialView();
}
}