Surface3DViewState class

Combined rotation/zoom/hover state for Surface3DChart, held in a single ValueNotifier so dragging, scrolling, and hovering never call setState() — only the canvas/tooltip subtree repaints.

Constructors

Surface3DViewState({required double rotationX, required double rotationY, required double zoom, SurfaceQuad? hoveredQuad, Offset? pointerPos})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hoveredQuad → SurfaceQuad?
final
pointerPos → Offset?
final
rotationX → double
final
rotationY → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zoom → double
final

Methods

copyWith({double? rotationX, double? rotationY, double? zoom, SurfaceQuad? hoveredQuad, bool clearHover = false, Offset? pointerPos}) → Surface3DViewState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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