api/discovery_tip
library
Classes
-
DiscoveryContext
-
Context passed to a tip's eligibility check and its presentation.
-
DiscoveryPresentation
-
Renders a tip. Subclass for a new presentation style, or use the built-in
ModalPresentation / InlinePresentation escape hatches.
-
DiscoveryTip<E extends Object>
-
A single feature-discovery entry. Parameterized on
E — the consumer-
defined event type (typically an enum) used to match triggers.
-
InlinePresentation
-
Escape hatch for tips whose presentation is already implemented elsewhere
(e.g. an existing
showMyCustomSheet function). The run callback is
responsible for rendering and returning true when something was shown.
-
ModalPresentation
-
Renders a modal dialog via
showDialog. The build callback receives the
dialog's BuildContext and the emitting DiscoveryContext so the modal
body can read ctx.data, close itself, etc.
Enums
-
DiscoveryPriority
-
Lower value == evaluated first when multiple tips match the same event.