From 1b81b6127b1e1ec76bca44b8432cbd1501044c70 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Fri, 27 Jul 2018 14:00:30 -0700 Subject: [PATCH] swap default of card widget (#19898) --- packages/flutter/lib/src/material/card.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/material/card.dart b/packages/flutter/lib/src/material/card.dart index a920665776..cb6a54b111 100644 --- a/packages/flutter/lib/src/material/card.dart +++ b/packages/flutter/lib/src/material/card.dart @@ -67,7 +67,7 @@ class Card extends StatelessWidget { this.shape, this.margin = const EdgeInsets.all(4.0), this.child, - this.semanticContainer = false, + this.semanticContainer = true, }) : super(key: key); /// The card's background color. @@ -104,7 +104,7 @@ class Card extends StatelessWidget { /// Whether this widget represents a single semantic container, or if false /// 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 /// this node. Setting this flag to false will force all child semantic nodes