calls/lib/main.dart

30 lines
657 B
Dart
Raw Normal View History

2024-08-06 22:37:33 -04:00
import 'package:flutter/material.dart';
2024-08-10 13:27:12 -04:00
import 'views/radio.dart';
2024-08-10 14:24:28 -04:00
import 'controller/ws.dart';
2024-08-06 22:37:33 -04:00
void main() {
2024-08-10 14:24:28 -04:00
LiveFeeder f = LiveFeeder();
f.init();
2024-08-06 22:37:33 -04:00
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
2024-08-08 18:31:24 -04:00
title: 'Stillbox Calls',
2024-08-06 22:37:33 -04:00
theme: ThemeData(
2024-08-08 18:31:24 -04:00
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
2024-08-06 22:37:33 -04:00
useMaterial3: true,
),
2024-08-08 18:31:24 -04:00
darkTheme: ThemeData(
brightness: Brightness.dark,
),
themeMode: ThemeMode.dark,
home: const MainRadio(title: 'Stillbox'),
2024-08-06 22:37:33 -04:00
);
}
}