DiscoveryPresentation class abstract

Renders a tip. Subclass for a new presentation style, or use the built-in ModalPresentation / InlinePresentation escape hatches.

Presentations are intentionally untyped on the event parameter (they accept a raw DiscoveryTip) because a presentation's job is to render, not to reason about which consumer event triggered the tip.

Implementers

Constructors

DiscoveryPresentation()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
present(BuildContext context, DiscoveryTip<Object> tip, DiscoveryContext ctx) → Future<bool>
Return true if the presentation actually rendered. A false return (e.g. a coach mark whose anchor wasn't mounted in time) means the tip should not be marked as seen and the emit loop may continue.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited