lineWidthCloseButton property

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

Custom close button in the paint-editor to close the line-width bottom sheet.

Example:

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

Implementation

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