Unverified Commit 97a75b9c authored by Ayush Bherwani's avatar Ayush Bherwani Committed by GitHub

[TextSelectionTheme] improve docs (#75967)

parent 26a6c6fe
...@@ -44,6 +44,10 @@ class TextSelectionThemeData with Diagnosticable { ...@@ -44,6 +44,10 @@ class TextSelectionThemeData with Diagnosticable {
/// ///
/// Selection handles are used to indicate the bounds of the selected text, /// Selection handles are used to indicate the bounds of the selected text,
/// or as a handle to drag the cursor to a new location in the text. /// or as a handle to drag the cursor to a new location in the text.
///
/// On iOS [TextField] and [SelectableText] cannot access [selectionHandleColor].
/// To set the [selectionHandleColor] on iOS, you can change the
/// [CupertinoThemeData.primaryColor] in [ThemeData.cupertinoOverrideTheme].
final Color? selectionHandleColor; final Color? selectionHandleColor;
/// Creates a copy of this object with the given fields replaced with the /// Creates a copy of this object with the given fields replaced with the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment