refitCamera property

void Function({Curve? curve, Duration? duration})? refitCamera
final

Re-target the host camera at the current crop rect — telegram's evenlyFill refit. Invoked on the layer's confirm tick (1s after a handle drag, immediately on an aspect snap) with the TgSpring.

Implementation

final void Function({Curve? curve, Duration? duration})? refitCamera;