ContextMenuItem constructor
ContextMenuItem({
- required String getName(),
- required void onPressed(
- EditorState editorState
- bool isApplicable(
- EditorState editorState
Implementation
ContextMenuItem({
required String Function() getName,
required this.onPressed,
this.isApplicable,
}) : _getName = getName;