make lyrics selectable and upgrade sdk version and deps

This commit is contained in:
2023-07-17 01:41:00 +03:00
parent cd39204f6a
commit 1417eef23c
4 changed files with 80 additions and 88 deletions
+3 -3
View File
@@ -71,13 +71,13 @@ class _LyricsPageState extends State<LyricsPage> {
),
body: Center(
child: fetching
? Column(
? const Column(
children: [
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: const [CircularProgressIndicator(value: null)],
children: [CircularProgressIndicator(value: null)],
),
),
],
@@ -87,7 +87,7 @@ class _LyricsPageState extends State<LyricsPage> {
child: SingleChildScrollView(
child: Container(
padding: const EdgeInsets.all(30),
child: Text(
child: SelectableText(
lyrics ?? '',
style: const TextStyle(
fontSize: 16,