colorScheme property
String
get
colorScheme
Implementation
String get colorScheme => window.platformBrightness == Brightness.light ? 'light' : 'dark';
String get colorScheme => window.platformBrightness == Brightness.light ? 'light' : 'dark';