Closed komakur closed 5 months ago
Thanks @komakur Yes it will make sense
In the next version, we will use ClipBehavior.none
as default value
and also user will be able to set it through the Configuration
@komakur
If you would like to work on it, please don't hesitate.
@payam-zahedi yeah, I can work on it
Is your feature request related to a problem? Please describe. No.
Describe the solution you'd like Either add new argument to config, or just change AnimatedLis.clipBehaviour to
clipBehavior: Clip.none
in toastification.manager.dart.Additional context If every item has a shadow, it will be clipped by AnimatedList, so I need to add padding to my item to fix this. Better solution would be to pass clipBehavior or just to 'disable' it. Thus, making clip behaviour none, increases performance. It also quite useless to have clipbehavior with notifications as they should "float" anyway
As you can see the shadow of items is being clipped.
And after I changed clipBehavior to none: