Update m3 outlined card

update_card_to_card_outlined
Qun Cheng 1 year ago
parent d21a1d8abd
commit ecd48f08eb

@ -2466,14 +2466,7 @@ class _ComponentDecorationState extends State<ComponentDecoration> {
focusNode.requestFocus(); focusNode.requestFocus();
}, },
behavior: HitTestBehavior.opaque, behavior: HitTestBehavior.opaque,
child: Card( child: Card.outlined(
elevation: 0,
shape: RoundedRectangleBorder(
side: BorderSide(
color: Theme.of(context).colorScheme.outlineVariant,
),
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 5.0, vertical: 20.0), horizontal: 5.0, vertical: 20.0),

Loading…
Cancel
Save