cpd_2022_zi/lib/pages/pages_service.dart

33 lines
762 B
Dart
Raw Normal View History

2023-02-27 14:57:56 +01:00
import 'package:flutter/material.dart';
import 'interval_page.dart';
import 'mood_page.dart';
import 'relapse_page.dart';
import 'scanner_page.dart';
import 'sleep_page.dart';
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(),
'icon': Icon(Icons.smoke_free_outlined, color: Colors.black)
},
'Rückfall': {
'page': RelapsePage(),
'icon': Icon(
Icons.timer_outlined,
color: Colors.black,
)
},
'Scanner': {
'page': ScannerPage(),
'icon': Icon(Icons.camera_alt_outlined, color: Colors.black)
},
};