AnimatedFocusLight constructor

const AnimatedFocusLight({
  1. Key? key,
  2. required List<TargetFocus> targets,
  3. dynamic focus(
    1. TargetFocus
    )?,
  4. dynamic finish()?,
  5. Function? removeFocus,
  6. dynamic clickTarget(
    1. TargetFocus
    )?,
  7. dynamic clickOverlay(
    1. TargetFocus
    )?,
  8. double paddingFocus = 10,
  9. Color colorShadow = Colors.black,
  10. double opacityShadow = 0.8,
  11. Duration? focusAnimationDuration,
  12. Duration? pulseAnimationDuration,
  13. Tween<double>? pulseVariation,
})

Implementation

const AnimatedFocusLight({
  Key? key,
  required this.targets,
  this.focus,
  this.finish,
  this.removeFocus,
  this.clickTarget,
  this.clickOverlay,
  this.paddingFocus = 10,
  this.colorShadow = Colors.black,
  this.opacityShadow = 0.8,
  this.focusAnimationDuration,
  this.pulseAnimationDuration,
  this.pulseVariation,
})  : assert(targets.length > 0),
      super(key: key);