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. BorderSide? borderSide,
  8. Color? color,
  9. bool enableOverlayTab = false,
  10. bool enableTargetTab = true,
  11. AlignmentGeometry? alignSkip,
  12. double? paddingFocus,
  13. Duration? focusAnimationDuration,
  14. Duration? unFocusAnimationDuration,
  15. Tween<double>? pulseVariation,
})

Implementation

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