swap default of card widget (#19898)

This commit is contained in:
Jonah Williams 2018-07-27 14:00:30 -07:00 committed by GitHub
parent 78a00cb13a
commit 1b81b6127b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class Card extends StatelessWidget {
this.shape, this.shape,
this.margin = const EdgeInsets.all(4.0), this.margin = const EdgeInsets.all(4.0),
this.child, this.child,
this.semanticContainer = false, this.semanticContainer = true,
}) : super(key: key); }) : super(key: key);
/// The card's background color. /// The card's background color.
@ -104,7 +104,7 @@ class Card extends StatelessWidget {
/// Whether this widget represents a single semantic container, or if false /// Whether this widget represents a single semantic container, or if false
/// a collection of individual semantic nodes. /// a collection of individual semantic nodes.
/// ///
/// Defaults to false. /// Defaults to true.
/// ///
/// Setting this flag to true will attempt to merge all child semantics into /// Setting this flag to true will attempt to merge all child semantics into
/// this node. Setting this flag to false will force all child semantic nodes /// this node. Setting this flag to false will force all child semantic nodes