Unverified Commit 0e7b1add authored by MH Johnson's avatar MH Johnson Committed by GitHub

[Typo] it it -> if it (#22743)

* [Typo] it it -> if it
parent 7038c363
......@@ -399,7 +399,7 @@ class ButtonThemeData extends Diagnosticable {
/// The [button]'s overall brightness.
///
/// Returns the button's [MaterialButton.colorBrightness] it it is non-null,
/// Returns the button's [MaterialButton.colorBrightness] if it is non-null,
/// otherwise the color scheme's [ColorScheme.brightness] is returned.
Brightness getBrightness(MaterialButton button) {
return button.colorBrightness ?? colorScheme.brightness;
......
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