You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decky/lib/routes.dart

26 lines
880 B

import 'package:flutter/material.dart';
import 'screens/deck_import_screen.dart';
import 'screens/deck_overview_screen.dart';
import 'screens/deck_config_screen.dart';
import 'screens/attempt_screen.dart';
import 'screens/attempt_result_screen.dart';
class Routes {
static const String deckImport = '/';
static const String deckOverview = '/deck-overview';
static const String deckConfig = '/deck-config';
static const String attempt = '/attempt';
static const String attemptResult = '/attempt-result';
static Map<String, WidgetBuilder> get routes {
return {
deckImport: (context) => const DeckImportScreen(),
deckOverview: (context) => const DeckOverviewScreen(),
deckConfig: (context) => const DeckConfigScreen(),
attempt: (context) => const AttemptScreen(),
attemptResult: (context) => const AttemptResultScreen(),
};
}
}

Powered by TurnKey Linux.