1
0
Fork 0
mrtiboute/lib/classes/routes.dart
2022-03-30 21:37:32 +02:00

19 lines
448 B
Dart

import 'package:desktopapp/widgets/pages/tutorial.dart';
import 'package:flutter/material.dart';
enum Routes { streamlabsTutorial }
extension on Routes {
String get path {
switch (this) {
case Routes.streamlabsTutorial:
return '/streamlabs/tutorial';
}
}
}
var routes = <String, WidgetBuilder>{
Routes.streamlabsTutorial.path: (context) => const TutorialPage(),
};
var initialRoute = Routes.streamlabsTutorial.path;