Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 11:48:42 +08:00
parent 1efd62803a
commit ac60ac417b
130 changed files with 1631 additions and 2132 deletions

View File

@@ -29,14 +29,8 @@ class SearchText extends StatelessWidget {
color: bgColor ?? theme.colorScheme.onInverseSurface,
borderRadius: const BorderRadius.all(Radius.circular(6)),
child: InkWell(
onTap: () {
onTap?.call(text);
},
onLongPress: onLongPress != null
? () {
onLongPress!(text);
}
: null,
onTap: () => onTap?.call(text),
onLongPress: onLongPress != null ? () => onLongPress!(text) : null,
borderRadius: const BorderRadius.all(Radius.circular(6)),
child: Padding(
padding: padding ??