chore: Redesign settings profile header UI
Updated the SettingsProfileHeader widget to use a lighter background, reduced the expanded height, and adjusted layout to a horizontal row with updated avatar and text styles. Added new spacing constants to UiConstants for improved layout control.
This commit is contained in:
@@ -5,11 +5,11 @@ class UiConstants {
|
||||
UiConstants._();
|
||||
|
||||
// --- Border Radii ---
|
||||
|
||||
|
||||
/// Base radius: 12px
|
||||
static const double radiusBase = 12.0;
|
||||
static final BorderRadius radiusLg = BorderRadius.circular(radiusBase);
|
||||
|
||||
|
||||
/// Medium radius: 6px
|
||||
static const double radiusMdValue = 6.0;
|
||||
static final BorderRadius radiusMd = BorderRadius.circular(radiusMdValue);
|
||||
@@ -19,12 +19,12 @@ class UiConstants {
|
||||
|
||||
/// Extra small radius: 2px
|
||||
static final BorderRadius radiusXs = BorderRadius.circular(2.0);
|
||||
|
||||
|
||||
/// Large/Full radius
|
||||
static final BorderRadius radiusFull = BorderRadius.circular(999.0);
|
||||
|
||||
// --- Spacing ---
|
||||
|
||||
|
||||
static const double space0 = 0.0;
|
||||
static const double space1 = 4.0;
|
||||
static const double space2 = 8.0;
|
||||
@@ -35,4 +35,6 @@ class UiConstants {
|
||||
static const double space8 = 32.0;
|
||||
static const double space10 = 40.0;
|
||||
static const double space12 = 48.0;
|
||||
static const double space14 = 56.0;
|
||||
static const double space16 = 64.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user