Flutter-Ernaehrungsapp/lib/components/cardComponent.dart

23 lines
516 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
class CardComponent extends StatelessWidget {
2023-04-19 19:56:35 +02:00
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,
),
),
),
);
}
}