StackedApp class

The annotation that defines a stacked application

Constructors

StackedApp({required List<StackedRoute> routes, List<StackedDialog>? dialogs, List<StackedBottomsheet>? bottomsheets, StackedLogger? logger, List<DependencyRegistration>? dependencies, String locatorName = 'locator', String locatorSetupName = 'setupLocator'})
const

Properties

bottomsheets List<StackedBottomsheet>?
Defines a list of bottomsheets to be registered using the setup_bottomsheet_ui function
final
dependencies List<DependencyRegistration>?
Defines a list of services to be registered on the locator for use in the app
final
dialogs List<StackedDialog>?
Defines a list of dialogs to be registered using the setup_dialog_ui function
final
hashCode int
The hash code for this object.
no setterinherited
locatorName String
Supply to the StackedApp annotation a locatorName. The default name will be "locator".
final
locatorSetupName String
Supply the StackedApp annotation with a locatorSetupName. The default name will be setupLocator
final
logger StackedLogger?
Defines the logger to be generated in the app
final
routes List<StackedRoute>
Defines all the routes that has to be generated for the onGenerateRoute function
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited