ZeplinFlutter class
Zeplin - Connection
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
Properties
Methods
-
boxSpace(
String name) → SizedBox -
getColor(
String name) → Color -
getTextStyle(
String name) → TextStyle -
horizontalSpace(
String name) → SizedBox -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verticalSpace(
String name) → SizedBox
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ ZeplinFlutter
-
getter/setter pair
Static Methods
-
fetchFromZeplin(
{required dynamic token, required dynamic projectId, dynamic includeLinkedStyleguides = true}) → Future< ZeplinFlutter>
Constants
- zeplinBaseUrl → const String