opaque property

  1. @override
bool opaque
override

Whether the route obscures previous routes when the transition is complete.

When an opaque route's entrance transition is complete, the routes behind the opaque route will not be built to save resources.

Implementation

@override
bool get opaque => true;