FigmaToCode
FigmaToCode copied to clipboard
[Flutter] Print name of Typography and color
In native figma code convertor, they show name of typography and color. For example
color: var(--black, #000000);
/* Material/label/large */
font-size: 18px;
font-weight: 500;
line-height: 24px;
Therefore, it would be good if the name comes out as an comments in the flutter code, like
Text(
'Example',
// Material/label/large
style: TextStyle(
color: Color(0xFF000000), // black
fontSize: 18,
fontWeight: FontWeight.w500,
height: 24,
),
)