glp-companion/lib/features/meal_planner/presentation/screens/meal_planner_screen.dart

48 lines
1.4 KiB
Dart

import 'package:flutter/material.dart';
class MealPlannerScreen extends StatelessWidget {
const MealPlannerScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Meal Planner & Import')),
body: ListView(
padding: const EdgeInsets.all(16.0),
children: [
TextField(
decoration: InputDecoration(
labelText: 'Paste Recipe URL to import',
border: const OutlineInputBorder(),
suffixIcon: IconButton(
icon: const Icon(Icons.download),
onPressed: () {},
),
),
),
const SizedBox(height: 24),
const Text(
'This Week\'s Plan',
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
),
const SizedBox(height: 8),
const Card(
child: ListTile(
title: Text('Monday'),
subtitle: Text('Grilled Lemon Herb Chicken & Steamed Greens'),
trailing: Text('42g Protein'),
),
),
const Card(
child: ListTile(
title: Text('Tuesday'),
subtitle: Text('Greek Yogurt Bowl with Chia & Berries'),
trailing: Text('30g Protein'),
),
),
],
),
);
}
}