Results for “TextSelectionTheme”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- TextSelectionThemeclass
that defines the appearance of text selection in this widget's subtree. material.TextSelectionTheme TextSelectionTheme Text Selection Theme class material
- TextSelectionThemeDataclass
Defines the text selection visual properties for descendant TextField and SelectableText widgets. material.TextSelectionThemeData TextSelectionThemeData Text Selection Theme Data class material
- TextSelectionThemeData.newconstructor
Creates the set of properties used to configure TextFields. material.TextSelectionThemeData.TextSelectionThemeData.new TextSelectionThemeData new Text Selection Theme Data.new constructor material
- TextSelectionTheme.newconstructor
text selection properties for all widgets below it in the widget tree. material.TextSelectionTheme.TextSelectionTheme.new TextSelectionTheme new Text Selection Theme.new constructor material
Version changes
- TextSelectionTheme migration2.0.0breaking
update them to use the new equivalent properties on `ThemeData.textSelectionTheme`: | Before | After | |--------------------------------------|-----------------------------------------------| | `ThemeData.cursorColor` | `TextSelectionThemeData.cursorColor` | | `ThemeData.textSelectionColor` | `TextSelectionThemeData.selectionColor` | | `ThemeData.textSelectionHandleColor` | `TextSelectionThemeData.selectionHandleColor` | **Code before migration:** ```dart ThemeData( cursorColor: Colors.red, textSelectionColor: Colors.green, textSelectionHandleColor
- Deprecated API removed after v2.103.0.0removed
OutlinedButtonTheme ButtonStyle ButtonStyleButton ElevatedButtonThemeData OutlinedButtonThemeData TextButtonThemeData Scaffold SnackBar ScaffoldMessenger MaterialApp RectangularSliderTrackShape.disabledThumbGapWidth RectangularSliderTrackShape ThemeData TextSelectionThemeData RenderEditable.onSelectionChanged TextSelectionDelegate.textEditingValue TextSelectionDelegate.userUpdateTextEditingValue TextInputFormatter