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.

Usage:

ImageEditorCustomWidgets customUI = ImageEditorCustomWidgets(
  appBar: CustomAppBar(),
  bottomNavigationBar: CustomBottomNavigationBar(),
  // Additional custom widgets...
);

Properties:

  • removeLayer (optional): A custom widget that can be used as a UI element to remove a layer or element from the editor interface.

  • appBar (optional): A custom app bar widget that can be used as the top navigation bar in the application.

  • appBarPaintingEditor (optional): A custom app bar widget specifically designed for the painting editor component, if applicable.

  • appBarTextEditor (optional): A custom app bar widget specifically designed for the text editor component, if applicable.

  • appBarCropRotateEditor (optional): A custom app bar widget specifically designed for the crop and rotate editor component, if applicable.

  • appBarFilterEditor (optional): A custom app bar widget specifically designed for the filter editor component, if applicable.

  • appBarBlurEditor (optional): A custom app bar widget specifically designed for the blur editor component, if applicable.

  • bottomNavigationBar (optional): A custom widget that can be used as a bottom navigation bar in the application's user interface.

Example Usage:

ImageEditorCustomWidgets customUI = ImageEditorCustomWidgets(
  appBar: CustomAppBar(),
  bottomNavigationBar: CustomBottomNavigationBar(),
);

Please refer to the documentation of individual properties and methods for more details.

Constructors

ImageEditorCustomWidgets({CropEditorAspectRatioOptions? cropEditorAspectRatioOptions, CustomSlider? sliderFilterEditor, CustomSlider? sliderBlurEditor, CustomSlider? sliderPaintEditorLineWidth, CloseBtn? paintEditorLineWidthCloseButton, CustomColorPicker? colorPickerPaintEditor, CustomColorPicker? colorPickerTextEditor, RemoveButton? removeLayer, PreferredSizeWidget? appBar, PreferredSizeWidget? appBarPaintingEditor, PreferredSizeWidget? appBarTextEditor, PreferredSizeWidget? appBarCropRotateEditor, PreferredSizeWidget? appBarFilterEditor, PreferredSizeWidget? appBarBlurEditor, Widget? bottomNavigationBar, Widget? bottomBarPaintingEditor, Widget? bottomBarCropRotateEditor, Widget? bottomBarTextEditor, Widget? whatsAppBottomWidget, Widget? paintEditorBodyItem, Future<bool> closeWarningDialog()?, Widget? whatsAppOwnAppBarIcons})
Creates an instance of the CustomWidgets class with the specified properties.
const

Properties

appBar PreferredSizeWidget?
A custom app bar widget for the top navigation bar.
final
appBarBlurEditor PreferredSizeWidget?
A custom app bar widget for the blur editor component.
final
appBarCropRotateEditor PreferredSizeWidget?
A custom app bar widget for the crop and rotate editor component.
final
appBarFilterEditor PreferredSizeWidget?
A custom app bar widget for the filter editor component.
final
appBarPaintingEditor PreferredSizeWidget?
A custom app bar widget for the painting editor component.
final
appBarTextEditor PreferredSizeWidget?
A custom app bar widget for the text editor component.
final
bottomBarCropRotateEditor Widget?
A custom bottom bar widget for the crop-rotate editor component.
final
bottomBarPaintingEditor Widget?
A custom bottom bar widget for the painting editor component.
final
bottomBarTextEditor Widget?
A custom bottom bar widget for the text editor component.
final
bottomNavigationBar Widget?
A custom widget for the bottom navigation bar.
final
closeWarningDialog → (Future<bool> Function()?)
Override the close warning dialog when we made changes.
final
colorPickerPaintEditor CustomColorPicker?
A custom color picker widget for the paint editor.
final
colorPickerTextEditor CustomColorPicker?
A custom color picker widget for the text editor.
final
cropEditorAspectRatioOptions CropEditorAspectRatioOptions?
A widget for selecting aspect ratio options in the crop editor.
final
hashCode int
The hash code for this object.
no setterinherited
paintEditorBodyItem Widget?
Add a custom widget at a specific position in the body. For example, you can use the Position widget to place a container:
final
paintEditorLineWidthCloseButton CloseBtn?
Custom close button in the paint-editor to close the line-width bottom sheet.
final
removeLayer RemoveButton?
A custom widget for removing a layer or element from the editor interface, when hover the layer over the area.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sliderBlurEditor CustomSlider?
A custom slider widget for the blur editor.
final
sliderFilterEditor CustomSlider?
A custom slider widget for the filter editor.
final
sliderPaintEditorLineWidth CustomSlider?
A custom slider widget for the line width in the paint editor.
final
whatsAppBottomWidget Widget?
The widget that is below the Filter button in the material design. You can create a text field and send button just like in whatsapp.
final
whatsAppOwnAppBarIcons Widget?
A custom widget that will be displayed in WhatsApp mode in the app bar on the top right, providing a useful custom "Done" button.
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