From d93ffc10c4a51fddd21d898ea13557bc1ca405cf Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 22 Apr 2023 05:59:08 +0800 Subject: [PATCH] Fix the divider_theme space documentation problem (#125195) In the specific implementation, the Divider uses the "space" field as the height for horizontal dividers, and the "space" field as the width for VerticalDivider , which is different from the documentation description. --- packages/flutter/lib/src/material/divider_theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/divider_theme.dart b/packages/flutter/lib/src/material/divider_theme.dart index b80fcca0d1a..93975aa34e2 100644 --- a/packages/flutter/lib/src/material/divider_theme.dart +++ b/packages/flutter/lib/src/material/divider_theme.dart @@ -46,7 +46,7 @@ class DividerThemeData with Diagnosticable { /// used between [ListTile]s, between rows in [DataTable]s, and so forth. final Color? color; - /// The [Divider]'s width or the [VerticalDivider]'s height. + /// The [Divider]'s height or the [VerticalDivider]'s width. /// /// This represents the amount of horizontal or vertical space the divider /// takes up.