From aca3aba10e06cb14c101334e9af6011bd7a65fd7 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 3 Jan 2019 17:18:27 -0800 Subject: [PATCH] Turn clipping on for Card Demo (#26030) --- examples/flutter_gallery/lib/demo/material/cards_demo.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/flutter_gallery/lib/demo/material/cards_demo.dart b/examples/flutter_gallery/lib/demo/material/cards_demo.dart index f7ea1b9a4ebfb..909a5bd0b605e 100644 --- a/examples/flutter_gallery/lib/demo/material/cards_demo.dart +++ b/examples/flutter_gallery/lib/demo/material/cards_demo.dart @@ -70,6 +70,7 @@ class TravelDestinationItem extends StatelessWidget { padding: const EdgeInsets.all(8.0), height: height, child: Card( + clipBehavior: Clip.antiAlias, shape: shape, child: Column( crossAxisAlignment: CrossAxisAlignment.start,