We find out the parent's width during the paint phase since Divider doesn't have children so that it is more versatile.
That is, it can be laid out in infinite constraints and will still be as wide as the parent.
I have not found a way to make Divider "smart" so that it knows if it should be vertical or horizontal based on the layout. That might not make sense anyway.
The props are taken from Flutter's Divider
We find out the parent's width during the paint phase since Divider doesn't have children so that it is more versatile.
That is, it can be laid out in infinite constraints and will still be as wide as the parent.
I have not found a way to make Divider "smart" so that it knows if it should be vertical or horizontal based on the layout. That might not make sense anyway.
Part of #75