Unverified Commit dd33283a authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Add some examples of widgets that support visual density (#81932)

parent 094179e8
......@@ -2095,6 +2095,22 @@ class _FifoCache<K, V> {
/// the list. For chips, it only affects the vertical size, not the horizontal
/// size.
///
/// Here are some examples of widgets that respond to density changes:
///
/// * [Checkbox]
/// * [Chip]
/// * [ElevatedButton]
/// * [FlatButton]
/// * [IconButton]
/// * [InputDecorator] (which gives density support to [TextField], etc.)
/// * [ListTile]
/// * [MaterialButton]
/// * [OutlineButton]
/// * [OutlinedButton]
/// * [Radio]
/// * [RawMaterialButton]
/// * [TextButton]
///
/// See also:
///
/// * [ThemeData.visualDensity], where this property is used to specify the base
......
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