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