clipBehavior property

Clip clipBehavior
final

The clip behavior of the Navigator built for this route.

The nested Navigator clips its contents by default, so that the route transitions of its sub-routes are not painted outside the bounds the shell lays out for them. Set this to Clip.none when a sub-route needs to paint outside those bounds, for example to render a box shadow or an overflowing menu. Note that this also allows route transition animations to paint outside the bounds of the shell.

Defaults to Clip.hardEdge.

Implementation

final Clip clipBehavior;