Open SnoozeFreddo opened 2 hours ago
final snackBar = ShadToast( closeIcon: const Icon(Icons.close, color: Colors.white), title: Text('Order deleted successfully.'), duration: const Duration(seconds: 5), ); ShadToaster.of(context).show(snackBar);
A close button to appear at the top right corner.
No x Icon.
^0.13.0
Android
Can you try changing the color of the icon to something else than white?
Changing color had no effect.
Does it work if you use ShadImage with a LucideIcon instead? Will check your code on Monday
Steps to reproduce
Expected results
A close button to appear at the top right corner.
Actual results
No x Icon.
shadcn_ui version
^0.13.0
Platform
Android
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Logs
Logs
```console [Paste your logs here] ```Flutter Doctor output