getDefFontWeight method
get default font weight.
Implementation
FontWeight? getDefFontWeight() {
if (style.styleMap.containsKey(type)) {
if (style.styleMap[type]!.fontWeight == null) {
return null;
} else {
return style.styleMap[type]!.fontWeight!
.toObj(lineStart, lineEnd, info);
}
}
return null;
}