merge design
This commit is contained in:
@ -248,8 +248,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
|||||||
? widget.videoDetail!.title
|
? widget.videoDetail!.title
|
||||||
: videoItem['title'],
|
: videoItem['title'],
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 17,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.bold,
|
||||||
),
|
),
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
|||||||
@ -43,6 +43,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
Box localCache = GStrorage.localCache;
|
Box localCache = GStrorage.localCache;
|
||||||
Box videoStorage = GStrorage.video;
|
Box videoStorage = GStrorage.video;
|
||||||
late List speedsList;
|
late List speedsList;
|
||||||
|
double buttonSpace = 8;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
@ -276,7 +277,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text('选择画质', style: titleStyle),
|
Text('选择画质', style: titleStyle),
|
||||||
const SizedBox(width: 4),
|
SizedBox(width: buttonSpace),
|
||||||
Icon(
|
Icon(
|
||||||
Icons.info_outline,
|
Icons.info_outline,
|
||||||
size: 16,
|
size: 16,
|
||||||
@ -793,7 +794,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
),
|
),
|
||||||
fuc: () => Get.back(),
|
fuc: () => Get.back(),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
SizedBox(width: buttonSpace),
|
||||||
ComBtn(
|
ComBtn(
|
||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
FontAwesomeIcons.house,
|
FontAwesomeIcons.house,
|
||||||
@ -838,7 +839,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
SizedBox(width: buttonSpace),
|
||||||
if (Platform.isAndroid) ...[
|
if (Platform.isAndroid) ...[
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 34,
|
width: 34,
|
||||||
@ -870,7 +871,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
SizedBox(width: buttonSpace),
|
||||||
],
|
],
|
||||||
Obx(
|
Obx(
|
||||||
() => SizedBox(
|
() => SizedBox(
|
||||||
@ -888,7 +889,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
SizedBox(width: buttonSpace),
|
||||||
ComBtn(
|
ComBtn(
|
||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
FontAwesomeIcons.sliders,
|
FontAwesomeIcons.sliders,
|
||||||
|
|||||||
@ -130,7 +130,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 10),
|
||||||
// 全屏
|
// 全屏
|
||||||
Obx(
|
Obx(
|
||||||
() => ComBtn(
|
() => ComBtn(
|
||||||
@ -146,7 +146,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 12),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user