StackRouter constructor

const StackRouter({
  1. required List<StackRoute> builder(
    1. StackRouterState router
    ),
  2. String? initialRoute,
  3. List<String> initialHistory = const [],
  4. StackRouterController? controller,
  5. void onRouteChange(
    1. String route
    )?,
  6. bool notifySystemNavigator = true,
  7. dynamic key,
})

Implementation

const StackRouter({
  required this.builder,
  this.initialRoute,
  this.initialHistory = const [],
  this.controller,
  this.onRouteChange,
  this.notifySystemNavigator = true,
  key,
}) : super(key: key);