selectableBelongsToParagraph method

bool selectableBelongsToParagraph(
  1. Selectable selectable
)

Determines whether the given Selectable was created by this RenderParagraph.

Implementation

bool selectableBelongsToParagraph(Selectable selectable) {
  if (_lastSelectableFragments == null) {
    return false;
  }
  return _lastSelectableFragments!.contains(selectable);
}