flutter_zeplin 0.0.4 copy "flutter_zeplin: ^0.0.4" to clipboard
flutter_zeplin: ^0.0.4 copied to clipboard

Control your flutter app colors,textstyles and spaces on zeplin styleguide

Zeplin_Flutter #

Control your flutter application on zeplin.

🎯 Usage #

var zeplinData = ZeplinFlutter.fetchFromZeplin(token: @token,projectId: @projectId);
zeplinData.getColor(@COLORNAME); //Color
zeplinData.getTextStyle(@STYLENAME); //TextStyle
zeplinData.boxSpace(@SPACERNAME); //SizedBox
zeplinData.horizontalSpace(@SPACERNAME); //SizedBox
zeplinData.verticalSpace(@SPACERNAME); //SizedBox

--- OR ---

await ZeplinFlutter.fetchFromZeplin(token: @token,projectId: @projectId);

ZeplinFlutter.instance.getColor(@COLORNAME); //Color
ZeplinFlutter.instance.getTextStyle(@STYLENAME); //TextStyle
ZeplinFlutter.instance.boxSpace(@SPACERNAME); //SizedBox
ZeplinFlutter.instance.horizontalSpace(@SPACERNAME); //SizedBox
ZeplinFlutter.instance.verticalSpace(@SPACERNAME); //SizedBox

💻 Example #

url

🚀 How To Get Project ID #

open your project on zeplin app or web site then go to styleguide tab

Step 1 Step2
url url

🚀 How To Get Token #

go to zeplin developer page

Step 1 Step 3 Step 3
url url url

🙋‍♀️🙋‍♂️ Contributing #

All contributions are welcome! Just make sure that it's not an already existing issue or pull request.

👥 Contributors #

3
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Control your flutter app colors,textstyles and spaces on zeplin styleguide

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on flutter_zeplin