TokenGenerator class

Unified token generator for FlyWind design tokens Downloads Tailwind CSS theme and extracts specific properties

Constructors

TokenGenerator(String cssContent)

Properties

cssContent → 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

Methods

extractTokens(String propertyPrefix, String conversionType) → Map<String, String>
Extract tokens by property prefix
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

Static Methods

downloadThemeCss([String? customUrl]) → Future<String>
Download the latest Tailwind CSS theme file from GitHub
generateAll([String? customUrl]) → Future<void>
Generate all token classes