Adjust spacing in account settings dialog for improved layout
This commit is contained in:
@@ -336,7 +336,7 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
|
|||||||
Center(
|
Center(
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(height: 16),
|
const SizedBox(height: 32),
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: _pickAndUploadAvatar,
|
onTap: _pickAndUploadAvatar,
|
||||||
child: CircleAvatar(
|
child: CircleAvatar(
|
||||||
@@ -413,14 +413,14 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 80), // Space for logout button
|
const SizedBox(height: 56), // Space for logout button
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Logout Button in bottom right corner of profile tab
|
// Logout Button in bottom right corner of profile tab
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 16,
|
bottom: 8,
|
||||||
right: 16,
|
right: 8,
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
onPressed: _logout,
|
onPressed: _logout,
|
||||||
icon: Icon(Icons.logout, color: AppTheme.errorColor),
|
icon: Icon(Icons.logout, color: AppTheme.errorColor),
|
||||||
|
|||||||
Reference in New Issue
Block a user