Unverified Commit d93ffc10 authored by Hugo's avatar Hugo Committed by GitHub

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.
parent 3a436f47
...@@ -46,7 +46,7 @@ class DividerThemeData with Diagnosticable { ...@@ -46,7 +46,7 @@ class DividerThemeData with Diagnosticable {
/// used between [ListTile]s, between rows in [DataTable]s, and so forth. /// used between [ListTile]s, between rows in [DataTable]s, and so forth.
final Color? color; 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 /// This represents the amount of horizontal or vertical space the divider
/// takes up. /// takes up.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment