formattedTextDefaultContextMenuButtonItems static method

List<ContextMenuButtonItem> formattedTextDefaultContextMenuButtonItems(
  1. EditableTextState editableTextState
)

Implementation

static List<ContextMenuButtonItem> formattedTextDefaultContextMenuButtonItems(
        EditableTextState editableTextState) =>
    formattedTextDefaultContextMenuItems
        .map(
          (item) =>
              FormattedTextContextMenuBuilder.buildContextMenuButtonItem(
            editableTextState: editableTextState,
            item: item,
          ),
        )
        .toList();