calculateFontWeight method
Implementation
FontWeight calculateFontWeight(BuildContext context, double distance) {
if (distance < 0.5) {
return FontWeight.w600;
} else {
return FontWeight.w400;
}
}
FontWeight calculateFontWeight(BuildContext context, double distance) {
if (distance < 0.5) {
return FontWeight.w600;
} else {
return FontWeight.w400;
}
}