MyoroImagePickerViewModel class final
View model of MyoroImagePicker.
Constructors
- MyoroImagePickerViewModel.new(MyoroImagePickerConfiguration configuration)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MyoroImagePickerState
-
_state
getter.no setter
Methods
-
dispose(
) → void - Dispose function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onTapSelectionTypeModalButton(
BuildContext context, ImageSource selectionMethod) → Future< void> - Opens the picker depending on the method given.
-
openPickerAndUpdateSelectedImage(
[ImageSource selectionMethod = ImageSource.gallery]) → Future< void> - Helper function to open the picker and update MyoroImagePickerState.selectedImageNotifier.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited