routes property
The list of route entries to match against
Implementation
@override
List<AutoRoute> get routes => [
AutoRoute(
page: StudioShellScreenRoute.page,
path: '/',
children: [
AutoRoute(page: MediaScreenRoute.page, path: 'media'),
CustomRoute(
page: DocumentTypeScreenRoute.page,
path: ':documentTypeSlug',
),
CustomRoute(
page: DocumentScreenRoute.page,
path: ':documentTypeSlug/:documentId',
),
CustomRoute(
page: VersionScreenRoute.page,
path: ':documentTypeSlug/:documentId/:versionId',
),
],
),
];