Is it possible to hide Badge based on the value?
I have the following code and would love to hide for that row when "children_count" is 0. What are my options? Thanks.
4 Replies
I guess it's not possible. You could try
formatStateUsing()
but that will probably also show an empty b adgeIt actually worked, thanks @Dennis Koch for pointing to the right direction. π
![](https://utfs.io/f/ad854af0-0328-47b2-8801-af77084a45b7-1nq2cb.png)
Nice.
when you return null in a state it skips, cool π