Skip to content

Commit d93ffc1

Browse files
authored
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.
1 parent 3a436f4 commit d93ffc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/material/divider_theme.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DividerThemeData with Diagnosticable {
4646
/// used between [ListTile]s, between rows in [DataTable]s, and so forth.
4747
final Color? color;
4848

49-
/// The [Divider]'s width or the [VerticalDivider]'s height.
49+
/// The [Divider]'s height or the [VerticalDivider]'s width.
5050
///
5151
/// This represents the amount of horizontal or vertical space the divider
5252
/// takes up.

0 commit comments

Comments
 (0)