Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-18 12:02:42 +08:00
parent 8e4824ab6f
commit 3d4aa7d5a9
13 changed files with 71 additions and 76 deletions

View File

@@ -197,11 +197,11 @@ class _PgcIndexPageState extends State<PgcIndexPage>
if (count > 5) ...[
const SizedBox(height: 8),
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () => _ctr.isExpand.value = !_ctr.isExpand.value,
behavior: .opaque,
onTap: _ctr.isExpand.toggle,
child: Center(
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisSize: .min,
children: [
Text(
_ctr.isExpand.value ? '收起' : '展开',