feat: splash page done

This commit is contained in:
jahongireshonqulov
2025-10-31 12:29:30 +05:00
parent ab1ac6e6fa
commit 077ea23416
229 changed files with 3187 additions and 13517 deletions

View File

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