cpd_2022_zi/lib/services/pages_service.dart

33 lines
807 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(),
'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)
},
};