color method

Color color(
  1. NUIThemePair<Color> pair
)

Implementation

Color color(NUIThemePair<Color> pair){
  final isLightTheme = !isDarkTheme();
  return isLightTheme ? pair.light : pair.dark;
}