glowRadius property

double glowRadius
final

The radius of the glow effect relative to the layer's shortest side.

  • 1.0 (default): Glow radius equals the shortest dimension of the button
  • 0.5: Glow radius is half the shortest dimension
  • 2.0: Glow radius is twice the shortest dimension

Larger values create a more diffuse, spread-out glow.

Defaults to 1.0.

Implementation

final double glowRadius;