feat:some changes done in login

This commit is contained in:
jahongireshonqulov
2025-11-01 11:31:37 +05:00
parent 689cf29eab
commit 4acc409de0
6 changed files with 182 additions and 113 deletions

View File

@@ -6,19 +6,29 @@ class WLayout extends StatelessWidget {
this.bgColor,
this.bottom = true,
this.top = true,
this.left = true,
this.right = true,
required this.child,
});
final Color? bgColor;
final bool bottom;
final bool top;
final bool right;
final bool left;
final Widget child;
@override
Widget build(BuildContext context) {
return Container(
color: bgColor ?? context.theme.scaffoldBackgroundColor,
child: SafeArea(top: top, bottom: bottom, child: child),
child: SafeArea(
top: top,
bottom: bottom,
right: right,
left: left,
child: child,
),
);
}
}