fontWeight property
FontWeight
get
fontWeight
Searches the path to the root for the first occurance of a node with a font-weight information. Returns FontWeight.normal if no information is present
Implementation
FontWeight get fontWeight {
NodeV2? k = this;
while (k != null) {
FontWeight? localWeight = k._fontWeight;
if (localWeight != null) return localWeight;
k = k.parent;
}
return FontWeight.normal;
}