movie and tvshow list

This commit is contained in:
2024-03-29 15:25:06 +01:00
parent fcab51f7ab
commit cc0fccd76d
9 changed files with 372 additions and 75 deletions
+6 -2
View File
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:global_configuration/global_configuration.dart';
import 'package:multimedia/widgets/tabsScreen.dart';
@@ -12,16 +13,19 @@ final theme = ThemeData(
textTheme: GoogleFonts.latoTextTheme(),
);
void main() {
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await GlobalConfiguration().loadFromPath('assets/cfg/config.json');
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: theme,
title: 'Multimedia',