-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Milestone
Description
Following up on an old To-Do regarding cursorColor:
| // TODO(sandrasandeep): change to color provided by Material Design team |
The Material spec doesn't provide specific guidance about the cursor color and the examples aren't entirely consistent - https://material.io/components/text-field. In most cases the examples use the primary or error color, depending on the TextField's stat. That said, the default is clearly wrong and shouldn't be specified here. We need a TextFieldTheme per flutter.dev/go/material-theme-system-updates (see "Component Theme Normalization") and, similarly, TextField should be responsible for computing the default cursor color.
rydmike, db-dblank and xclud
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.