import 'package:flutter/material.dart'; class NutritionScreen extends StatelessWidget { const NutritionScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Nutrition & Hydration')), body: ListView( padding: const EdgeInsets.all(16.0), children: const [ Card( child: Padding( padding: EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Daily Protein Target', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16), ), SizedBox(height: 8), LinearProgressIndicator(value: 0.65, minHeight: 12), SizedBox(height: 8), Text('65g / 100g goal'), ], ), ), ), SizedBox(height: 16), Card( child: Padding( padding: EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Daily Hydration', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16), ), SizedBox(height: 8), LinearProgressIndicator( value: 0.5, minHeight: 12, color: Colors.blue, ), SizedBox(height: 8), Text('48 oz / 96 oz goal'), ], ), ), ), ], ), ); } }