feat: 默认倍速、自定义倍速

This commit is contained in:
guozhigq
2023-10-11 23:49:13 +08:00
parent 77f47b8242
commit 0e5b1633be
8 changed files with 367 additions and 52 deletions

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pilipala/models/video/play/quality.dart';
import 'package:pilipala/plugin/pl_player/index.dart';
@ -54,6 +55,12 @@ class _PlaySettingState extends State<PlaySetting> {
),
body: ListView(
children: [
ListTile(
dense: false,
onTap: () => Get.toNamed('/playSpeedSet'),
title: Text('倍速设置', style: titleStyle),
trailing: const Icon(Icons.arrow_forward_ios, size: 17),
),
const SetSwitchItem(
title: '开启1080P',
subTitle: '免登录查看1080P视频',