TailwindConfig class

Annotations
  • @freezed

Constructors

TailwindConfig({@Default.new(16) double rem, @ColorBaseConverter() required Map<String, ColorBase> colors, required Map<String, String> fontFamily, @FontSizeConverter() required Map<String, TailwindSize> fontSize, SizeMap? spacing, SizeMap? gap})
const
factory
TailwindConfig.fromJson(Map<String, dynamic> json)
factory

Properties

colors Map<String, ColorBase>
no setterinherited
copyWith → $TailwindConfigCopyWith<TailwindConfig>
no setterinherited
fontFamily Map<String, String>
no setterinherited
fontSize Map<String, TailwindSize>
no setterinherited
gap SizeMap?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
rem double
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing SizeMap?
no setterinherited

Methods

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

Operators

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