api/internal/nudge/nudge_presenter library
Functions
-
presentNudge(
{required BuildContext context, required NudgeConfig config, EngageActionContext actionContext = EngageActionContext.unknown, VariableScope scope = VariableScope.empty}) → Future< void> - Presents a NudgeConfig over the app, choosing the bottom-sheet or dialog strategy by its surface. Returns a future that completes when the nudge is dismissed (button action, close affordance, scrim, or drag-down).