feat(user-profile): wrap content in SafeArea for improved layout on different devices

This commit is contained in:
Vaibhav Surve 2025-07-08 17:58:08 +05:30
parent a9067bd407
commit e059ee71f3

View File

@ -59,14 +59,20 @@ class _UserProfileBarState extends State<UserProfileBar>
width: isCondensed ? 90 : 250,
duration: const Duration(milliseconds: 300),
curve: Curves.easeInOut,
child: Column(
children: [
userProfileSection(),
MySpacing.height(8),
supportAndSettingsMenu(),
const Spacer(),
logoutButton(),
],
child: SafeArea(
bottom: true,
top: false,
left: false,
right: false,
child: Column(
children: [
userProfileSection(),
MySpacing.height(8),
supportAndSettingsMenu(),
const Spacer(),
logoutButton(),
],
),
),
),
);