blob: 58a65e3ad538975e13e182fdc134bfe81db58f34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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(),
);
}
}
|