StacThemeData class

A utility class providing access to Material text theme styles.

This class provides convenient access to Material Design text theme styles for use in Stac widgets. It offers a fluent API to access all Material text theme variants.

{@tool snippet} Dart Example:

final style = StacThemeData.textTheme.displayLarge;
final bodyStyle = StacThemeData.textTheme.bodyMedium;
final titleStyle = StacThemeData.textTheme.titleLarge;

{@end-tool}

{@tool snippet} JSON Example:

{
  "style": {
    "type": "theme",
    "textTheme": "displayLarge"
  }
}

{@end-tool}

Properties

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

Constants

textTheme → const StacThemeTextStyles
Access to all Material text theme styles.