OverlayRoute constructor

OverlayRoute(
  1. OverlayBuilder builder, {
  2. bool transparent = true,
})

An overlay route that uses the specified builder. This builder will be registered with the Game's map of overlay builders when this route is first activated.

Implementation

OverlayRoute(OverlayBuilder builder, {super.transparent = true})
    : _builder = builder,
      super(null);