Spotlight constructor

const Spotlight({
  1. Key? key,
  2. required Rect targetRect,
  3. double padding = 8.0,
  4. Color overlayColor = const Color.fromRGBO(0, 0, 0, 0.7),
})

Implementation

const Spotlight({
  super.key,
  required this.targetRect,
  this.padding = 8.0,
  this.overlayColor = const Color.fromRGBO(0, 0, 0, 0.7),
});