import 'package:flutter/material.dart'; import 'package:shadcn_ui/shadcn_ui.dart'; class EmptyState extends StatelessWidget { const EmptyState({super.key, required this.message, this.icon}); final String message; final IconData? icon; @override Widget build(BuildContext context) { final theme = ShadTheme.of(context); return Center( child: Column( mainAxisSize: MainAxisSize.min, children: [ if (icon != null) Icon(icon, size: 48, color: theme.colorScheme.mutedForeground), if (icon != null) const SizedBox(height: 16), Text(message, style: theme.textTheme.muted), ], ), ); } }