Font class
字体宽高数据
Constructors
- Font({required int size, required int lineHeight, FontWeight fontWeight = FontWeight.w400})
-
Font.fromJson(Map<
String, dynamic> map) -
factory
Properties
- fontWeight ↔ FontWeight
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ double
-
getter/setter pair
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