getPrimaryShadow static method
Primary button shadow with color glow effect
Implementation
static List<BoxShadow> getPrimaryShadow(Color backgroundColor) => [
// Subtle top highlight
BoxShadow(
color: Colors.white.withValues(alpha: 0.1),
blurRadius: 1,
offset: const Offset(0, -1),
),
// Color glow
BoxShadow(
color: backgroundColor.withValues(alpha: 0.4),
blurRadius: 16,
offset: const Offset(0, 6),
spreadRadius: -4,
),
// Soft ambient shadow
BoxShadow(
color: Colors.black.withValues(alpha: 0.12),
blurRadius: 8,
offset: const Offset(0, 3),
spreadRadius: -2,
),
];