ViewClickEffect constructor

const ViewClickEffect({
  1. required OnClickEffectBuilder builder,
  2. AnimationBehavior behavior = AnimationBehavior.normal,
  3. Curve curve = Curves.linear,
  4. Curve? reverseCurve,
  5. Duration duration = const Duration(milliseconds: 200),
  6. Duration? reverseDuration,
  7. double value = 1.0,
  8. double upperBound = 1.0,
  9. double lowerBound = 0.5,
})

Implementation

const ViewClickEffect({
  required OnClickEffectBuilder builder,
  AnimationBehavior behavior = AnimationBehavior.normal,
  Curve curve = Curves.linear,
  Curve? reverseCurve,
  Duration duration = const Duration(milliseconds: 200),
  Duration? reverseDuration,
  double value = 1.0,
  double upperBound = 1.0,
  double lowerBound = 0.5,
}) : this._(
        effect: ViewClickEffects.custom,
        behavior: behavior,
        curve: curve,
        reverseCurve: reverseCurve,
        duration: duration,
        reverseDuration: reverseDuration,
        value: value,
        upperBound: upperBound,
        lowerBound: lowerBound,
        builder: builder,
      );