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

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

Implementation

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