fix: 优化追剧页切换与编辑按钮

This commit is contained in:
Zhou Weidong committed 2026-10-22 21:25:55 +08:00
1 parent f67b8bd514
commit 3f3dc9263c
5 files changed
+267 -187

No files matched your search

@@ -0,0 +1,24 @@
// Author: fruit.com.cn
import 'package:flutter/widgets.dart';
class FollowingKeepAliveTab extends StatefulWidget {
const FollowingKeepAliveTab({super.key, required this.child});
final Widget child;
@override
State<FollowingKeepAliveTab> createState() => _FollowingKeepAliveTabState();
}
class _FollowingKeepAliveTabState extends State<FollowingKeepAliveTab>
with AutomaticKeepAliveClientMixin {
@override
bool get wantKeepAlive => true;
@override
Widget build(BuildContext context) {
super.build(context);
return widget.child;
}
}