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.
-
navBarHeroFlightShuttleBuilder(BuildContext flightContext, Animation<double> animation, HeroFlightDirection flightDirection, BuildContext fromHeroContext, BuildContext toHeroContext)
→ Widget
-
Navigation bars' hero flight shuttle builder.
-
navBarHeroLaunchPadBuilder(BuildContext context, Size heroSize, Widget child)
→ Widget
-
-
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.