Skip to content

Commit

Permalink
Fix the divider_theme space documentation problem (flutter#125195)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xcc3641 authored Apr 21, 2023
1 parent 3a436f4 commit d93ffc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/material/divider_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d93ffc1

Please sign in to comment.