humanName property
A human-friendly name for this mode.
Implementation
String get humanName => switch (this) {
ThemeMode.system => "Match system",
ThemeMode.light => "Light theme",
ThemeMode.dark => "Dark theme",
};
A human-friendly name for this mode.
String get humanName => switch (this) {
ThemeMode.system => "Match system",
ThemeMode.light => "Light theme",
ThemeMode.dark => "Dark theme",
};