33 lines
762 B
Dart
33 lines
762 B
Dart
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)
|
|
},
|
|
};
|