Hi! Does anyone know if it is possible to create a
Modifier
extension to add blur effect that is compatible with all Android versions?
Modifier.blur()
is compatible with Android 12 and above and I was trying to encapsulate all the compatible logic in one extension function.
I have tried to use graphics layer and adding a
BlurEffect
to
renderEffect
but with no luck in my Android 10.
Any ideas?
This is the code I have tried at this moment.