micro refactor :|

This commit is contained in:
ALEZ-DEV 2024-05-16 19:46:10 +02:00
parent cd457941b1
commit 6a34cb7126
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ class HomeScreen extends StatelessWidget {
children: [
ConstrainedBox(
constraints: const BoxConstraints(
maxWidth: 600,
maxHeight: 50,
),
child: ElevatedButton(

View File

@ -24,7 +24,7 @@ class _BackgroundState extends State<Background> {
super.initState();
player.open(
Media(
'https://media-cdn-zspms.kurogame.net/pnswebsite/website2.0/video/1715184000000/1l5uvj9eqpjjcazt4p-1715219648481.mp4',
'/home/alez/Downloads/1l5uvj9eqpjjcazt4p-1715219648481.mp4',
),
);
player.setPlaylistMode(PlaylistMode.loop);