fontSizeCloseButton property

(Widget Function(TextEditorState editorState, dynamic tap())?) fontSizeCloseButton
final

Custom close button to close the font-size bottom sheet.

Example:

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

Implementation

final Widget Function(
  TextEditorState editorState,
  Function() tap,
)? fontSizeCloseButton;