diff --git a/experimental/material_3_demo/lib/component_screen.dart b/experimental/material_3_demo/lib/component_screen.dart index c484e96fb..1a5cd2851 100644 --- a/experimental/material_3_demo/lib/component_screen.dart +++ b/experimental/material_3_demo/lib/component_screen.dart @@ -2466,14 +2466,7 @@ class _ComponentDecorationState extends State { focusNode.requestFocus(); }, behavior: HitTestBehavior.opaque, - child: Card( - elevation: 0, - shape: RoundedRectangleBorder( - side: BorderSide( - color: Theme.of(context).colorScheme.outlineVariant, - ), - borderRadius: const BorderRadius.all(Radius.circular(12)), - ), + child: Card.outlined( child: Padding( padding: const EdgeInsets.symmetric( horizontal: 5.0, vertical: 20.0),