DVRoute constructor

const DVRoute({
  1. required String path,
  2. required DVRouteBuilder builder,
  3. String? name,
  4. String? title,
  5. DVRouteRedirect? redirect,
  6. PageTransitionSpec? transition,
  7. bool preview = true,
  8. bool cache = true,
  9. List<DVRouteNode> routes = const <DVRouteNode>[],
})

Implementation

const DVRoute({
  required this.path,
  required this.builder,
  this.name,
  this.title,
  this.redirect,
  this.transition,
  this.preview = true,
  this.cache = true,
  this.routes = const <DVRouteNode>[],
});