Sp3dGestureDetector class
(en)A class for realizing various gesture operations for 3D objects.
(ja)3Dオブジェクトに対する様々なジャスチャー操作を実現するためのクラスです。
Author Masahide Mori
First edition creation date 2022-09-03 18:43:33
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- Sp3dGestureDetector
Constructors
- Sp3dGestureDetector({Key? key, required Widget child, void onPanDown(Sp3dGestureDetails details)?, void onSecondPanDown(Sp3dGestureDetails details)?, void onPanCancel()?, void onPanStart(Sp3dGestureDetails details)?, void onPanUpdate(Sp3dGestureDetails details)?, void onPanEnd(Sp3dGestureDetails details)?, void onPinchStart(Sp3dGestureDetails details)?, void onPinchUpdate(Sp3dGestureDetails details)?, void onPinchEnd(Sp3dGestureDetails details)?, void onScroll(Sp3dGestureDetails details)?, HitTestBehavior behavior = HitTestBehavior.opaque})
-
- child : The child widget.
- onPanDown : Callback at user touch initiation.
- onSecondPanDown : Callback at user touch initiation of second finger.
- onPanCancel : Callback at user touch cancel.
- onPanStart : Callback at user pan start.
- onPanUpdate : Callback at user pan update.
- onPanEnd : Callback at user pan end.
- onPinchStart : Callback at user pinch start.
- onPinchUpdate : Callback at user pinch update.
- onPinchEnd : Callback at user pinch end.
- onScroll : Callback at user mouse scroll. This returns a diffV with the orientation stored in y. Any other value is zero.
- behavior : Specification about the hit judgment area of the child widget.
const
Properties
- behavior → HitTestBehavior
-
final
- child → Widget
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onPanCancel → (void Function()?)
-
final
- onPanDown → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanEnd → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanStart → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanUpdate → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchEnd → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchStart → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchUpdate → (void Function(Sp3dGestureDetails details)?)
-
final
- onScroll → (void Function(Sp3dGestureDetails details)?)
-
final
- onSecondPanDown → (void Function(Sp3dGestureDetails details)?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< Sp3dGestureDetector> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited