AnimatedFocusLight constructor
const
AnimatedFocusLight({
- Key? key,
- required List<
TargetFocus> targets, - dynamic focus()?,
- dynamic finish()?,
- Function? removeFocus,
- dynamic clickTarget()?,
- dynamic clickOverlay()?,
- double paddingFocus = 10,
- Color colorShadow = Colors.black,
- double opacityShadow = 0.8,
- Duration? focusAnimationDuration,
- Duration? pulseAnimationDuration,
- 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);