getDefaultNegativeText method
Implementation
String getDefaultNegativeText() {
switch (type) {
case DialogType.warning:
case DialogType.confirmation:
return 'cancel';
case DialogType.loading:
return '';
}
}
String getDefaultNegativeText() {
switch (type) {
case DialogType.warning:
case DialogType.confirmation:
return 'cancel';
case DialogType.loading:
return '';
}
}