setEffectiveWeight method
dynamic
setEffectiveWeight(
- dynamic weight
Implementation
setEffectiveWeight(weight) {
this.weight = weight;
// note: same logic as when updated at runtime
_effectiveWeight = enabled ? weight : 0;
return stopFading();
}