How does padding work in flutter?

When passing layout constraints to its child, padding shrinks the constraints by the given padding, causing the child to layout at a smaller size . Padding then sizes itself to its child’s size, inflated by the padding, effectively creating empty space around the child.

Sizin İçin Seçtik  What does EFB stand for aviation?

Leave a Reply

Your email address will not be published. Required fields are marked *