ImagePickerWeb class

Constructors

ImagePickerWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getImageInfo Future<MediaInfo?>
Help to retrieve further image's informations about your picked source.
no setter
getVideoInfo Future<MediaInfo?>
Help to retrieve further video's informations about your picked source.
no setter

Static Methods

getImage({required ImageType outputType}) Future<Object?>
Picker that close after selecting 1 image. Here are the different instance of Future returned depending on outputType :
getImageAsBytes() Future<Uint8List?>
Picker that close after selecting 1 image and return a Uint8List of the selected image.
getImageAsFile() Future<File?>
Picker that close after selecting 1 image and return a html.File of the selected image.
getImageAsWidget() Future<Image?>
Picker that close after selecting 1 image and return an Image.memory using the image's bytes.
getMultiImages({required ImageType outputType}) Future<List?>
Picker that allows multi-image selection. Here are the different instance of Future returned depending on outputType :
getMultiImagesAsBytes() Future<List<Uint8List>?>
Picker that allows multi-image selection and return a Uint8List list of the selected images.
getMultiImagesAsFile() Future<List<File>?>
Picker that allows multi-image selection and return a html.File list of the selected images.
getMultiImagesAsWidget() Future<List<Image>?>
Picker that allows multi-image selection and return an Image.memory list using the images' bytes.
getVideo({required VideoType outputType}) Future
Picker that close after selecting 1 video. Here are the different instance of Future returned depending on outputType :
getVideoAsBytes() Future<Uint8List?>
Picker that close after selecting 1 video and return a Uint8List of the selected video.
getVideoAsFile() Future<File?>
Picker that close after selecting 1 video and return a html.File of the selected video.
registerWith(Registrar registrar) → void