CustomSelectionArea constructor

const CustomSelectionArea({
  1. Key? key,
  2. required Text child,
  3. bool isOpen = true,
  4. TextStyle? itemBodyTextStyle,
  5. TextSelectionControls? selectionControls,
  6. void onSelectionChanged(
    1. TextSelection selection,
    2. SelectionChangedCause? cause
    )?,
  7. Widget contextMenuBuilder(
    1. BuildContext context,
    2. EditableTextState editableTextState
    )?,
  8. void createSelectableTextCallback(
    1. FocusNode focusNode
    )?,
  9. 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});