Fix bottom padding top items list

This commit is contained in:
Juan Gilsanz Polo 2024-09-11 18:53:23 +02:00
parent 9eb200f5da
commit b223076dae

View file

@ -187,7 +187,9 @@ class _TopItemsScreenState extends State<TopItemsScreen> {
),
),
),
if (sortedValues.isNotEmpty) SliverList.builder(
if (sortedValues.isNotEmpty) SliverPadding(
padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewPadding.bottom),
sliver: SliverList.builder(
itemCount: sortedValues.length,
itemBuilder: (context, index) => _Item(
data: sortedValues[index],
@ -199,6 +201,7 @@ class _TopItemsScreenState extends State<TopItemsScreen> {
buildValue: widget.buildValue,
),
),
),
],
),
)