updateFontColor method
Updates the font color
.
Implementation
void updateFontColor() {
Color primFntColor;
Color secFntColor;
if (SettingsSharedPref.getTheme() == 'dark'
) {
primFntColor = Colors.white;
secFntColor = Colors.black;
} else {
primFntColor = Colors.black;
secFntColor = Colors.white;
}
primaryFontColor = primFntColor;
secondaryFontColor = secFntColor;
}