CustomSelectionArea constructor
const
CustomSelectionArea({
- Key? key,
- required Text child,
- bool isOpen = true,
- TextStyle? itemBodyTextStyle,
- TextSelectionControls? selectionControls,
- void onSelectionChanged(
- TextSelection selection,
- SelectionChangedCause? cause
- Widget contextMenuBuilder(
- BuildContext context,
- EditableTextState editableTextState
- void createSelectableTextCallback(
- FocusNode focusNode
- TextMagnifierConfiguration? magnifierConfiguration,
Implementation
const CustomSelectionArea(
{super.key,
required this.child,
this.isOpen = true,
this.itemBodyTextStyle,
this.selectionControls,
this.onSelectionChanged,
this.contextMenuBuilder,
this.createSelectableTextCallback,
this.magnifierConfiguration});