navigation bar and colours custamized
This commit is contained in:
parent
5c84b2fb59
commit
1ce7aea6b5
6 changed files with 167 additions and 51 deletions
|
@ -1,23 +1,33 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class LibraryPage extends StatelessWidget {
|
||||
const LibraryPage({super.key});
|
||||
class VotingPage extends StatelessWidget {
|
||||
const VotingPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(Icons.library_music, size: 100, color: Colors.deepPurple),
|
||||
SizedBox(height: 20),
|
||||
Text(
|
||||
'Library',
|
||||
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
Text('Your music library'),
|
||||
],
|
||||
return Container(
|
||||
color: const Color(0xFF121212),
|
||||
child: const Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(Icons.how_to_vote, size: 100, color: Color(0xFF6366F1)),
|
||||
SizedBox(height: 20),
|
||||
Text(
|
||||
'Voting',
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
Text(
|
||||
'Vote for the next song',
|
||||
style: TextStyle(color: Colors.grey),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue