StacScreen class
Annotation to mark methods that return StacWidget instances.
This annotation is used to identify screen-level widgets in the Stac framework. Methods that return StacWidget should be annotated with this to indicate they represent screen definitions.
Example usage:
@StacScreen(screenName: 'home')
StacWidget buildHomeScreen() {
return StacWidget(jsonData: {'type': 'scaffold', 'body': '...'});
}
Constructors
- StacScreen.new({required String screenName})
-
Creates a StacScreen annotation with the given screen name.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenName → String
-
The name identifier for this screen.
final
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