OpacityEffect.by constructor
OpacityEffect.by(
- double offset,
- EffectController controller, {
- OpacityProvider? target,
- void onComplete()?,
- ComponentKey? key,
This constructor will set the opacity in relation to it's current opacity over time.
Implementation
OpacityEffect.by(
double offset,
super.controller, {
OpacityProvider? target,
super.onComplete,
super.key,
}) : _opacityOffset = offset {
this.target = target;
}