universal/inner_headers
library
Classes
-
AssetSource
-
Source representing the path of an application asset in your Flutter
"assets" folder.
Note that a prefix might be applied by your AudioPlayer's audio cache
instance.
-
AudioCache
-
This class represents a cache for Local Assets to be played.
-
AudioContext
-
An Audio Context is a set of secondary, platform-specific aspects of audio
playback, typically related to how the act of playing audio interacts with
other features of the device. AudioContext is containing platform specific
configurations: AudioContextAndroid and AudioContextIOS.
-
AudioContextAndroid
-
A platform-specific class to encapsulate a collection of attributes about an
Android audio stream.
-
AudioContextConfig
-
This class contains flags to control several secondary, platform-specific
aspects of audio playback, like how this audio interact with other audios,
how is it played by the device and what happens when the app is
backgrounded.
However, note that each platform has its nuances on how to configure audio.
This class is a generic abstraction of some parameters that can be useful
across the board.
Its flags are simple abstractions that are then translated to an
AudioContext containing platform specific configurations:
AudioContextAndroid and AudioContextIOS.
If these simplified flags cannot fully reflect your goals, you must create
an AudioContext configuring each platform separately.
-
AudioContextIOS
-
A platform-specific class to encapsulate a collection of attributes about an
iOS audio stream.
-
AudioEvent
-
Event emitted from the platform implementation.
-
AudioLogger
-
-
AudioPlayer
-
This represents a single AudioPlayer, which can play one audio at a time.
To play several audios at the same time, you must create several instances
of this class.
-
AudioPool
-
An AudioPool is a provider of AudioPlayers that are pre-loaded with an asset
to minimize delays.
-
AutoScrollController
-
-
AutoScrollTag
-
-
AutoScrollTagState<W extends AutoScrollTag>
-
-
BytesSource
-
Source containing the actual bytes of the media to be played.
-
Caption
-
A representation of a single caption.
-
ClosedCaption
-
Widget for displaying closed captions on top of a video.
-
ClosedCaptionFile
-
A structured representation of a parsed closed caption file.
-
DeviceFileSource
-
Source representing the absolute path of a file in the user's device.
-
DurationRange
-
Describes a discrete segment of time within a video using a start and
end Duration.
-
FilePicker
-
The interface that implementations of file_picker must implement.
-
FilePickerResult
-
-
FlutterLocalization
-
-
FramePositionUpdater
-
-
GlobalAudioEvent
-
Event emitted from the platform implementation.
-
GlobalAudioScope
-
Handle global audio scope like calls and events concerning all AudioPlayers.
-
ImagePicker
-
Provides an easy way to pick an image/video from the image library,
or to take a picture/video with the camera.
-
LostData
-
The response object of ImagePicker.retrieveLostData.
-
LostDataResponse
-
The response object of
ImagePicker.getLostData
.
-
MapLocale
-
-
PageAutoScrollController
-
-
PickedFile
-
A PickedFile is a cross-platform, simplified File abstraction.
-
PlatformFile
-
-
PositionUpdater
-
-
SharedPreferences
-
Wraps NSUserDefaults (on iOS) and SharedPreferences (on Android), providing
a persistent store for simple data.
-
SimpleAutoScrollController
-
-
Source
-
A generic representation of a source from where audio can be pulled.
-
SubRipCaptionFile
-
Represents a ClosedCaptionFile, parsed from the SubRip file format.
See: https://en.wikipedia.org/wiki/SubRip
-
TimerPositionUpdater
-
-
UrlSource
-
Source representing a remote URL to be played from the Internet.
This can be an audio file to be downloaded or an audio stream.
-
VideoPlayer
-
Widget that displays the video controlled by controller.
-
VideoPlayerController
-
Controls a platform video player, and provides updates when the state is
changing.
-
VideoPlayerOptions
-
VideoPlayerOptions can be optionally used to set additional player settings
-
VideoPlayerValue
-
The duration, current position, buffering state, error state and settings
of a VideoPlayerController.
-
VideoPlayerWebOptions
-
VideoPlayerWebOptions can be optionally used to set additional web settings
-
VideoPlayerWebOptionsControls
-
VideoPlayerWebOptions can be used to set how control options are displayed
-
VideoProgressColors
-
Used to configure the VideoProgressIndicator widget's colors for how it
describes the video's status.
-
VideoProgressIndicator
-
Displays the play/buffering status of the video controlled by controller.
-
VideoScrubber
-
A scrubber to control VideoPlayerControllers
-
VideoThumbnail
-
-
WebVTTCaptionFile
-
Represents a ClosedCaptionFile, parsed from the WebVTT file format.
See: https://en.wikipedia.org/wiki/WebVTT
-
XFile
-
A CrossFile is a cross-platform, simplified File abstraction.
Enums
-
AndroidAudioFocus
-
There are four focus request types. A successful focus request with each
will yield different behaviors by the system and the other application that
previously held audio focus.
See https://developer.android.com/reference/android/media/AudioFocusRequest
-
AndroidAudioMode
-
The audio mode encompasses audio routing AND the behavior of the telephony
layer. Therefore this flag should only be used by applications that
replace the platform-wide management of audio settings or the main telephony
application. In particular, the inCall mode should only be used by the
telephony application when it places a phone call, as it will cause signals
from the radio layer to feed the platform mixer.
-
AndroidContentType
-
"what" you are playing. The content type expresses the general category of
the content. This information is optional. But in case it is known (for
instance movie for a movie streaming service or music for a music
playback application) this information might be used by the audio framework
to selectively configure some audio post-processing blocks.
-
AndroidUsageType
-
"why" you are playing a sound, what is this sound used for. This is achieved
with the "usage" information. Examples of usage are media and alarm.
These two examples are the closest to stream types, but more detailed use
cases are available. Usage information is more expressive than a stream
type, and allows certain platforms or routing policies to use this
information for more refined volume or routing decisions. Usage is the most
important information to supply in AudioContextAndroid and it is
recommended to build any instance with this information supplied.
-
AudioContextConfigFocus
-
-
AudioContextConfigRoute
-
-
AudioEventType
-
-
AudioLogLevel
-
-
AutoScrollPosition
-
-
AVAudioSessionCategory
-
This is a Dart representation of the equivalent enum on Swift.
-
AVAudioSessionOptions
-
This is a Dart representation of the equivalent enum on Swift.
-
CameraDevice
-
Which camera to use when picking images/videos while source is
ImageSource.camera
.
-
DataSourceType
-
The way in which the video was originally loaded.
-
FilePickerStatus
-
-
FileType
-
-
GlobalAudioEventType
-
-
ImageFormat
-
Support most popular image formats.
Uses libwebp to encode WebP image on iOS platform.
-
ImageSource
-
Specifies the source where the picked image should come from.
-
PlayerMode
-
This represents what kind of native implementation is used by the player.
-
PlayerState
-
Indicates the state of the audio player.
-
ReleaseMode
-
This enum is meant to be used as a parameter of setReleaseMode method.
-
RetrieveType
-
The type of the retrieved data in a LostDataResponse.
-
StorageDirectory
-
Corresponds to constants defined in Androids
android.os.Environment
class.
-
VideoFormat
-
The file format of the given video.