Style class
- Annotations
-
- @JsonSerializable.new()
Constructors
- Style({String? fontFamily, String? fontPostScriptName, int? fontWeight, String? textAutoResize, double? fontSize, String? textAlignHorizontal, String? textAlignVertical, double? letterSpacing, double? lineHeightPx, double? lineHeightPercent, String? lineHeightUnit})
-
Style.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fontFamily → String?
-
final
- fontPostScriptName → String?
-
final
- fontSize → double?
-
final
- fontWeight → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- letterSpacing → double?
-
final
- lineHeightPercent → double?
-
final
- lineHeightPx → double?
-
final
- lineHeightUnit → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textAlignHorizontal → String?
-
final
- textAlignVertical → String?
-
final
- textAutoResize → String?
-
final
Methods
-
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