opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-18 11:24:46 +08:00
parent a252ee0655
commit f42a6200ed
22 changed files with 87 additions and 164 deletions

View File

@@ -32,8 +32,7 @@ import '../../../../http/search.dart';
import '../../../../models/model_hot_video_item.dart';
import '../related/index.dart';
class VideoIntroController extends GetxController
with GetTickerProviderStateMixin {
class VideoIntroController extends GetxController {
// 视频bvid
late String bvid;

View File

@@ -41,7 +41,8 @@ class ActionItem extends StatefulWidget {
State<ActionItem> createState() => ActionItemState();
}
class ActionItemState extends State<ActionItem> with TickerProviderStateMixin {
class ActionItemState extends State<ActionItem>
with SingleTickerProviderStateMixin {
AnimationController? controller;
Animation<double>? _animation;

View File

@@ -8,7 +8,7 @@ import 'package:flutter/material.dart';
import 'package:get/get_state_manager/src/rx_flutter/rx_ticket_provider_mixin.dart';
class VideoReplyController extends ReplyController<MainListReply>
with GetTickerProviderStateMixin {
with GetSingleTickerProviderStateMixin {
VideoReplyController({required this.aid});
// 视频aid 请求时使用的oid
int aid;

View File

@@ -10,7 +10,7 @@ import 'package:PiliPlus/models/common/reply_type.dart';
import 'package:scrollable_positioned_list/scrollable_positioned_list.dart';
class VideoReplyReplyController extends ReplyController
with GetTickerProviderStateMixin {
with GetSingleTickerProviderStateMixin {
VideoReplyReplyController({
required this.hasRoot,
required this.id,