stacked_annotations library

Classes

AdaptiveRoute<T>
AdaptiveRouter
CupertinoRoute<T>
CupertinoRouter
CustomRoute<T>
CustomRouter
Defaults created routes to PageRouteBuilder unless overridden by AutoRoute annotation
DependencyRegistration
Environment
The class to describe a service registration on the get_it locator
EnvironmentFilter
filter for whether to register for the given set of environments clients can extend this class to maker their own environmentFilters
Factory
Registers the type passed in as a Factory in the get_it locator
FactoryParam
Marks a constructor param as factoryParam so it can be passed to the resolver function
FactoryWithParam
Registers the type passed in as a Factory in the get_it locator
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
LazySingleton<T>
Registers the type passed in as a LazySingleton instance in the get_it locator
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
Registers the type passed in to be presolved using the function passed in
QueryParam
SimpleEnvironmentFilter
A simple filter that can be used directly for simple use cases without having to extend the base EnvironmentFilter
Singleton
Registers the type passed in as a singleton instance in the get_it locator
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>
T is 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