ViewClickEffect constructor
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,
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,
);