RouterOutlet<TDelegate extends RouterDelegate<T>, T extends Object>.builder constructor

RouterOutlet<TDelegate extends RouterDelegate<T>, T extends Object>.builder({
  1. Key? key,
  2. TDelegate? delegate,
  3. required Widget builder(
    1. BuildContext context,
    2. TDelegate delegate,
    3. T? currentRoute
    ),
})

Implementation

RouterOutlet.builder({
  Key? key,
  TDelegate? delegate,
  required this.builder,
})  : routerDelegate = delegate ?? Get.delegate<TDelegate, T>()!,
      super(key: key);