TargetFocus constructor

TargetFocus({
  1. dynamic identify,
  2. GlobalKey<State<StatefulWidget>>? keyTarget,
  3. TargetPosition? targetPosition,
  4. List<TargetContent>? contents,
  5. ShapeLightFocus? shape,
  6. double? radius,
  7. Color? color,
  8. bool enableOverlayTab = false,
  9. bool enableTargetTab = true,
  10. AlignmentGeometry? alignSkip,
  11. double? paddingFocus,
  12. Duration? focusAnimationDuration,
  13. Tween<double>? pulseVariation,
})

Implementation

TargetFocus({
  this.identify,
  this.keyTarget,
  this.targetPosition,
  this.contents,
  this.shape,
  this.radius,
  this.color,
  this.enableOverlayTab = false,
  this.enableTargetTab = true,
  this.alignSkip,
  this.paddingFocus,
  this.focusAnimationDuration,
  this.pulseVariation,
}) : assert(keyTarget != null || targetPosition != null);