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, width: isCondensed ? 90 : 250,
duration: const Duration(milliseconds: 300), duration: const Duration(milliseconds: 300),
curve: Curves.easeInOut, curve: Curves.easeInOut,
child: Column( child: SafeArea(
children: [ bottom: true,
userProfileSection(), top: false,
MySpacing.height(8), left: false,
supportAndSettingsMenu(), right: false,
const Spacer(), child: Column(
logoutButton(), children: [
], userProfileSection(),
MySpacing.height(8),
supportAndSettingsMenu(),
const Spacer(),
logoutButton(),
],
),
), ),
), ),
); );