summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/main.dart b/lib/main.dart
new file mode 100644
index 0000000..58a65e3
--- /dev/null
+++ b/lib/main.dart
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: Apache-2.0
+import 'package:flutter/material.dart';
+import 'package:flutter_riverpod/flutter_riverpod.dart';
+import 'package:musicplayer/loadingPage.dart';
+import 'dart:io';
+import 'dart:convert';
+import 'dart:async';
+
+import 'package:musicplayer/music_methods/controller.dart';
+import 'package:musicplayer/music_methods/musicProvider.dart';
+
+
+void main() {
+ runApp(ProviderScope(child: const MyApp()));
+}
+
+class MyApp extends StatelessWidget {
+ const MyApp({Key? key}) : super(key: key);
+
+ // This widget is the root of your application.
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'MediaPlayer',
+ theme: ThemeData(
+
+ primarySwatch: Colors.blue,
+ ),
+ home: loadingPage(),
+ );
+ }
+}
+