EditorParams class
Define ImageEditor parameters.
Constructors
-
EditorParams({required String title, required IconData icon, required Future<
File?> onEditorEvent({int compressQuality, ImagePickerConfigs? configs, required BuildContext context, required File file, int maxHeight, int maxWidth, required String title})}) - Default constructor for defining ImageEditor parameters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Icon for the image editor.
final
-
onEditorEvent
→ Future<
File?> Function({int compressQuality, ImagePickerConfigs? configs, required BuildContext context, required File file, int maxHeight, int maxWidth, required String title}) -
Callback function called when the image is edited.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title of the image editor.
final
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