Flutter Color Variables
Generate Flutter/Dart code for your color variables
Plugin Preview
About this plugin
Simple plugin that generates Flutter/Dart Color constants from your Figma color variables.Example Export:import 'dart:ui';enum ColorsMode { lightMode, darkMode}class Colors { // Single-value colors static Color primaryColor = const Color(0xFF000000); // Mode-dependent colors static Color backgroundColor(ColorsMode mode) { switch (mode) { case ColorsMode.lightMode: return const Color(0xFFFFFFFF); case ColorsMode.darkMode: return const Color(0xFF000000); } }}
Plugin Details
| Version | 1 |
|---|---|
| Created | January 23, 2025 |
| Last Updated | January 24, 2025 |
| Category | Software development |
| Creator | Tina Roh |
| Stats | 29 installs, 4 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:{"export": "export.html"}
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Software development category.
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
Code Snippet Editor
Translate component variants, properties, and more into dynamic code snippets for your design system
GitHub
Connect Design to Code