nesward_flutter_app/lib/widgets/footer_widget.dart

37 lines
995 B
Dart

// lib/widgets/footer_widget.dart
import 'package:flutter/material.dart';
class FooterWidget extends StatelessWidget {
const FooterWidget({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.all(16),
color: Colors.grey[200],
child: Column(
children: [
Text(
'© 2025 Nest Grocery. All rights reserved.',
style: Theme.of(context).textTheme.labelSmall,
),
const SizedBox(height: 8),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
TextButton(
onPressed: () {},
child: const Text('Privacy Policy'),
),
const Text(' | '),
TextButton(
onPressed: () {},
child: const Text('Terms & Conditions'),
),
],
),
],
),
);
}
}