cpd_2022_zi/lib/services/pages_service.dart

30 lines
789 B
Dart
Raw Normal View History

2023-02-27 14:57:56 +01:00
import 'package:flutter/material.dart';
2023-02-27 17:27:01 +01:00
import '../pages/interval_page.dart';
import '../pages/mood_page.dart';
import '../pages/relapse_page.dart';
import '../pages/scanner_page.dart';
import '../pages/sleep_page.dart';
2023-02-27 14:57:56 +01:00
const pages = {
'Stimmung': {
'page': MoodPage(),
'icon': Icon(Icons.mood_outlined, color: Colors.black)
},
'Schlaf': {
'page': SleepPage(),
'icon': Icon(Icons.bedtime_outlined, color: Colors.black)
},
'Timer': {
'page': IntervalTimerPage(),
2023-03-01 20:45:00 +01:00
'icon': Icon(Icons.timer_outlined, color: Colors.black)
2023-02-27 14:57:56 +01:00
},
'Rückfall': {
'page': RelapsePage(),
2023-03-01 20:45:00 +01:00
'icon': Icon(Icons.smoke_free_outlined, color: Colors.black),
2023-02-27 14:57:56 +01:00
},
'Scanner': {
'page': ScannerPage(),
'icon': Icon(Icons.camera_alt_outlined, color: Colors.black)
},
};