getHeaderGlow static method
OverlayGlow
getHeaderGlow(
- BuildContext context, {
- Color? color,
- Rect? rect,
- double? blurRadius,
- double height = 25,
Implementation
static OverlayGlow getHeaderGlow(
BuildContext context, {
Color? color,
Rect? rect,
double? blurRadius,
double height = 25,
}) {
return OverlayGlow(
boxShadow: BoxShadow(
blurRadius: blurRadius ?? 100,
color: color ?? context.colorScheme.primary.withOpacity(0.75),
),
rect: rect ?? Rect.fromLTWH(0, 0, context.screenWidth, height),
);
}