feat: new ui (#1455)

This commit is contained in:
Levi authored and GitHub committed 2026-09-05 19:53:41 +08:00
1 parent 3be8db664c
commit 177c225f16
742 files changed
+59951 -5934

No files matched your search

@@ -0,0 +1,19 @@
import 'package:flutter/widgets.dart';
import 'package:shadcn_flutter/shadcn_flutter.dart' as shad;
class ActionIconButton extends StatelessWidget {
const ActionIconButton({super.key, required this.icon, required this.color, this.onTap});
final IconData icon;
final Color color;
final VoidCallback? onTap;
@override
Widget build(BuildContext context) {
return shad.IconButton.ghost(
onPressed: onTap,
density: shad.ButtonDensity.compact,
icon: Icon(icon, color: color, size: 18),
);
}
}