animation property
double
get
animation
Implementation
double get animation {
switch (animationState) {
case KeyboardAnimationState.none:
return 1.0;
case KeyboardAnimationState.opening:
return visibility;
case KeyboardAnimationState.closing:
return 1.0 - visibility;
}
}