onScaleEnd method

  1. @mustCallSuper
void onScaleEnd(
  1. ScaleEndEvent event
)

Called when the scale gesture ends.

Implementation

@mustCallSuper
void onScaleEnd(ScaleEndEvent event) {
  _scaleRecords.removeWhere((record) {
    if (record.pointerId == event.pointerId) {
      record.component.onScaleEnd(event);
      return true;
    }
    return false;
  });
}