factory/token_set_factory library

Functions

buildAttributeMap(Map<String, dynamic> global, BuilderConfig config, [int depth = 1]) String
Parses all tokens and parses all attributes to dart readable format.
buildTokenSet(Map<String, dynamic> tokens, {required BuilderConfig config}) String
Generates theming for all available token sets.
generateTokenSetEnum(List<String> tokenSets, {required BuilderConfig config}) String
Generates an enum with all available token sets.
parsePercentage(dynamic value) double
Tries to parse a value that looks like 120% to a double like this 1.2.