# gap

> Flutter widgets for adding gaps inside Rows, Columns and scroll views

Source: https://talira.ai/catalog/gap-gen958zz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / ui components / layout](https://talira.ai/categories/libraries/ui-components/layout), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Romain Rastel](https://talira.ai/orgs/romain-rastel.md)

gap adds empty space between widgets in a [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md) Column, Row or scrolling view without wrapping them in Padding or choosing between SizedBox's width and height. A Gap takes its extent along the parent's direction, so the same widget works in rows, columns and ListViews. MaxGap fills up to a size and shrinks to avoid overflow, SliverGap does the same in a CustomScrollView, and a Gap can take a color and a cross-axis extent.

## Links

- GitHub: https://github.com/letsar/gap

## Problems it solves

- add spacing between widgets in a Flutter Column without SizedBox everywhere
- put a fixed gap between children of a Row or Column in Flutter
- add space between slivers in a Flutter CustomScrollView

## Features

- Gap widget that sizes itself along its Flex parent's direction
- works inside scrollables such as ListView
- MaxGap that shrinks to avoid overflow
- SliverGap for CustomScrollView
- optional color and cross-axis extent

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.63, adoption 0.46, momentum 0.17, community 0.24, backing 0.30, extensibility 0.00.

- last commit 25 days ago
- 4 commits in the last 90 days
- 210 GitHub stars
- 3 contributors
- accepts sponsorship (Github, Patreon, Custom)
- backed by Romain Rastel

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)

## Sources

[^1]: https://github.com/letsar/gap/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/letsar/gap/blob/master/LICENSE (checked 28 Nov 2026)
