rename settingpage

main
Julian Gegner 2023-02-19 17:54:30 +01:00
parent acfb9fea70
commit b368baf744
2 changed files with 8 additions and 8 deletions

View File

@ -24,12 +24,12 @@ class MyHomePageState extends State<MyHomePage> {
'Rückfall', 'Rückfall',
'Scanner' 'Scanner'
]; ];
static final List<Widget> _widgetOptions = <Widget>[ static const List<Widget> _widgetOptions = <Widget>[
const MoodPage(), MoodPage(),
const SleepPage(), SleepPage(),
const StopWatchTimerPage(), StopWatchTimerPage(),
const RelapsePage(), RelapsePage(),
SettingsPage(), ScannerPage(),
]; ];
Future<void> _onItemTapped(int index) async { Future<void> _onItemTapped(int index) async {

View File

@ -1,8 +1,8 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:smoke_cess_app/service/settings_service.dart'; import 'package:smoke_cess_app/service/settings_service.dart';
class SettingsPage extends StatelessWidget { class ScannerPage extends StatelessWidget {
SettingsPage({super.key}); const ScannerPage({super.key});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {