Flutter-Ernaehrungsapp/lib/android/components/chart/round_chart.dart

28 lines
747 B
Dart
Raw Normal View History

2023-06-16 08:34:41 +02:00
import 'package:flutter/material.dart';
import '../meal_page_text/days_component.dart';
import '../meal_page_text/statistics_today_component.dart';
class RoundChartComponent extends StatelessWidget {
const RoundChartComponent({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
decoration: const BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(8))),
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 8, horizontal: 16),
child: Column(
children: const [
DaysMealPageComponent(),
StatisticsPercentage(),
],
),
),
);
}
}