ScaleStateCycle typedef

PhotoViewScaleState ScaleStateCycle (
  1. PhotoViewScaleState actual
)

A type definition for a Function that receives the actual PhotoViewScaleState and returns the next one It is used internally to walk in the "doubletap gesture cycle". It is passed to PhotoView.scaleStateCycle

Implementation

typedef ScaleStateCycle = PhotoViewScaleState Function(
  PhotoViewScaleState actual,
);