fixing a ton of sloppy mess...

This commit is contained in:
Wowieee4
2026-05-17 18:40:03 +07:00
parent f970f1bac8
commit d2608e0188
37 changed files with 3099 additions and 1795 deletions
@@ -466,7 +466,7 @@ class _Pill extends StatelessWidget {
Widget build(BuildContext context) {
return DecoratedBox(
decoration: BoxDecoration(
color: color.withOpacity(0.16),
color: color.withValues(alpha: 0.16),
borderRadius: BorderRadius.circular(999),
border: Border.all(color: color)),
child: Padding(
@@ -506,12 +506,10 @@ class _EmptyPanel extends StatelessWidget {
final IconData icon;
final String title;
final String message;
final Widget? action;
const _EmptyPanel(
{required this.icon,
required this.title,
required this.message,
this.action});
required this.message});
@override
Widget build(BuildContext context) {
@@ -533,10 +531,6 @@ class _EmptyPanel extends StatelessWidget {
const TextStyle(fontWeight: FontWeight.w800, fontSize: 18)),
const SizedBox(height: 6),
Text(message, textAlign: TextAlign.center),
if (action != null) ...[
const SizedBox(height: 12),
action!,
],
],
),
);