From 0e7b1adda222a958345692025a79f26a6810caed Mon Sep 17 00:00:00 2001 From: MH Johnson Date: Mon, 8 Oct 2018 14:46:55 -0400 Subject: [PATCH] [Typo] it it -> if it (#22743) * [Typo] it it -> if it --- packages/flutter/lib/src/material/button_theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/button_theme.dart b/packages/flutter/lib/src/material/button_theme.dart index f01d7404d2..f0598cfd1f 100644 --- a/packages/flutter/lib/src/material/button_theme.dart +++ b/packages/flutter/lib/src/material/button_theme.dart @@ -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;