RhythmBox/lib/screens/player/lyrics.dart

39 lines
964 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
2024-08-29 08:42:48 +00:00
import 'package:rhythm_box/widgets/lyrics/synced_lyrics.dart';
import 'package:rhythm_box/widgets/player/bottom_player.dart';
class LyricsScreen extends StatelessWidget {
const LyricsScreen({super.key});
@override
Widget build(BuildContext context) {
return Material(
color: Theme.of(context).colorScheme.surface,
child: Scaffold(
appBar: AppBar(
title: const Text('Lyrics'),
),
body: const Column(
children: [
Expanded(
child: SyncedLyrics(
defaultTextZoom: 67,
),
),
],
),
bottomNavigationBar: const SizedBox(
2024-08-28 12:34:35 +00:00
height: 85,
child: Material(
elevation: 2,
2024-08-28 12:34:35 +00:00
child: BottomPlayer(
key: Key('lyrics-page-bottom-player'),
usePop: true,
),
),
),
),
);
}
}