utils/hero_things library

Functions

isTransitionable(BuildContext context) bool
linearTranslateWithLargestRectSizeTween(Rect? begin, Rect? end) RectTween
Navigation bars' hero rect tween that will move between the static bars but keep a constant size that's the bigger of both navigation bars.
Navigation bars' hero flight shuttle builder.
wrapWithBackground({Border? border, required Color backgroundColor, Brightness? brightness, required Widget child, bool updateSystemUiOverlay = true}) Widget
Returns child wrapped with background and a bottom border if background color is opaque. Otherwise, also blur with BackdropFilter.