allowSnapshotting property

bool allowSnapshotting
final

Whether page transitions will prefer to animate a snapshot of the entering and exiting routes.

If not specified, defaults to true.

When this value is true, page transitions will snapshot the entering and exiting routes. These snapshots are then animated in place of the underlying widgets to improve performance of the transition.

Generally this means that animations that occur on the entering/exiting route while the route animation plays may appear frozen - unless they are a hero animation or something that is drawn in a separate overlay.

Implementation

final bool allowSnapshotting;