Init
This commit is contained in:
commit
1ba7bd9153
96 changed files with 2985 additions and 0 deletions
19
lib/classes/routes.dart
Normal file
19
lib/classes/routes.dart
Normal file
|
@ -0,0 +1,19 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue