Closed kvenn closed 6 days ago
Version: v0.3.0-beta
v0.3.0-beta
If there are two values, one with the name 4 and the other with the name -4, the generator will generate them both as
4
-4
EdgeInsets get globalSpacing4 => const EdgeInsets.all(4); EdgeInsets get globalSpacing4 => const EdgeInsets.all(-4);
Replace the - with neg or negative
-
neg
negative
EdgeInsets get globalSpacing4 => const EdgeInsets.all(4); EdgeInsets get globalSpacingNegative4 => const EdgeInsets.all(-4);
{ "global": { "spacing": { "-4": { "value": "-4", "type": "spacing" } "4": { "value": "4", "type": "spacing" } } }
https://github.com/mark-nicepants/figma2flutter/pull/38 has been merged
:information_source: Info
Version:
v0.3.0-beta
:speech_balloon: Description
If there are two values, one with the name
4
and the other with the name-4
, the generator will generate them both asSuggestion
Replace the
-
withneg
ornegative
:scroll: tokens file you tried to import