mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-19 10:00:13 +08:00
@@ -250,7 +250,7 @@ class _LiveHeaderControlState extends State<LiveHeaderControl>
|
|||||||
child: const Row(
|
child: const Row(
|
||||||
spacing: 8,
|
spacing: 8,
|
||||||
children: [
|
children: [
|
||||||
Icon(Icons.info_outline, size: 16),
|
Icon(Icons.info_outline, size: 17),
|
||||||
Text('播放信息', style: TextStyle(fontSize: 14)),
|
Text('播放信息', style: TextStyle(fontSize: 14)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -264,7 +264,7 @@ class _LiveHeaderControlState extends State<LiveHeaderControl>
|
|||||||
child: Row(
|
child: Row(
|
||||||
spacing: 8,
|
spacing: 8,
|
||||||
children: [
|
children: [
|
||||||
const Icon(Icons.volume_up, size: 16),
|
const Icon(Icons.volume_up, size: 17),
|
||||||
Text(
|
Text(
|
||||||
'播放器音量: ${player.getProperty('volume').subLength(3)}%',
|
'播放器音量: ${player.getProperty('volume').subLength(3)}%',
|
||||||
style: const TextStyle(fontSize: 14),
|
style: const TextStyle(fontSize: 14),
|
||||||
|
|||||||
@@ -71,15 +71,7 @@ class SimpleVideoTextureState extends State<SimpleVideoTexture> {
|
|||||||
? rect.width / _devicePixelRatio
|
? rect.width / _devicePixelRatio
|
||||||
: rect.height / _devicePixelRatio * widget.aspectRatio!,
|
: rect.height / _devicePixelRatio * widget.aspectRatio!,
|
||||||
height: rect.height / _devicePixelRatio,
|
height: rect.height / _devicePixelRatio,
|
||||||
child: Stack(
|
child: Texture(textureId: id, filterQuality: widget.filterQuality),
|
||||||
children: [
|
|
||||||
if (rect.width <= 1.0 &&
|
|
||||||
rect.height <= 1.0 &&
|
|
||||||
widget.fill != Colors.transparent)
|
|
||||||
Positioned.fill(child: ColoredBox(color: widget.fill)),
|
|
||||||
Texture(textureId: id, filterQuality: widget.filterQuality),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return const SizedBox();
|
return const SizedBox();
|
||||||
|
|||||||
Reference in New Issue
Block a user