fontSizeCloseButton property
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;