import 'package:flutter/material.dart'; 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'; enum Pages { mood, sleep, relapse, timer, settings, } const Map> pages = { Pages.mood: { 'title': 'Stimmung', 'page': MoodPage(), 'icon': Icon(Icons.mood_outlined, color: Colors.black), 'todo': false, }, Pages.sleep: { 'title': 'Schlaf', 'page': SleepPage(), 'icon': Icon(Icons.bedtime_outlined, color: Colors.black), 'todo': false, }, Pages.relapse: { 'title': 'Timer', 'page': IntervalTimerPage(), 'icon': Icon(Icons.timer_outlined, color: Colors.black), 'todo': false, }, Pages.timer: { 'title': 'Rückfall', 'page': RelapsePage(), 'icon': Icon(Icons.smoke_free_outlined, color: Colors.black), 'todo': false, }, Pages.settings: { 'title': 'Scanner', 'page': ScannerPage(), 'icon': Icon(Icons.camera_alt_outlined, color: Colors.black), 'todo': false, }, };