Flutter-Ernaehrungsapp/lib/components/cardComponent.dart

23 lines
516 B
Dart

import 'package:flutter/material.dart';
class CardComponent extends StatelessWidget {
const CardComponent({super.key});
@override
Widget build(BuildContext context) {
return SizedBox(
height: MediaQuery.of(context).size.height * 0.8,
child: Card(
margin: const EdgeInsets.all(20.0),
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
),
),
),
);
}
}