diff --git a/lib/settings_page.dart b/lib/settings_page.dart index 7023ddd..9579056 100644 --- a/lib/settings_page.dart +++ b/lib/settings_page.dart @@ -89,7 +89,7 @@ class _SettingsPageState extends State<_SettingsPage> { crossAxisAlignment: CrossAxisAlignment.start, children: [ SwitchListTile( - title: Text('Alarm'), + title: const Text('Alarm'), value: settings.alarm, onChanged: (value) { db @@ -98,7 +98,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), SwitchListTile( - title: Text('Vibrate'), + title: const Text('Vibrate'), value: settings.vibrate, onChanged: (value) { db @@ -107,7 +107,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), SwitchListTile( - title: Text('Notify'), + title: const Text('Notify'), value: settings.notify, onChanged: (value) { db @@ -116,7 +116,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), SwitchListTile( - title: Text('Images'), + title: const Text('Images'), value: settings.images, onChanged: (value) { db @@ -125,7 +125,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), SwitchListTile( - title: Text('Show Unit'), + title: const Text('Show Unit'), value: settings.showUnit, onChanged: (value) { db @@ -134,7 +134,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), SwitchListTile( - title: Text('Steps'), + title: const Text('Steps'), value: settings.steps, onChanged: (value) { db @@ -143,7 +143,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), TextField( - decoration: InputDecoration( + decoration: const InputDecoration( labelText: 'Sound', ), onChanged: (value) { @@ -153,7 +153,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), TextField( - decoration: InputDecoration( + decoration: const InputDecoration( labelText: 'Light Color', ), onChanged: (value) { @@ -163,7 +163,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), TextField( - decoration: InputDecoration( + decoration: const InputDecoration( labelText: 'Dark Color', ), onChanged: (value) { @@ -173,7 +173,7 @@ class _SettingsPageState extends State<_SettingsPage> { }, ), TextField( - decoration: InputDecoration( + decoration: const InputDecoration( labelText: 'Date', ), onChanged: (value) {