FontExpression class

Inheritance

Constructors

FontExpression(SourceSpan? span, {Object? size, List<String>? family, int? weight, String? style, String? variant, LineHeight? lineHeight})
FontExpression.merge(FontExpression x, FontExpression y)
Merge the two FontExpression and return the result.
factory

Properties

font Font
final
hashCode int
The hash code for this object.
no setterinherited
isBorder bool
no setterinherited
isBoxExpression bool
no setterinherited
isFont bool
no setterinherited
isHeight bool
no setterinherited
isMargin bool
no setterinherited
isPadding bool
no setterinherited
isUnknown bool
no setterinherited
isWidth bool
no setterinherited
priority int?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → SourceSpan
The source code this TreeNode represents.
no setterinherited

Methods

clone() FontExpression
override
isSame(DartStyleExpression other) bool
inherited
merged(DartStyleExpression newDartExpr) FontExpression?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDebugString() String
A multiline string showing the node and its children.
inherited
toString() String
A string representation of this object.
inherited
visit(VisitorBase visitor) → dynamic
Classic double-dispatch visitor for implementing passes.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited