fontWeight property
FontWeight
fontWeight
Get fontweight for each block based on their inline styles
Implementation
FontWeight get fontWeight =>
this.inlineStyles.contains("BOLD") ? FontWeight.bold : FontWeight.normal;