Commit fcc9df71 authored by Reagan Middlebrook's avatar Reagan Middlebrook Committed by Adam Barth

Clarifying allowed Divider use (#7486)

Clarifying that Dividers aren't restricted to usage in lists and Drawers. Maybe no one else is confused about this but I didn't realize it until I found them used in the calculator demo (https://github.com/flutter/flutter/blob/8ca4caa4406046a683c0e2d2a5cf6118fa56fef7/examples/flutter_gallery/lib/demo/calculator/home.dart)
parent ad27fcd3
...@@ -11,9 +11,9 @@ import 'theme.dart'; ...@@ -11,9 +11,9 @@ import 'theme.dart';
/// ///
/// In the material design language, this represents a divider. /// In the material design language, this represents a divider.
/// ///
/// Dividers can be used in lists and [Drawer]s to separate content vertically. /// Dividers can be used in lists, [Drawer]s, and elsewhere to separate content
/// To create a one-pixel divider between items in a list, consider using /// vertically. To create a one-pixel divider between items in a list, consider
/// [ListItem.divideItems], which is optimized for this case. /// using [ListItem.divideItems], which is optimized for this case.
/// ///
/// The box's total height is controlled by [height]. The appropriate padding is /// The box's total height is controlled by [height]. The appropriate padding is
/// automatically computed from the height. /// automatically computed from the height.
......
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