Files
sendico/frontend/pweb/lib/pages/with_footer.dart
2025-11-13 15:06:15 +03:00

23 lines
469 B
Dart

import 'package:flutter/material.dart';
import 'package:pweb/widgets/footer/widget.dart';
class PageWithFooter extends StatelessWidget {
final PreferredSizeWidget? appBar;
final Widget child;
const PageWithFooter({super.key, required this.child, this.appBar});
@override
Widget build(BuildContext context) => Scaffold(
appBar: appBar,
body: Column(
children: [
Expanded(child: child),
FooterWidget(),
],
),
);
}