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
More useful error messages when you use Stack without a textDirection. #59360
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.
/// the 'alignment' argument". Should be an adverb phrase describing why. | ||
/// * hint: explain why this might be happening, for example "The default | ||
/// value of the 'aligment' argument of the $runtimeType widget is an | ||
/// AlignmentDirectional value.". Should be a fully punctuated sentence. |
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.
ultra nit, and only if we're using American punctuation rules (personally, I think it's a dumb rule, but it is what it is):
/// AlignmentDirectional value.". Should be a fully punctuated sentence. | |
/// AlignmentDirectional value." Should be a fully punctuated sentence. |
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.
The string here is a literal, not a quote, so I'm inclined to go with programming punctuation rather than usual prose punctuation.
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Updated as per first suggestion, will land on green. Thanks! |
No description provided.