defaultContextMenuBuilder static method

Widget defaultContextMenuBuilder(
  1. BuildContext context,
  2. QuillRawEditorState state
)

Implementation

static Widget defaultContextMenuBuilder(
  BuildContext context,
  QuillRawEditorState state,
) {
  return TextFieldTapRegion(
    child: AdaptiveTextSelectionToolbar.buttonItems(
      buttonItems: state.contextMenuButtonItems,
      anchors: state.contextMenuAnchors,
    ),
  );
}