setFont method
Implementation
void setFont(String? family, FontStyle? style, FontWeight? weight) {
fontFamily = family;
fontStyle = style;
fontWeight = weight;
}
void setFont(String? family, FontStyle? style, FontWeight? weight) {
fontFamily = family;
fontStyle = style;
fontWeight = weight;
}