resolve method
Selects the appropriate theme based on background.
Implementation
ChromaTheme resolve({required bool hasDarkBackground}) {
return hasDarkBackground ? dark : light;
}
Selects the appropriate theme based on background.
ChromaTheme resolve({required bool hasDarkBackground}) {
return hasDarkBackground ? dark : light;
}