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();
},
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),

Loading…
Cancel
Save