SelectionArea constructor
- Key? key,
- FocusNode? focusNode,
- TextSelectionControls? selectionControls,
- SelectableRegionContextMenuBuilder? contextMenuBuilder = _defaultContextMenuBuilder,
- TextMagnifierConfiguration? magnifierConfiguration,
- ValueChanged<
SelectedContent?> ? onSelectionChanged, - 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,
});