List divider is not showing

I am trying to use the list divider as a line but it is showing a blank screen when checking in preview app. phone_list_divider


Hi Ankur, thanks for pointing this out! I’ve reported this as a bug – in the meanwhile that it’s waiting to get fixed, you can create lines quite easily with the bottom-border style property of a container. Just set the border style to solid and increase the width of the bottom border to edit the thickness of the line.

Thanks for the workaround. I will use that

1 Like

@Mari problem with using container as the list divider, I can’t reduce the height below 1px so the line will be very thick but I need a thin line.

Hi, a pixel is the smallest unit on the screen so you cannot set the property below that. However, you can use a lighter color on the divider to make it appear thinner.