buildContextMenuButtonItem static method

ContextMenuButtonItem buildContextMenuButtonItem({
  1. required EditableTextState editableTextState,
  2. required FormattedTextContextMenuItem item,
})

Implementation

static ContextMenuButtonItem buildContextMenuButtonItem({
  required EditableTextState editableTextState,
  required FormattedTextContextMenuItem item,
}) {
  return _buildContextMenuButtonItem(
    editableTextState: editableTextState,
    label: item.label,
    patternChars: item.patternChars,
  );
}