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.
This commit is contained in:
Hugo 2023-04-22 05:59:08 +08:00 committed by GitHub
parent 3a436f47f5
commit d93ffc10c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.