TapRegionRegistry class abstract
An interface for registering and unregistering a RenderTapRegion (typically created with a TapRegion widget) with a RenderTapRegionSurface (typically created with a TapRegionSurface widget).
- Implementers
Constructors
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
-
registerTapRegion(
RenderTapRegion region) → void - Register the given RenderTapRegion with the registry.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterTapRegion(
RenderTapRegion region) → void - Unregister the given RenderTapRegion with the registry.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
maybeOf(
BuildContext context) → TapRegionRegistry? - Allows finding of the nearest TapRegionRegistry, such as a RenderTapRegionSurface.
-
of(
BuildContext context) → TapRegionRegistry - Allows finding of the nearest TapRegionRegistry, such as a RenderTapRegionSurface.