getBoundFromState method
Implementation
double? getBoundFromState(AnimationState state) {
switch (state) {
case AnimationState.collapsed:
return lowerBound;
case AnimationState.half_expanded:
return halfBound;
case AnimationState.expanded:
return upperBound;
case AnimationState.animating:
return null;
}
}