InlinePresentation class
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.
- Inheritance
-
- Object
- DiscoveryPresentation
- InlinePresentation
Constructors
-
InlinePresentation(Future<
bool> run(BuildContext context, DiscoveryContext ctx)) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
run
→ Future<
bool> Function(BuildContext context, DiscoveryContext ctx) -
final
- 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
trueif the presentation actually rendered. Afalsereturn (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.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited