GraphInteractions class final
What each gesture does to a graph whose view is the user's (an x scale with no fit).
- Inheritance
-
- Object
- PropRecord
- GraphInteractions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- props → Props
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → WidgetSpec
-
The field declarations.
no setteroverride
Methods
-
get<
T> (PropDef< T> def) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → GraphInteractions
Constants
-
axisScaleDef
→ const PropDef<
bool> - A drag on the y axis scales it; on the x axis, zooms.
-
codec
→ const ValueCodec<
GraphInteractions> -
doubleTapResetDef
→ const PropDef<
bool> - A double tap on an axis fits it again.
-
dragPanDef
→ const PropDef<
bool> - A drag on the plot pans the view.
- empty → const GraphInteractions
-
flingDef
→ const PropDef<
bool> - A flick keeps panning and slows down.
-
pinchZoomDef
→ const PropDef<
bool> - Two fingers zoom about their middle.
- spec → const WidgetSpec
-
wheelZoomDef
→ const PropDef<
bool> - The wheel zooms about the pointer.