changeOpacityCloseButton property

Widget Function(PaintingEditorState editorState, dynamic tap())? changeOpacityCloseButton
final

Custom close button in the paint-editor to close the change-opacity bottom sheet.

Example:

changeOpacityCloseButton: (editor, tap) {
  return IconButton(
    onPressed: tap,
    icon: const Icon(Icons.close),
  );
},

Implementation

final Widget Function(
  PaintingEditorState editorState,
  Function() tap,
)? changeOpacityCloseButton;