rogueRoutes property

List<RouteFile> rogueRoutes
final

List of all rogue routes.

A route is considered rogue when it is defined outside of an existing subdirectory with the same name.

For example:

├── routes
│   ├── foo
│   │   └── example.dart
│   ├── foo.dart

In the above scenario, foo.dart is rogue because it is defined outside of the existing foo directory.

Instead, foo.dart should be renamed to index.dart and placed within the foo directory like:

├── routes
│   ├── foo
│   │   ├── example.dart
│   │   └── index.dart

Implementation

final List<RouteFile> rogueRoutes;