invertedTheme property
ThemeData
get
invertedTheme
Implementation
ThemeData get invertedTheme {
switch (brightness) {
case Brightness.dark:
return lightTheme;
case Brightness.light:
return darkTheme;
default:
return darkTheme;
}
}