getOpacity method
Implementation
double getOpacity(double start, double end) {
print(animationLogo.value);
if (animationLogo.value >= start && animationLogo.value <= end) {
return animationLogo.value- start;
} else if (animationLogo.value < start) {
return 0.0;
} else {
return 1.0;
}
}