FontExpression class Null safety

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. [...]
read-only, inherited
isBorder bool
read-only, inherited
isBoxExpression bool
read-only, inherited
isFont bool
read-only, inherited
isHeight bool
read-only, inherited
isMargin bool
read-only, inherited
isPadding bool
read-only, inherited
isUnknown bool
read-only, inherited
isWidth bool
read-only, inherited
priority int?
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
span SourceSpan
The source code this TreeNode represents.
read-only, inherited

Methods

clone() FontExpression
override
isSame(DartStyleExpression other) bool
inherited
merged(DartStyleExpression newFontExpr) FontExpression?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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