HtmlPointer class

Support for pointer in in-browser context by dispatching PointerEvents.

Implemented types

Constructors

HtmlPointer(SyncFn syncFn)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncFn SyncFn
getter/setter pair

Methods

down(MouseButton button, {PageLoaderElement? eventTarget}) Future
Press at current location. If eventTarget is specified, PageLoader will attempt to fire the corresponding pointer events on that target, otherwise it will fire the events on the target that is under the current location.
override
moveTo(covariant HtmlPageLoaderElement element, int? xOffset, int? yOffset, {List<PageLoaderElement>? dispatchTo = const <PageLoaderElement>[], int? stepPixels, Duration? duration = Duration.zero}) Future
Move the pointer from previous location to a location relative to element offset by xOffset and yOffset.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
up(MouseButton button, {PageLoaderElement? eventTarget}) Future
Release at current location. If eventTarget is specified, PageLoader will attempt to fire the corresponding pointer events on that target, otherwise it will fire the events on the target that is under the current location.
override

Operators

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