mod: 楼中楼回复

This commit is contained in:
guozhigq
2023-04-24 21:27:36 +08:00
parent a0441aa589
commit 1d97d1848d
5 changed files with 202 additions and 101 deletions

View File

@ -12,10 +12,15 @@ class VideoReplyPanel extends StatefulWidget {
State<VideoReplyPanel> createState() => _VideoReplyPanelState();
}
class _VideoReplyPanelState extends State<VideoReplyPanel> {
class _VideoReplyPanelState extends State<VideoReplyPanel>
with AutomaticKeepAliveClientMixin {
final VideoReplyController _videoReplyController =
Get.put(VideoReplyController(), tag: Get.arguments['heroTag']);
// 添加页面缓存
@override
bool get wantKeepAlive => true;
@override
Widget build(BuildContext context) {
return FutureBuilder(