opt: multi select

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-05 14:45:20 +08:00
parent e4b8dfcada
commit 1643db4656
10 changed files with 24 additions and 25 deletions

View File

@@ -365,9 +365,10 @@ class _FavDetailPageState extends State<FavDetailPage> {
child: LayoutBuilder(
builder: (context, constraints) =>
AnimatedOpacity(
opacity: loadingState.response[index].checked
? 1
: 0,
opacity:
loadingState.response[index].checked == true
? 1
: 0,
duration: const Duration(milliseconds: 200),
child: Container(
alignment: Alignment.center,
@@ -382,10 +383,11 @@ class _FavDetailPageState extends State<FavDetailPage> {
width: 34,
height: 34,
child: AnimatedScale(
scale:
loadingState.response[index].checked
? 1
: 0,
scale: loadingState
.response[index].checked ==
true
? 1
: 0,
duration:
const Duration(milliseconds: 250),
curve: Curves.easeInOut,