softplayer-web/lib/helpers/page_wrapper.dart

17 lines
394 B
Dart
Raw Normal View History

2024-04-04 14:35:33 +00:00
import 'package:flutter/material.dart';
import 'package:softplayer_web/components/menubar.dart';
2024-04-04 16:15:30 +00:00
class PageWrapper extends StatelessWidget {
2024-04-04 14:35:33 +00:00
final Widget child;
final MenuPanel appBar;
2024-04-04 16:15:30 +00:00
const PageWrapper({super.key, required this.child, required this.appBar});
2024-04-04 14:35:33 +00:00
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: appBar,
body: child,
);
}
}