-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Improvements to EditableText documentation #132532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits 👍
| /// rendering the floating cursor. | ||
| /// | ||
| /// The default is light grey. | ||
| /// Typically this would be set to [CupertinoColors.inactiveGray]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to complain that this is only for Cupertino, but it looks like it's used for Material too...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I had a bit of an adventure tracking all this down (hence all the documentation fixes about it, heh).
| /// [enableSuggestions], [paintCursorAboveText], [selectionHeightStyle], | ||
| /// [selectionWidthStyle], [textAlign], [dragStartBehavior], [scrollPadding], | ||
| /// [dragStartBehavior], [toolbarOptions], [rendererIgnoresPointer], | ||
| /// [readOnly], and [enableIMEPersonalizedLearning] arguments must not be null. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove these kinds of comments now? Because everyone must be using null safety?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
No description provided.