PlexRoute constructor

PlexRoute({
  1. required String route,
  2. String? path,
  3. required String title,
  4. required Widget screen(
    1. BuildContext context, {
    2. dynamic data,
    }),
  5. bool external = false,
  6. String category = "Menu",
  7. String? rule,
  8. String? shortTitle,
  9. String? tag,
  10. String? tagDescription,
  11. Color? tagBgColor,
  12. Color? tagTextColor,
  13. List<PlexRouteGuard> guards = const [],
})

Default constructor

Implementation

PlexRoute({
  required this.route,
  this.path,
  required this.title,
  required this.screen,
  this.external = false,
  this.logo,
  this.selectedLogo,
  this.category = "Menu",
  this.rule,
  this.shortTitle,
  this.tag,
  this.tagDescription,
  this.tagBgColor,
  this.tagTextColor,
  this.guards = const [],
});