ThemeToken class abstract

An abstract class representing a token for a theme in the application.

ThemeToken is used to encapsulate theme-related data for widgets, allowing for consistent styling and theme management across the application. It holds a set of excluded fields, theme data in the form of a map, and a type identifier.

Subclasses of ThemeToken provide specific implementations for different types of themes.

Fields:

  • excludedFields: A set of field names that are excluded from the theme data.
  • _data: A map containing the theme data associated with the widget.
  • type: A string identifier indicating the type of the theme.
Implementers

Constructors

ThemeToken.new(Set<String> excludedFields, Map<String, dynamic> _data, String type)
const

Properties

excludedFields Set<String>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
widgetTheme Map<String, dynamic>
no setter

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