SelectableRegion constructor
- Key? key,
- SelectableRegionContextMenuBuilder? contextMenuBuilder,
- FocusNode? focusNode,
- TextMagnifierConfiguration magnifierConfiguration = TextMagnifierConfiguration.disabled,
- ValueChanged<
SelectedContent?> ? onSelectionChanged, - required TextSelectionControls selectionControls,
- required Widget child,
Create a new SelectableRegion widget.
The selectionControls
are used for building the selection handles and
toolbar for mobile devices.
Implementation
const SelectableRegion({
super.key,
this.contextMenuBuilder,
this.focusNode,
this.magnifierConfiguration = TextMagnifierConfiguration.disabled,
this.onSelectionChanged,
required this.selectionControls,
required this.child,
});