rename settingpage
parent
acfb9fea70
commit
b368baf744
|
@ -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 {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue