Files
jahongireshonqulov 41d8a38471 Initial commit
2025-10-23 19:34:54 +05:00

25 lines
493 B
Dart

import '../../../../food_delivery_client.dart';
class WLayout extends StatelessWidget {
const WLayout({
super.key,
this.bgColor = AppColors.cFFFFFF,
this.bottom = true,
this.top = true,
required this.child,
});
final Color bgColor;
final bool bottom;
final bool top;
final Widget child;
@override
Widget build(BuildContext context) {
return Container(
color: bgColor,
child: SafeArea(top: top, bottom: bottom, child: child),
);
}
}