SelectableRegion constructor Null safety

const SelectableRegion(
  1. {Key? key,
  2. required FocusNode focusNode,
  3. required TextSelectionControls selectionControls,
  4. 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,
  required this.focusNode,
  required this.selectionControls,
  required this.child,
});