IndexedFocusedWidgetBuilder typedef
IndexedFocusedWidgetBuilder =
Widget Function(BuildContext context, int index, bool isFocus)
Builds a carousel controlled by a PageView for the tweet media sources.
Used for showing a full screen view of the TweetMedia
sources.
The sources can be panned and zoomed interactively using an
InteractiveViewer.
An InteractiveViewerBoundary
is used to detect when the boundary of the
source is hit after zooming in to disable or enable the swiping gesture of
the PageView.
Implementation
typedef IndexedFocusedWidgetBuilder = Widget Function(BuildContext context, int index, bool isFocus);