),

selectionHandleColor:

const

Color

0xff1de9b6

),

If you are fine with the new defaults,
but have failing golden file tests, you
can update your master golden files using the
following command:

test

-update-goldens

Timeline

Landed in version: 1.23.0-4.0.pre
In stable release: 2.0.0

References

API documentation:

TextSelectionThemeData

ThemeData

Relevant PRs:

PR 62014: TextSelectionTheme support