TextSelectionThemeData

selectionColor:

Colors

blue

cursorColor:

Colors

green

selectionHandleColor:

Colors

red

),

);

References

Design Document

Text Selection Theme

API documentation:

ThemeData

TextSelectionThemeData

Relevant issues:

Issue 17635

Issue 56082

Issue 61227

Relevant PRs:

New API added in #62014

Deprecated in #66485

Removed in #98578

RenderEditable.onSelectionChanged to TextSelectionDelegate.textEditingValue