AdaptiveTextSelectionToolbar.selectableRegion constructor

AdaptiveTextSelectionToolbar.selectableRegion({
  1. Key? key,
  2. required SelectableRegionState selectableRegionState,
})

Create an instance of AdaptiveTextSelectionToolbar with the default children for a SelectableRegion.

See also:

Implementation

AdaptiveTextSelectionToolbar.selectableRegion({
  super.key,
  required SelectableRegionState selectableRegionState,
}) : children = null,
     buttonItems = selectableRegionState.contextMenuButtonItems,
     anchors = selectableRegionState.contextMenuAnchors;