FocusTarget constructor
FocusTarget({
- dynamic identify,
- GlobalKey<
State< ? targetKey,StatefulWidget> > - RRect? targetRect,
- SingleDescContentBuilder? descBuilder,
- TouchRule touchRule = TouchRule.allIntercept,
- BoxShape shape = BoxShape.rectangle,
- BorderRadius? borderRadius,
- BorderSide? borderSide,
- EdgeInsets? targetPadding,
- Duration? animationDuration,
- FocusAnimationType? animationType,
- Curve? animationCurve,
- Tween<
double> ? pulseVariation, - 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);