Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -44,18 +44,7 @@ class _MemberVideoState extends State<MemberVideo>
@override
bool get wantKeepAlive => true;
late final _controller = Get.put(
MemberVideoCtr(
type: widget.type,
mid: widget.mid,
seasonId: widget.seasonId,
seriesId: widget.seriesId,
username: Get.find<MemberController>(tag: widget.heroTag).username,
title: widget.title,
),
tag:
'${widget.heroTag}${widget.type.name}${widget.seasonId}${widget.seriesId}',
);
late final MemberVideoCtr _controller;
int? _index;
late ExtendedNestedScrollController _scrollController;
@@ -74,6 +63,23 @@ class _MemberVideoState extends State<MemberVideo>
}
}
@override
void initState() {
super.initState();
_controller = Get.put(
MemberVideoCtr(
type: widget.type,
mid: widget.mid,
seasonId: widget.seasonId,
seriesId: widget.seriesId,
username: Get.find<MemberController>(tag: widget.heroTag).username,
title: widget.title,
),
tag:
'${widget.heroTag}${widget.type.name}${widget.seasonId}${widget.seriesId}',
);
}
@override
Widget build(BuildContext context) {
super.build(context);