detect method

ThemeGradients detect(
  1. bool darkMode
)
inherited

Implementation

T detect(bool darkMode) => darkMode ? dark : light;