computeBarItems method
iOS's bar items hold still while a push moves the pages under them.
Implementation
@protected
BarItemsMotion computeBarItems() {
final secondary = secondaryAnimation!;
if (_coveredByZoom.value && !secondary.isDismissed) {
return (
lifted: true,
moving: true,
shown: !hasCome(secondary),
tracking: _next?.barItemsUncovering,
);
}
final animation = this.animation!;
return (
lifted: false,
moving: animation.isAnimating || secondary.isAnimating,
shown: hasCome(animation) && !hasCome(secondary),
tracking: null,
);
}