premium static method
Creates a premium/elevated style preset.
Implementation
static ModernStyleOptions premium({
Color? backgroundColor,
Color? glowColor,
BorderRadius? borderRadius,
}) {
return ModernStyleOptions(
backgroundColor: backgroundColor,
glowEnabled: true,
glowColor: glowColor,
glowIntensity: 0.25,
borderRadius: borderRadius ?? BorderRadius.circular(16),
shadows: [
BoxShadow(
color: const Color(0x0A000000),
blurRadius: 20,
offset: const Offset(0, 10),
),
BoxShadow(
color: const Color(0x0A000000),
blurRadius: 6,
offset: const Offset(0, 4),
),
],
);
}