We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 686a1c2 commit ef634b3Copy full SHA for ef634b3
packages/flutter_tools/templates/skeleton/lib/src/settings/settings_controller.dart.tmpl
@@ -34,10 +34,10 @@ class SettingsController with ChangeNotifier {
34
Future<void> updateThemeMode(ThemeMode? newThemeMode) async {
35
if (newThemeMode == null) return;
36
37
- // Dot not perform any work if new and old ThemeMode are identical
+ // Do not perform any work if new and old ThemeMode are identical
38
if (newThemeMode == _themeMode) return;
39
40
- // Otherwise, store the new theme mode in memory
+ // Otherwise, store the new ThemeMode in memory
41
_themeMode = newThemeMode;
42
43
// Important! Inform listeners a change has occurred.
0 commit comments