ZeplinTextStyle class
Constructors
- ZeplinTextStyle({required String id, required int created, required String name, required String postscriptName, required String fontFamily, required double fontSize, required int fontWeight, required String fontStyle, required int fontStretch, required int lineHeight, required String textAlign, required int r, required int g, required int b, required double a})
-
const
-
ZeplinTextStyle.fromMap(Map<
String, dynamic> map) -
factory
Properties
- a → double
-
final
- b → int
-
final
- created → int
-
final
- fontFamily → String
-
final
- fontSize → double
-
final
- fontStretch → int
-
final
- fontStyle → String
-
final
- fontWeight → int
-
final
- g → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- lineHeight → int
-
final
- name → String
-
final
- postscriptName → String
-
final
- r → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textAlign → String
-
final
Methods
-
fromIntWeight(
int weight) → FontWeight -
fromStringStyle(
String style) → FontStyle -
getTextStyle(
) → TextStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited