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

colors Map<String, Color>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing Map<String, SizedBox>
final
textStyles Map<String, TextStyle>
final

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