figma2flutter 0.3.0-alpha figma2flutter: ^0.3.0-alpha copied to clipboard
This package converts Tokens Studio for Figma json exports into Flutter code.
0.3.0-alpha #
- Add override annotation on MaterialColor generation
- Apply flutter_lint 3.0.0
- Expand on Exception toString()
- Throw exception instead of null if wrong type in BorderValue
- Implement equality on DimensionValue
- Fix pascal case for class name in transformer
0.2.0-alpha #
- Upgrade dependencies
- Fix bug in invalid const constructor usage on BorderRadius.zero
- Fxied bug with not parsing the input and output arguments
0.1.1-alpha #
- Add helpers to convert CompositionToken to InputDecoration.
- Make Composition widget an AnimatedContainer so theme changes are animated. (Can be disabled by passing in a Duration.zero)
0.1.0-alpha #
- [BREAKING] Added theme support (see example for details).
0.0.8-alpha #
- Remove dependency on TinyColor2 and Flutter framework.
- Fix bug in resolving reverences when a reference is a reference to a reference.
0.0.7-alpha #
- Add support for color modifiers. (in srgb space)
- lighten
- darken
- mix
- alpha
- Add support for math operations. This includes:
- add
- subtract
- multiply
- divide
0.0.6-alpha #
- Add support for linear gradients.
0.0.5-alpha #
- Added support for shadows (separate and within Composition tokens).
- Added support for typography in Composition tokens.
- Fixed bug in Color transformer when encountering a hex color with alpha.
- Added support for Color Modifier alpha.
0.0.4-alpha #
- Working on Composition tokens and added a Composition widget to use them in your app.
- Added a json + dart example to the example folder that shows how to use the Composition widget.
0.0.3-alpha #
- Add support for MaterialColors when multiple colors are defined with int keys (100, 200, 300, 400).
0.0.2-alpha #
- Added support for border radius.
- Added more documentation.
- Added tests for extension methods.
- Added output when running the command.
0.0.1-alpha #
- Basic json parsing for tokens.
- Add ability to detect sets and token overrides.
- Add ability to detect references to other tokens.
- Add group type that will be used in the group when the children don't have a type defined.
- Added Color transformer to generate Flutter colors.
- Added Spacing transformer to generate Flutter EdgeInsets.
- Added Typography transformer to generate Flutter TextStyle.