confirmAction static method
dynamic
confirmAction(})
Perform a confirm action
Implementation
static confirmAction(dynamic state,
{required Function() action,
required String title,
String dismissText = "Cancel"}) async {
_updateState(_findStateName(state), "confirm-action",
{"action": action, "title": title, "dismissText": dismissText});
}