SelectionArea constructor

const SelectionArea(
  1. {Key? key,
  2. FocusNode? focusNode,
  3. TextSelectionControls? selectionControls,
  4. SelectableRegionContextMenuBuilder? contextMenuBuilder = _defaultContextMenuBuilder,
  5. TextMagnifierConfiguration? magnifierConfiguration,
  6. ValueChanged<SelectedContent?>? onSelectionChanged,
  7. required Widget child}
)

Creates a SelectionArea.

If selectionControls is null, a platform specific one is used.

Implementation

const SelectionArea({
  super.key,
  this.focusNode,
  this.selectionControls,
  this.contextMenuBuilder = _defaultContextMenuBuilder,
  this.magnifierConfiguration,
  this.onSelectionChanged,
  required this.child,
});