humanName property

String get humanName

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",
};