ContextMenuItem constructor

ContextMenuItem({
  1. required String getName(),
  2. required void onPressed(
    1. EditorState editorState
    ),
  3. bool isApplicable(
    1. EditorState editorState
    )?,
})

Implementation

ContextMenuItem({
  required String Function() getName,
  required this.onPressed,
  this.isApplicable,
}) : _getName = getName;