ImageEditorCustomWidgets class
The ImageEditorCustomWidgets
class encapsulates custom widget components
that can be used within various parts of the application's user interface.
It provides flexibility for customizing the appearance and behavior of
specific UI elements such as app bars, bottom navigation bars, and more.
Constructors
- ImageEditorCustomWidgets({Widget loadingDialog(String message, ProImageEditorConfigs configs)?, Widget? circularProgressIndicator, CustomWidgetsMainEditor mainEditor = const CustomWidgetsMainEditor(), CustomWidgetsPaintEditor paintEditor = const CustomWidgetsPaintEditor(), CustomWidgetsTextEditor textEditor = const CustomWidgetsTextEditor(), CustomWidgetsCropRotateEditor cropRotateEditor = const CustomWidgetsCropRotateEditor(), CustomWidgetsFilterEditor filterEditor = const CustomWidgetsFilterEditor(), CustomWidgetsBlurEditor blurEditor = const CustomWidgetsBlurEditor(), CustomWidgetsTuneEditor tuneEditor = const CustomWidgetsTuneEditor(), CustomWidgetsLayerInteraction layerInteraction = const CustomWidgetsLayerInteraction()})
-
Creates an instance of the
CustomWidgets
class with the specified properties.const
Properties
- blurEditor → CustomWidgetsBlurEditor
-
The blur editor instance.
final
- circularProgressIndicator → Widget?
-
Replace the existing CircularProgressIndicator.
final
- cropRotateEditor → CustomWidgetsCropRotateEditor
-
The crop and rotate editor instance.
final
- filterEditor → CustomWidgetsFilterEditor
-
The filter editor instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layerInteraction → CustomWidgetsLayerInteraction
-
Defines the set of interactions (edit, remove, rotate/scale) for
custom widgets.
final
- loadingDialog → Widget Function(String message, ProImageEditorConfigs configs)?
-
Replace the existing loading dialog.
final
- mainEditor → CustomWidgetsMainEditor
-
The main editor instance.
final
- paintEditor → CustomWidgetsPaintEditor
-
The paint editor instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textEditor → CustomWidgetsTextEditor
-
The text editor instance.
final
- tuneEditor → CustomWidgetsTuneEditor
-
The tune editor instance.
final
Methods
-
copyWith(
{CustomWidgetsMainEditor? mainEditor, CustomWidgetsPaintEditor? paintEditor, CustomWidgetsTextEditor? textEditor, CustomWidgetsCropRotateEditor? cropRotateEditor, CustomWidgetsFilterEditor? filterEditor, CustomWidgetsTuneEditor? tuneEditor, CustomWidgetsBlurEditor? blurEditor, Widget loadingDialog(String message, ProImageEditorConfigs configs)?, Widget? circularProgressIndicator, CustomWidgetsLayerInteraction? layerInteraction}) → ImageEditorCustomWidgets -
Creates a copy of this
ImageEditorCustomWidgets
object with the given fields replaced with new values. -
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