enough_media library
An opinionated but extensible collection of media widgets
Classes
- AssetMediaProvider
- Provides assets as media
- AudioInteractiveMedia
- Displays simple audio player
- Chewie
- A Video Player with Material and Cupertino skins.
- ChewieAudio
- An Audio Player with Material and Cupertino skins.
- ChewieAudioController
- The ChewieAudioController is used to configure and drive the Chewie Audio Player Widgets. It provides methods to control playback, such as pause and play, as well as methods that control the visual appearance of the player.
- ChewieController
- The ChewieController is used to configure and drive the Chewie Player Widgets. It provides methods to control playback, such as pause and play, as well as methods that control the visual appearance of the player, such as enterFullScreen or exitFullScreen.
- ChewieControllerProvider
- ChewieProgressColors
- ChewieState
- CupertinoControls
- DefaultBuilderOptions
- ImageInteractiveMedia
- Displays zoomable images
- ImagePreview
- InteractiveMediaWidget
- Wraps any supported media into an interactive widget.
- MaterialControls
- MaterialDesktopControls
- MediaProvider
- Defines a media provider
- MemoryMediaProvider
- Provides preloaded media
- OptionItem
- OptionsTranslation
- PdfController
- Pages control
- PdfControllerPinch
- Pages control
- PdfDocument
- PDF page image renderer
- PdfInteractiveMedia
- Displays PDFs
- PdfPage
- An integral part of a document is its page, which contains a method render for rendering into an image
- PdfPageImage
- Object containing a rendered image of PdfPage
- PdfPageImageProvider
- PdfPageNumber
- PdfPageTexture
- Object containing a rendered image of PdfPage
- PdfView
- Widget for viewing PDF documents
-
PdfViewBuilders<
T> - PdfViewPinch
- Widget for viewing PDF documents with pinch to zoom feature
-
PdfViewPinchBuilders<
T> - PhotoView
- A StatefulWidget that contains all the photo view rendering elements.
- PhotoViewComputedScale
-
A class that work as a enum. It overloads the operator
*
saving the double as a multiplier. - 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.
- PhotoViewGallery
- A StatefulWidget that shows multiple PhotoView widgets in a PageView
- PhotoViewGalleryPageOptions
- A helper class that wraps individual options of a page in PhotoViewGallery
- PhotoViewGestureDetectorScope
-
An InheritedWidget responsible to give a axis aware scope to
PhotoViewGestureRecognizer
. - PhotoViewHeroAttributes
-
Data class that holds the attributes that are going to be passed to
PhotoViewImageWrapper
's Hero. - PhotoViewScaleStateController
- A controller responsible only by scaleState.
- PreviewMediaWidget
- Shows the provided media in a preview mode.
- RgbaData
- Subtitle
- Subtitles
- TextInteractiveMedia
- Displays texts
- TextMediaProvider
- Provides text as media
- UrlMediaProvider
- Media provider for remote media files
- VideoInteractiveMedia
Enums
- PdfLoadingState
- PdfPageImageFormat
- Image compression format
- PhotoViewScaleState
- A way to represent the step of the "doubletap gesture cycle" in which PhotoView is.
Mixins
Extensions
Functions
-
assertHasPdfSupport(
) → Future< void> -
defaultScaleStateCycle(
PhotoViewScaleState actual) → PhotoViewScaleState - The default ScaleStateCycle
-
hasPdfSupport(
) → Future< bool>
Typedefs
-
ChewieRoutePageBuilder
= Widget Function(BuildContext context, Animation<
double> animation, Animation<double> secondaryAnimation, ChewieControllerProvider controllerProvider) - LoadingBuilder = Widget Function(BuildContext context, ImageChunkEvent? event)
- A type definition for a callback to show a widget while the image is loading, a ImageChunkEvent is passed to inform progress
- PdfPageNumberBuilder = Widget Function(BuildContext context, PdfLoadingState loadingState, int page, int? pagesCount)
-
PdfViewBuilder<
T> = Widget Function(BuildContext context, PdfViewBuilders< T> builders, PdfLoadingState state, WidgetBuilder loadedBuilder, PdfDocument? document, Exception? loadingError) -
PdfViewPageBuilder
= PhotoViewGalleryPageOptions Function(BuildContext context, Future<
PdfPageImage> pageImage, int index, PdfDocument document) -
PDfViewPageRenderer
= Future<
PdfPageImage?> Function(PdfPage page) -
PdfViewPinchBuilder<
T> = Widget Function(BuildContext context, PdfViewPinchBuilders< T> builders, PdfLoadingState state, WidgetBuilder loadedBuilder, PdfDocument? document, Exception? loadingError) - PhotoViewGalleryBuilder = PhotoViewGalleryPageOptions Function(BuildContext context, int index)
-
A type definition for a Function that defines a page in
PhotoViewGallery.build
- PhotoViewGalleryPageChangedCallback = void Function(int index)
- A type definition for a Function that receives a index after a page change in PhotoViewGallery
- PhotoViewImageScaleEndCallback = dynamic Function(BuildContext context, ScaleEndDetails details, PhotoViewControllerValue controllerValue)
- A type definition for a callback when a user finished scale
- PhotoViewImageTapDownCallback = dynamic Function(BuildContext context, TapDownDetails details, PhotoViewControllerValue controllerValue)
- A type definition for a callback when the user taps down the photoview region
- PhotoViewImageTapUpCallback = dynamic Function(BuildContext context, TapUpDetails details, PhotoViewControllerValue controllerValue)
- A type definition for a callback when the user taps up the photoview region
- ScaleStateCycle = PhotoViewScaleState Function(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
- ScaleStateListener = void Function(double prevScale, double nextScale)