* opt: unused layout

* mod: semantics

* opt: DanmakuMsg type

* opt: avoid cast

* opt: unnecessary_lambdas

* opt: use isEven

* opt: logger

* opt: invalid common page

* tweak

* opt: unify DynController
This commit is contained in:
My-Responsitories
2025-08-27 12:01:53 +08:00
committed by GitHub
parent 56ffc2781f
commit 5f8313901b
83 changed files with 551 additions and 545 deletions

View File

@@ -24,9 +24,9 @@ class SearchText extends StatelessWidget {
@override
Widget build(BuildContext context) {
late final theme = Theme.of(context);
late final colorScheme = Theme.of(context).colorScheme;
return Material(
color: bgColor ?? theme.colorScheme.onInverseSurface,
color: bgColor ?? colorScheme.onInverseSurface,
borderRadius: const BorderRadius.all(Radius.circular(6)),
child: InkWell(
onTap: () => onTap?.call(text),
@@ -41,7 +41,7 @@ class SearchText extends StatelessWidget {
textAlign: textAlign,
style: TextStyle(
fontSize: fontSize,
color: textColor ?? theme.colorScheme.onSurfaceVariant,
color: textColor ?? colorScheme.onSurfaceVariant,
),
),
),