UpRoute constructor

UpRoute({
  1. String? name,
  2. required String path,
  3. required Widget pageBuilder(
    1. BuildContext,
    2. UpRouterState
    ),
  4. Function? shouldRedirect,
  5. String? redirectRoute,
  6. List<UpRoute>? routes,
  7. bool externalRoute = false,
})

Implementation

UpRoute({
  this.name,
  required this.path,
  required this.pageBuilder,
  this.shouldRedirect,
  this.redirectRoute,
  this.routes,
  this.externalRoute = false,
});