MediaProvider class Null safety
Media provider.
- Inheritance
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
addPlugin<
T extends IPlugin> (IPlugin plugin) → void -
Adds plugin.
inherited
-
cleanPlugins(
) → void -
Clean plugins.
inherited
-
getCameras(
) → Future< List< CameraDescription> > -
Gets list of cameras.
override
-
getPlugin<
T extends IPlugin> () → IPlugin? -
Gets plugin.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
open(
{MediaProviderSettings? settings, MediaProviderCallback? onOpen, MediaProviderCallback? onSuccess, MediaProviderCallback? onError, MediaProviderCallback? onCancel}) → Future< void> -
Open media chooser.
override
-
removePlugin<
T extends IPlugin> () → void -
Removes plugin.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- IMAGE_SIZE_MAX → const double
-
1280
- MEDIA_DURATION_MAX → const int
-
MediaProviderSettings.DURATION_DEFAULT
- MEDIA_DURATION_MIN → const int
-
3
- VIDEO_SIZE_MAX → const double
-
1280