Extension for VSCode, which converts text style properties, colors, border radius, etc. from Figma to Flutter format(Color
, TextStyle
, BorderRadius
)
You can convert properties in two ways:
- Copy parameter from
Figma
, and paste it in yourFlutter
project using the shortcutCMD+SHIFT+F
(for Mac) orCTRL+SHIFT+F
(other platforms). - Select
Figma
-formatted parameters in yourFlutter
project, and pressCMD+SHIFT+G
(for Mac) orCTRL+SHIFT+G
(other platforms).
Shortcuts can be changed in the settings, of course. Also, you can use command palette to run the commands above.
Install from the Visual Studio Code Marketplace or by searching within VS Code.
TextStyle
convert
Color
convert
BorderRadius
convert
f2f-properties-conveter.color.wrapColorInClass
f2f-properties-conveter.textStyle.fontFamilyQuotes
f2f-properties-conveter.textStyle.pasteFontStyleNormalWhenItsUndefined
f2f-properties-conveter.textStyle.pasteZeroLetterSpacingWhenItsUndefined
f2f-properties-conveter.textStyle.wrapTextStyleInClass
Below you can see the definitions: