TextSelectionToolbarAnchors constructor

const TextSelectionToolbarAnchors({
  1. required Offset primaryAnchor,
  2. Offset? secondaryAnchor,
})

Creates an instance of TextSelectionToolbarAnchors directly from the anchor points.

Implementation

const TextSelectionToolbarAnchors({
  required this.primaryAnchor,
  this.secondaryAnchor,
});