IrDesignSystem class

Constructors

IrDesignSystem({required List<String> modes, required String activeMode, List<IrColorToken> colors = const [], List<IrTextStyleToken> textStyles = const [], List<IrShadowToken> shadows = const [], List<IrComponent> components = const []})
IrDesignSystem.fromJson(Map<String, Object?> json)
factory

Properties

activeMode → String
The mode the screens were exported in.
final
colors → List<IrColorToken>
final
components → List<IrComponent>
final
hashCode → int
The hash code for this object.
no setterinherited
modes → List<String>
Theme modes colors are defined for, e.g. [Light, Dark].
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows → List<IrShadowToken>
final
textStyles → List<IrTextStyleToken>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited