convertStringToWeight method
Implementation
FontWeight convertStringToWeight() {
switch (fontStyle) {
case 'bold':
return FontWeight.bold;
default:
return FontWeight.normal;
}
}
FontWeight convertStringToWeight() {
switch (fontStyle) {
case 'bold':
return FontWeight.bold;
default:
return FontWeight.normal;
}
}