photo_view library

Classes

PhotoView
A StatefulWidget that contains all the photo view rendering elements. [...]
PhotoViewComputedScale
PhotoViewController
The default implementation of PhotoViewControllerBase. [...]
PhotoViewControllerBase<T extends PhotoViewControllerValue>
The interface in which controllers will be implemented. [...]
PhotoViewControllerValue
The state value stored and streamed by PhotoViewController.
PhotoViewScaleStateController
A controller responsible only by scaleState. [...]

Functions

defaultScaleStateCycle(PhotoViewScaleState actual) PhotoViewScaleState
The default ScaleStateCycle

Enums

PhotoViewScaleState
A way to represent the step of the "doubletap gesture cycle" in which PhotoView is.

Typedefs

PhotoViewScaleStateChangedCallback(PhotoViewScaleState scaleState) → void
A type definition for a Function that receives a PhotoViewScaleState
ScaleStateCycle(PhotoViewScaleState actual) PhotoViewScaleState
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
ScaleStateListener(double prevScale, double nextScale) → void