Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-07 11:02:42 +08:00
parent e8145ef65a
commit d253ef468b
6 changed files with 43 additions and 38 deletions

View File

@@ -33,13 +33,19 @@ class _MemberContributeState extends State<MemberContribute>
@override
bool get wantKeepAlive => true;
late final _controller = Get.putOrFind(
() => MemberContributeCtr(
heroTag: widget.heroTag,
initialIndex: widget.initialIndex,
),
tag: widget.heroTag,
);
late final MemberContributeCtr _controller;
@override
void initState() {
super.initState();
_controller = Get.putOrFind(
() => MemberContributeCtr(
heroTag: widget.heroTag,
initialIndex: widget.initialIndex,
),
tag: widget.heroTag,
);
}
@override
Widget build(BuildContext context) {