From b1df925b3c4e6b51c132160c448c7f505d467222 Mon Sep 17 00:00:00 2001 From: Kratos Date: Tue, 6 Oct 2020 03:17:03 +0530 Subject: [PATCH] Update documentation for borderWidth/renderBorder on ToggleButtons (#67290) --- packages/flutter/lib/src/material/toggle_buttons.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/toggle_buttons.dart b/packages/flutter/lib/src/material/toggle_buttons.dart index 47d819e72b..b5b40094cd 100644 --- a/packages/flutter/lib/src/material/toggle_buttons.dart +++ b/packages/flutter/lib/src/material/toggle_buttons.dart @@ -144,7 +144,7 @@ import 'toggle_buttons_theme.dart'; /// selected, while [disabledBorderColor] determines the border's color when /// the button is disabled. [borderColor] is used when the button is enabled. /// -/// To remove the border, set [borderWidth] to null. Setting [borderWidth] to +/// To remove the border, set [renderBorder] to false. Setting [borderWidth] to /// 0.0 results in a hairline border. For more information on hairline borders, /// see [BorderSide.width]. ///