shown property
If the magnifier is shown or not.
shown is:
- false when nothing is in the overlay.
- false when animationController is AnimationStatus.dismissed.
- false when animationController is animating out. and true in all other circumstances.
Implementation
bool get shown {
if (overlayEntry == null) {
return false;
}
if (animationController != null) {
return animationController!.status == AnimationStatus.completed ||
animationController!.status == AnimationStatus.forward;
}
return true;
}