SelectableRegion constructor
- Key? key,
- SelectableRegionContextMenuBuilder? contextMenuBuilder,
- required FocusNode focusNode,
- required TextSelectionControls selectionControls,
- required Widget child,
- TextMagnifierConfiguration magnifierConfiguration = TextMagnifierConfiguration.disabled,
- ValueChanged<
SelectedContent?> ? onSelectionChanged,
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,
required this.focusNode,
required this.selectionControls,
required this.child,
this.magnifierConfiguration = TextMagnifierConfiguration.disabled,
this.onSelectionChanged,
});