TextSelectionThemeModifier constructor

const TextSelectionThemeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required TextSelectionThemeData data,
})

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

The data argument must not be null.

Implementation

const TextSelectionThemeModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.data,
});