onScaleRotateDown property
Callback for handling pointer down events associated with scale and rotate gestures.
This callback is triggered when the user presses down on the widget to begin a scaling or rotating gesture. It provides both the pointer event and the size of the widget being interacted with, allowing for precise manipulation.
- Parameters:
- event: The PointerDownEvent containing details about the pointer interaction, such as position and device type.
- size: The Size of the widget being manipulated, useful for calculating scaling and rotation transformations relative to the widget's dimensions.
Implementation
final Function(PointerDownEvent, Size)? onScaleRotateDown;