getFontWeight function
获取字重
Implementation
FontWeight getFontWeight(bool? strong) {
if (strong == null) return FontWeight.normal;
return strong ? FontWeight.bold : FontWeight.normal;
}
获取字重
FontWeight getFontWeight(bool? strong) {
if (strong == null) return FontWeight.normal;
return strong ? FontWeight.bold : FontWeight.normal;
}