From 8427ebc36e13da55e37c2d7ee60566ad4d2d2120 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 17 Apr 2025 10:34:50 +0800 Subject: [PATCH] opt: later search Signed-off-by: bggRGjQaUbCoE --- lib/pages/later_search/view.dart | 54 -------------------------------- 1 file changed, 54 deletions(-) diff --git a/lib/pages/later_search/view.dart b/lib/pages/later_search/view.dart index a008bdd6..c012447b 100644 --- a/lib/pages/later_search/view.dart +++ b/lib/pages/later_search/view.dart @@ -1,4 +1,3 @@ -import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/common/widgets/icon_button.dart'; import 'package:PiliPlus/common/widgets/video_card_h.dart'; import 'package:PiliPlus/models/model_hot_video_item.dart'; @@ -63,59 +62,6 @@ class _LaterSearchPageState ); }, ), - Positioned( - top: 5, - left: 12, - bottom: 5, - child: IgnorePointer( - child: LayoutBuilder( - builder: (context, constraints) => AnimatedOpacity( - opacity: item.checked == true ? 1 : 0, - duration: const Duration(milliseconds: 200), - child: Container( - alignment: Alignment.center, - height: constraints.maxHeight, - width: - constraints.maxHeight * StyleString.aspectRatio, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(10), - color: Colors.black.withOpacity(0.6), - ), - child: SizedBox( - width: 34, - height: 34, - child: AnimatedScale( - scale: item.checked == true ? 1 : 0, - duration: const Duration(milliseconds: 250), - curve: Curves.easeInOut, - child: IconButton( - tooltip: '取消选择', - style: ButtonStyle( - padding: - WidgetStateProperty.all(EdgeInsets.zero), - backgroundColor: - WidgetStateProperty.resolveWith( - (states) { - return Theme.of(context) - .colorScheme - .surface - .withOpacity(0.8); - }, - ), - ), - onPressed: null, - icon: Icon( - Icons.done_all_outlined, - color: Theme.of(context).colorScheme.primary, - ), - ), - ), - ), - ), - ), - ), - ), - ), Positioned( right: 12, bottom: 0,