27 lines
667 B
Dart
27 lines
667 B
Dart
import 'package:desktopapp/classes/routes.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
Future<void> main() async {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Streamlabs connector',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: ThemeData(
|
|
splashFactory: InkRipple.splashFactory,
|
|
),
|
|
darkTheme: ThemeData.dark().copyWith(
|
|
splashFactory: InkRipple.splashFactory,
|
|
),
|
|
themeMode: ThemeMode.dark,
|
|
routes: routes,
|
|
initialRoute: initialRoute,
|
|
);
|
|
}
|
|
}
|