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
    ),
})

Implementation

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