import 'package:desktopapp/classes/routes.dart'; import 'package:flutter/material.dart'; Future 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, ); } }