components/flows/confirmation_modal library

Functions

askForConfirmation({required BuildContext context, required String title, required String message, required ConfirmationAction action, ConfirmationVariant? overridePlatformType}) Future<bool>
Asks the user for confirmation before proceeding to a given action using a modal component. By default, this component tries to adhere to the platform's expected behavior.