glow static method

List<BoxShadow> glow(
  1. Color color, {
  2. double opacity = 0.4,
  3. double blur = 24,
})

Implementation

static List<BoxShadow> glow(Color color, {double opacity = 0.4, double blur = 24}) => [
  BoxShadow(
    color: color.withValues(alpha: opacity),
    blurRadius: blur,
    offset: Offset.zero,
    spreadRadius: 2,
  ),
];