Skip to main content

MultiMediaPickerService class

<p>This is a third party service which provide the service to select the image from.</p> <p>gallery and then image can be cropped as well.</p> <p>Services include:</p> <ul> <li><code>getPhotoFromGallery</code> - Used to select photo from gallery.</li> <li><code>cropImage</code> - Used to crop the selected image.</li> </ul>

Constructors

MultiMediaPickerService ()

Properties

fileStreamStream

This function returns the stream of files.
<span class="feature">read-only</span>

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

Methods

cropImage({required File imageFile}) Future<File?>

This function is used to crop the image selected by the user.

getPhotoFromGallery({bool camera = false}) Future<File?>

This function is used to pick the image from gallery or to click the image from user's camera.

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>

toString() String

A string representation of this object.
<span class="feature">inherited</span>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>