Commit 4046db98 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Some more documentation in the material lib (#6617)

parent df3fff97
...@@ -18,10 +18,11 @@ import 'raised_button.dart'; ...@@ -18,10 +18,11 @@ import 'raised_button.dart';
/// ///
/// See also: /// See also:
/// ///
/// * [RaisedButton] /// * [RaisedButton], a kind of button.
/// * [FlatButton] /// * [FlatButton], another kind of button.
/// * [Dialog] /// * [Card], at the bottom of which it is common to place a [ButtonBar].
/// * [ButtonTheme] /// * [Dialog], which uses a [ButtonBar] for its actions.
/// * [ButtonTheme], which configures the [ButtonBar].
class ButtonBar extends StatelessWidget { class ButtonBar extends StatelessWidget {
/// Creates a button bar. /// Creates a button bar.
/// ///
......
...@@ -14,7 +14,9 @@ import 'material.dart'; ...@@ -14,7 +14,9 @@ import 'material.dart';
/// See also: /// See also:
/// ///
/// * [ListItem], to display icons and text in a card. /// * [ListItem], to display icons and text in a card.
/// * [Dialog] and [showDialog], to display a modal card. /// * [ButtonBar], to display buttons at the bottom of a card. Typically these
/// would be styled using a ButtonTheme created with [new ButtonTheme.bar].
/// * [showDialog], to display a modal card.
/// * <https://material.google.com/components/cards.html> /// * <https://material.google.com/components/cards.html>
class Card extends StatelessWidget { class Card extends StatelessWidget {
/// Creates a material design card. /// Creates a material design card.
......
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