SpotlightStyle constructor

const SpotlightStyle({
  1. double blurSigma = 2,
  2. Color scrimColor = const Color.fromARGB(60, 0, 0, 0),
  3. Duration animationDuration = const Duration(milliseconds: 300),
})

Creates a spotlight style with the given visual properties.

Implementation

const SpotlightStyle({
  this.blurSigma = 2,
  this.scrimColor = const Color.fromARGB(60, 0, 0, 0),
  this.animationDuration = const Duration(milliseconds: 300),
});