spreadMultiplier property
When in a state of isToggled, [depthMultiplier] and [spreadMultiplier] are applied to [depth] and [spread] automatically. To remove this effect, pass a value of
1.0` for these multipliers.
Default depthMultiplier is 1.3
, increasing contrast when toggled on,
and default spreadMultiplier is 0.4
, making the box shadows smaller
and tighter.
Implementation
final double depthMultiplier, spreadMultiplier;