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

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,
);
}
}