FocusTarget constructor

FocusTarget({
  1. dynamic identify,
  2. GlobalKey<State<StatefulWidget>>? targetKey,
  3. RRect? targetRect,
  4. SingleDescContentBuilder? descBuilder,
  5. TouchRule touchRule = TouchRule.allIntercept,
  6. BoxShape shape = BoxShape.rectangle,
  7. BorderRadius? borderRadius,
  8. BorderSide? borderSide,
  9. EdgeInsets? targetPadding,
  10. Duration? animationDuration,
  11. FocusAnimationType? animationType,
  12. Curve? animationCurve,
  13. Tween<double>? pulseVariation,
  14. TargetPlaceBuilder? targetPlaceBuilder = _defaultTargetPlaceBuilder,
})

Implementation

FocusTarget({
  this.identify,
  this.targetKey,
  this.targetRect,
  this.descBuilder,
  this.touchRule = TouchRule.allIntercept,
  this.shape = BoxShape.rectangle,
  this.borderRadius,
  this.borderSide,
  this.targetPadding,
  this.animationDuration,
  this.animationType,
  this.animationCurve,
  this.pulseVariation,
  this.targetPlaceBuilder = _defaultTargetPlaceBuilder,
}) : assert(targetKey != null || targetRect != null);