createOverlayEntries method
Creates the overlay entries for this route.
Subclasses must implement this to define what layers the route contributes to the overlay stack.
Implementation
@override
Iterable<OverlayEntry> createOverlayEntries() {
return [OverlayEntry(opaque: true, maintainState: true, builder: builder)];
}