movie and tvshow list
This commit is contained in:
+6
-2
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user