54 lines
1.6 KiB
Dart
54 lines
1.6 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class PantryScreen extends StatelessWidget {
|
|
const PantryScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(title: const Text('Pantry & Shopping Delta')),
|
|
body: ListView(
|
|
padding: const EdgeInsets.all(16.0),
|
|
children: [
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
const Text(
|
|
'Inventory',
|
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
|
),
|
|
FilledButton.tonalIcon(
|
|
onPressed: () {},
|
|
icon: const Icon(Icons.add),
|
|
label: const Text('Add Item'),
|
|
),
|
|
],
|
|
),
|
|
const SizedBox(height: 8),
|
|
const ListTile(
|
|
leading: Icon(Icons.check_box_outline_blank),
|
|
title: Text('Boneless Chicken Breast'),
|
|
subtitle: Text('In stock: 300g'),
|
|
),
|
|
const ListTile(
|
|
leading: Icon(Icons.check_box_outline_blank),
|
|
title: Text('Plain Greek Yogurt'),
|
|
subtitle: Text('In stock: 500g'),
|
|
),
|
|
const Divider(height: 32),
|
|
const Text(
|
|
'Shopping List (Auto-Generated Delta)',
|
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
|
),
|
|
const SizedBox(height: 8),
|
|
const CheckboxListTile(
|
|
value: false,
|
|
onChanged: null,
|
|
title: Text('Chicken Breast (Need +500g for Mon Plan)'),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|