StacThemeRef class
Annotation to mark methods that return theme definitions.
This annotation is used to identify Stac theme builders so the framework can register them and apply the correct theme at runtime.
Example usage:
@StacThemeConfig(themeName: 'darkTheme')
ThemeData buildDarkTheme() {
return ThemeData.dark();
}
Constructors
- StacThemeRef({required String name})
-
Creates a StacThemeRef with the given theme name.
const
Properties
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