annotations library

This library contains all annotations that are needed by the fluorflow_generator. Refer to the specific annotations for further documentation.

To use the annotations, install fluorflow as a dependency and fluorflow_generator as a dev_dependency. When done, you want to have build_runner as a dev dependency too.

When running the build runner, the dependencies and configurations are used to generate dart code.

Note: when the build_runner / fluorflow_generator is not used, the annotations are not needed and have no effect.

Classes

AsyncSingleton<T>
Represents an asynchronously created singleton instance.
BottomSheetConfig
Configuration options for a bottom sheet.
CustomLocatorFunction
An annotation used to mark a function as a custom locator function.
DialogConfig
Configuration class for dialogs.
Factory
Annotation used to mark a function as a dependency factory.
IgnoreDependency
Annotation used to indicate that a dependency should be ignored by the dependency injection system.
LazySingleton
Annotation used to mark a class as a lazy singleton.
Routable
An annotation class used to mark a class / view as routable.
Singleton
A class decorator that marks a class as a singleton.

Enums

RouteBuilder
Enum representing different types of route builders for navigation transitions.