mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-18 10:28:52 +00:00
micro refactor :|
This commit is contained in:
parent
cd457941b1
commit
6a34cb7126
@ -55,6 +55,7 @@ class HomeScreen extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
ConstrainedBox(
|
ConstrainedBox(
|
||||||
constraints: const BoxConstraints(
|
constraints: const BoxConstraints(
|
||||||
|
maxWidth: 600,
|
||||||
maxHeight: 50,
|
maxHeight: 50,
|
||||||
),
|
),
|
||||||
child: ElevatedButton(
|
child: ElevatedButton(
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class _BackgroundState extends State<Background> {
|
|||||||
super.initState();
|
super.initState();
|
||||||
player.open(
|
player.open(
|
||||||
Media(
|
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);
|
player.setPlaylistMode(PlaylistMode.loop);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user