askConfirm static method
Implementation
static Future<bool> askConfirm(
String question, {
bool defaultValue = true,
String yesLabel = 'Yes',
String noLabel = 'No',
}) =>
ConfirmPrompt.askConfirm(
question,
defaultValue: defaultValue,
yesLabel: yesLabel,
noLabel: noLabel,
);