diff --git a/packages/flutter/lib/src/material/text_field.dart b/packages/flutter/lib/src/material/text_field.dart index 72e6b6971f6..e0f92ad1c37 100644 --- a/packages/flutter/lib/src/material/text_field.dart +++ b/packages/flutter/lib/src/material/text_field.dart @@ -539,7 +539,8 @@ class TextField extends StatefulWidget { /// The color to use when painting the cursor. /// - /// Defaults to the theme's `cursorColor` when null. + /// Defaults to [ThemeData.cursorColor] or [CupertinoTheme.primaryColor] + /// depending on [ThemeData.platform]. final Color cursorColor; /// The appearance of the keyboard.