Route constructor

Route(
  1. Component builder()?, {
  2. Component loadingBuilder()?,
  3. bool transparent = false,
  4. bool maintainState = true,
})

Implementation

Route(
  Component Function()? builder, {
  Component Function()? loadingBuilder,
  this.transparent = false,
  this.maintainState = true,
})  : _builder = builder,
      _loadingBuilder = loadingBuilder,
      _renderEffect = Decorator();