feat: 投稿、番剧合集整理
This commit is contained in:
@ -82,6 +82,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
|
||||
/// 设置面板
|
||||
void showSettingSheet() {
|
||||
// Scaffold.of(context).openDrawer();
|
||||
showModalBottomSheet(
|
||||
elevation: 0,
|
||||
context: context,
|
||||
@ -158,7 +159,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
dense: true,
|
||||
leading:
|
||||
const Icon(Icons.hourglass_top_outlined, size: 20),
|
||||
title: const Text('定时关闭(测试)', style: titleStyle),
|
||||
title: const Text('定时关闭', style: titleStyle),
|
||||
),
|
||||
ListTile(
|
||||
onTap: () => {Get.back(), showSetVideoQa()},
|
||||
|
19
lib/pages/video/detail/widgets/right_drawer.dart
Normal file
19
lib/pages/video/detail/widgets/right_drawer.dart
Normal file
@ -0,0 +1,19 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class RightDrawer extends StatefulWidget {
|
||||
const RightDrawer({super.key});
|
||||
|
||||
@override
|
||||
State<RightDrawer> createState() => _RightDrawerState();
|
||||
}
|
||||
|
||||
class _RightDrawerState extends State<RightDrawer> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Drawer(
|
||||
shadowColor: Colors.transparent,
|
||||
elevation: 0,
|
||||
backgroundColor:
|
||||
Theme.of(context).colorScheme.surface.withOpacity(0.8));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user