19 lines
448 B
Dart
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;
|