Some more documentation in the material lib (#6617)

This commit is contained in:
Ian Hickson
2016-10-31 23:01:39 -07:00
committed by GitHub
parent df3fff97ed
commit 4046db9866
2 changed files with 8 additions and 5 deletions

View File

@@ -18,10 +18,11 @@ import 'raised_button.dart';
///
/// See also:
///
/// * [RaisedButton]
/// * [FlatButton]
/// * [Dialog]
/// * [ButtonTheme]
/// * [RaisedButton], a kind of button.
/// * [FlatButton], another kind of button.
/// * [Card], at the bottom of which it is common to place a [ButtonBar].
/// * [Dialog], which uses a [ButtonBar] for its actions.
/// * [ButtonTheme], which configures the [ButtonBar].
class ButtonBar extends StatelessWidget {
/// Creates a button bar.
///

View File

@@ -14,7 +14,9 @@ import 'material.dart';
/// See also:
///
/// * [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>
class Card extends StatelessWidget {
/// Creates a material design card.