barrierBuilder property
final
The barrierBuilder argument is used to define how the route's modal barrier is built. If not null, this builder is used to wrap or replace the default ModalBarrier.
Implementation
final RouteBarrierBuilder? barrierBuilder;