-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
940cee0
commit 7aa88e7
Showing
3 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
lib/features/user-library/ui/widgets/add_playlist_button.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class AddPlaylistButton extends StatelessWidget { | ||
const AddPlaylistButton({ | ||
super.key, | ||
}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return IconButton( | ||
onPressed: () {}, | ||
icon: const Icon(Icons.add_rounded), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:varanasi_mobile_app/utils/extensions/extensions.dart'; | ||
import 'package:varanasi_mobile_app/utils/extensions/media_query.dart'; | ||
|
||
class EmptyUserLibrary extends StatelessWidget { | ||
const EmptyUserLibrary({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return SizedBox( | ||
width: context.width, | ||
child: Column( | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
children: [ | ||
Text( | ||
"Add music to your library", | ||
style: context.textTheme.titleLarge?.copyWith( | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
const SizedBox(height: 8), | ||
Text( | ||
"Collect your favorites so that you can listen\nwhenever you want", | ||
style: context.textTheme.titleSmall, | ||
textAlign: TextAlign.center, | ||
), | ||
], | ||
), | ||
); | ||
} | ||
} |