Skip to content

2-5-perceivers/end-padding

Repository files navigation

End Padding Utils

GitHub stars Package: end_padding Language: Dart License: MIT

The simplest package you will need. Made for simply adding padding at the end of lists to make sure system navigation or floating action buttons don't cover the last widgets.

Installation

To use this package, add end_padding as a dependency using:

flutter pub add end_padding

Getting started

Just add EndPadding or SilverEndPadding to the end of your widget lists. Or use the extension on List<Widget>.

Usage

const EndPadding(),
const SliverEndPadding(),
ListView(
    children: someListOfWidgets.endPadding(),
)

For further details, visit the documentation.

Example of a colored EndPadding with a floating action button:

Padding Image