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

hashCode int
The hash code for this object.
no setterinherited
name String
The identifier for this theme.
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