An annotation which marking the top-level constant variable as a target of builder.
Usage:
@GoRouterAnnotation
const _whateverName = [
RouterPathBuilder(
'some_path_1',
routes: ...,
),
RoutePathPageBuilder(
'some_path_2',
routes: ...,
)
];
Corresponding to GoRoute in go_router in which using builder callback to create page elements.
In order to know which type of the target page, pageType is required.
Due to the limitation of code generation, only input top-level | constant | static arguments.