import 'package:ernaehrung/android/components/chart/round_chart.dart'; import 'package:ernaehrung/android/components/meal_page_food_component.dart'; import 'package:flutter/material.dart'; class MealPlanPage extends StatefulWidget { final String title; final Color backgroundColor = const Color(0xff47a44b); const MealPlanPage({Key? key, required this.title}) : super(key: key); String get getTitle => title; @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return getTitle; } @override State createState() => _MealPlanState(); } class _MealPlanState extends State { @override Widget build(BuildContext context) { return Scaffold( body: SizedBox( width: double.infinity, height: double.infinity, child: SingleChildScrollView( child: Column( children: const [ RoundChartComponent(), MealPageStatisticsFoodComponent(), ], ), ))); } }