TextSelectionToolbar constructor

const TextSelectionToolbar({
  1. Key? key,
  2. required Offset anchorAbove,
  3. required Offset anchorBelow,
  4. ToolbarBuilder toolbarBuilder = _defaultToolbarBuilder,
  5. required List<Widget> children,
})

Creates an instance of TextSelectionToolbar.

Implementation

const TextSelectionToolbar({
  super.key,
  required this.anchorAbove,
  required this.anchorBelow,
  this.toolbarBuilder = _defaultToolbarBuilder,
  required this.children,
}) : assert(children.length > 0);