stacked_annotations library
Classes
-
AdaptiveRoute<
T> - AdaptiveRouter
-
CupertinoRoute<
T> - CupertinoRouter
-
CustomRoute<
T> - CustomRouter
- Defaults created routes to PageRouteBuilder unless overridden by AutoRoute annotation
- DependencyRegistration
-
DependencyRegistrationis an abstract class that provides a common structure for registering dependencies with theget_itlocator. Different subclasses provide different registration methods, such as Singleton, LazySingleton, Factory, etc. - Environment
-
Environmentis a class that provides preset constants to identify different types of environments where your app might be running. - EnvironmentFilter
- filter for whether to register for the given set of environments clients can extend this class to maker their own environmentFilters
- Factory
-
Factoryis a class that extends DependencyRegistration. It provides a way to register an object as a Factory to theget_itlocator. - FactoryParam
- Marks a constructor param as factoryParam so it can be passed to the resolver function
- FactoryWithParam
-
FactoryWithParamis a class that extends DependencyRegistration. It provides a way to register an object as a Factory with parameter to theget_itlocator. - FormDateField
- Describes a date form field.
- FormDropdownField
- FormField
- Describes a form field to be generated
- FormTextField
- Describes an entry field on the form that takes text
- FormView
- The annotation to be used for a view that contains a Form
- InitializableDependency
-
InitializableDependencyis an abstract class intended to be implemented by any class which requires asynchronous initialization before being used. - InitializableSingleton
-
InitializableSingletonis a class that extends DependencyRegistration. It provides a way to register an object as a Singleton to theget_itlocator. This means the object will be instantiated during the first fetch and then will stay alive in the memory and the same instance will be returned in the subsequent fetches. -
LazySingleton<
T> -
LazySingletonis a class that extends DependencyRegistration. It provides a way to register an object as a Lazy Singleton to theget_itlocator. -
MaterialRoute<
T> - MaterialRouter
- NoEnvOrContains
-
This filter validates dependencies with no environment
keys or contain the provided
environment - NoEnvOrContainsAll
- This filter validates dependencies with no environment keys, or the ones containing all the provided environments
- NoEnvOrContainsAny
- This filter validates dependencies with no environment keys, or the ones containing one of the provided environments
- PathParam
- Presolve
- QueryParam
- RedirectRoute
- SimpleEnvironmentFilter
- A simple filter that can be used directly for simple use cases without having to extend the base EnvironmentFilter
- Singleton
-
Singletonis a class that extends DependencyRegistration. It provides a way to register an object as a Singleton to theget_itlocator. - StackedApp
- The annotation that defines a stacked application
- StackedBottomsheet
- Described the Bottomsheet functionality to generate in the app
- StackedDialog
- Described the Dialog functionality to generate in the app
- StackedLocator
- A thin wrapper around get_it to reduce the number of direct dependencies the user has to depend on.
- StackedLogger
- Defined the config for the logger in the app
-
StackedRoute<
T> -
Tis the results type returned from this page route MaterialPageRoute - StackedRouterAnnotation
- StaticDropdownItem
Constants
- factoryParam → const FactoryParam
- const instance of FactoryParam with default arguments
- kEnvironmentsName → const String
- pathParam → const PathParam
- queryParam → const QueryParam
Functions
-
ambiguate<
T> (T? value) → T? - This allows a value of type T or T? to be treated as a value of type T?.
Typedefs
-
EnvironmentFilterFunc
= bool Function(Set<
String> ) - a simple filter function to be used inside SimpleEnvironmentFilter