lightDarkModeDefaultTextColor function

Color? lightDarkModeDefaultTextColor(
  1. ThemeData themeData
)

Implementation

Color? lightDarkModeDefaultTextColor(ThemeData themeData) {
  if (themeData.brightness == Brightness.dark) {
    return CantonColors.white;
  } else {
    return CantonColors.black;
  }
}