DefaultSelectionStyle constructor Null safety

const DefaultSelectionStyle(
  1. {Key? key,
  2. Color? cursorColor,
  3. Color? selectionColor,
  4. required Widget child}
)

Creates a default selection style widget that specifies the selection properties for all widgets below it in the widget tree.

Implementation

const DefaultSelectionStyle({
  super.key,
  this.cursorColor,
  this.selectionColor,
  required super.child,
});