onScaleStart method

  1. @mustCallSuper
void onScaleStart(
  1. ScaleStartEvent event
)

Called when the user starts a scale gesture.

Implementation

@mustCallSuper
void onScaleStart(ScaleStartEvent event) {
  event.deliverAtPoint(
    rootComponent: game,
    eventHandler: (ScaleCallbacks component) {
      _scaleRecords.add(TaggedComponent(event.pointerId, component));
      component.onScaleStart(event);
    },
  );
}