zenrouter_file_annotation 0.3.0 copy "zenrouter_file_annotation: ^0.3.0" to clipboard
zenrouter_file_annotation: ^0.3.0 copied to clipboard

Shared annotation and structure for zenrouter file-based routing.

ZenRouter File Annotation #

Shared annotations and structure for zenrouter file-based routing.

This package contains the annotations (@ZenRoute, @ZenLayout, @ZenCoordinator) and helper classes used by the zenrouter_file_generator to generate type-safe routes.

Installation #

This package is usually added automatically when using zenrouter_file_generator.

dependencies:
  zenrouter_file_annotation: ^0.2.1

dev_dependencies:
  zenrouter_file_generator: ^0.2.1

Usage #

Use these annotations to define your routes and layouts:

import 'package:zenrouter_file_annotation/zenrouter_file_annotation.dart';

@ZenRoute()
class MyRoute extends _$MyRoute { ... }

@ZenLayout(type: LayoutType.stack)
class MyLayout extends _$MyLayout { ... }

See zenrouter_file_generator for complete documentation and usage examples.

0
likes
0
points
572
downloads

Publisher

verified publisherzennn.dev

Weekly Downloads

Shared annotation and structure for zenrouter file-based routing.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on zenrouter_file_annotation