add static2Scroll option

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-01 12:44:08 +08:00
parent 87c7699324
commit 80e007bac6
6 changed files with 93 additions and 74 deletions

View File

@@ -69,28 +69,26 @@ class _WhisperBlockPageState extends State<WhisperBlockPage> {
),
),
Expanded(
child: Padding(
child: SingleChildScrollView(
padding: const EdgeInsets.all(12),
child: SingleChildScrollView(
child: Wrap(
spacing: 12,
runSpacing: 12,
children: response
.map(
(e) => SearchText(
text: e.keyword,
onTap: (keyword) {
showConfirmDialog(
context: context,
title: '删除屏蔽词',
content: '该屏蔽词将不再生效',
onConfirm: () => _controller.onRemove(e),
);
},
),
)
.toList(),
),
child: Wrap(
spacing: 12,
runSpacing: 12,
children: response
.map(
(e) => SearchText(
text: e.keyword,
onTap: (keyword) {
showConfirmDialog(
context: context,
title: '删除屏蔽词?',
content: '屏蔽词将不再生效',
onConfirm: () => _controller.onRemove(e),
);
},
),
)
.toList(),
),
),
),