withHeaderOverlayGlow method

OverlayGlowWidget withHeaderOverlayGlow(
  1. {required BuildContext context,
  2. Color? color,
  3. Rect? rect,
  4. double? blurRadius,
  5. double height = 25}
)

Implementation

OverlayGlowWidget withHeaderOverlayGlow({
  required BuildContext context,
  Color? color,
  Rect? rect,
  double? blurRadius,
  double height = 25,
}) {
  return OverlayGlowWidget(
    child: this,
    glows: [
      OverlayGlows.getHeaderGlow(context,
          color: color, rect: rect, blurRadius: blurRadius, height: height),
    ],
  );
}