SmoothSelectionRegion constructor
const
SmoothSelectionRegion({
- required Widget child,
- Key? key,
- FocusNode? focusNode,
- TextSelectionControls? selectionControls,
- TextMagnifierConfiguration? magnifierConfiguration,
- ValueChanged<
SelectedContent?> ? onSelectionChanged, - SmoothSelectionContextMenuBuilder? contextMenuBuilder,
- SmoothSelectionController? controller,
Creates a SmoothSelectionRegion.
Mirrors SelectionArea.new, but contextMenuBuilder receives a
SmoothSelectionRegionState instead of a plain SelectableRegionState.
Implementation
const SmoothSelectionRegion({
required this.child,
super.key,
this.focusNode,
this.selectionControls,
this.magnifierConfiguration,
this.onSelectionChanged,
this.contextMenuBuilder,
this.controller,
});