getEffectiveLightIntensityForTheme method

double getEffectiveLightIntensityForTheme(
  1. bool isDarkMode
)

Get effective light intensity (static component - only rest state)

Implementation

double getEffectiveLightIntensityForTheme(bool isDarkMode) {
  return isDarkMode ? 0.05 : lightIntensity;
}