-
Notifications
You must be signed in to change notification settings - Fork 0
/
fan.dart
55 lines (51 loc) · 1.39 KB
/
fan.dart
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import 'package:apple/ui/utils.dart';
import 'package:flutter/material.dart';
class FanPage extends StatefulWidget {
@override
_FanPageState createState() => _FanPageState();
}
class _FanPageState extends State<FanPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFFF4EFF6),
body: Padding(
padding: EdgeInsets.symmetric(vertical: 50.0, horizontal: 10),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Utils().appBar(context),
Utils().albumImage(context),
Utils().songName(),
Utils().progressBar(),
Utils().songTime(),
Utils().controlButtons(),
Utils().lastButtons(),
],
),
),
);
}
}
class SongsList extends StatefulWidget {
@override
_SongsListState createState() => _SongsListState();
}
class _SongsListState extends State<SongsList> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFFF4EFF6),
body: Padding(
padding: EdgeInsets.symmetric(vertical: 50.0, horizontal: 10),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Utils().listAppBar(context),
Utils().listBody(),
],
),
),
);
}
}