mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -15,7 +15,7 @@ class HotKeyword extends StatelessWidget {
|
||||
required this.hotSearchList,
|
||||
this.onClick,
|
||||
this.showMore = true,
|
||||
}) : this.width = width / 2 - 4;
|
||||
}) : width = width / 2 - 4;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
@@ -27,7 +27,7 @@ class SearchText extends StatelessWidget {
|
||||
late final theme = Theme.of(context);
|
||||
return Material(
|
||||
color: bgColor ?? theme.colorScheme.onInverseSurface,
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(6)),
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
onTap?.call(text);
|
||||
@@ -37,7 +37,7 @@ class SearchText extends StatelessWidget {
|
||||
onLongPress!(text);
|
||||
}
|
||||
: null,
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(6)),
|
||||
child: Padding(
|
||||
padding: padding ??
|
||||
const EdgeInsets.symmetric(horizontal: 11, vertical: 5),
|
||||
|
||||
Reference in New Issue
Block a user