SafaehFeedbackContext extension
Shared toast operations exposed through a small, app-agnostic interface.
- on
Methods
-
dismissSafaehFeedbacks(
) → void -
Available on BuildContext, provided by the SafaehFeedbackContext extension
Dismisses all feedback messages currently shown by the host. -
showSafaehCustomFeedback(
{required SafaehFeedbackBuilder builder, Duration duration = const Duration(seconds: 8)}) → void -
Available on BuildContext, provided by the SafaehFeedbackContext extension
Shows app-specific content using the shared host and animation policy. -
showSafaehFeedback(
String message, {SafaehFeedbackType type = SafaehFeedbackType.info, Duration duration = const Duration(seconds: 4), IconData? icon}) → void -
Available on BuildContext, provided by the SafaehFeedbackContext extension
Shows an informational, success, or error message. -
showSafaehFeedbackWithAction(
String message, {required String actionLabel, required VoidCallback onAction, SafaehFeedbackType type = SafaehFeedbackType.info, Duration duration = const Duration(seconds: 8), IconData? icon}) → void -
Available on BuildContext, provided by the SafaehFeedbackContext extension
Shows a message with one action. Auto-dismiss never invokes the action.