import 'package:flutter/material.dart'; class MedicationScreen extends StatelessWidget { const MedicationScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Medication Schedule')), body: ListView( padding: const EdgeInsets.all(16.0), children: [ Card( child: Padding( padding: const EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( 'Next Scheduled Dose', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16), ), const SizedBox(height: 8), const Text('Tirzepatide - 5.0 mg'), const Text('Scheduled: Monday at 08:00 AM'), const SizedBox(height: 16), FilledButton.icon( onPressed: () {}, icon: const Icon(Icons.check_circle_outline), label: const Text('Log Injection Now'), ), ], ), ), ), const SizedBox(height: 16), const Text( 'Recommended Injection Site Rotation', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16), ), const SizedBox(height: 8), const ListTile( leading: Icon(Icons.my_location, color: Colors.teal), title: Text('Left Lower Abdomen'), subtitle: Text('Last used 28 days ago'), ), ], ), ); } }