Question : how to give bottom padding in Listview in flutter
Answered by : aditya-negandhi
// Add a bottom padding to Listview in Flutter
padding: const EdgeInsets.only(bottom: kFloatingActionButtonMargin + 48)
Source : https://icevanila.com/question/how-can-i-add-extra-bottom-spacing-in-listview | Last Update : Tue, 12 Jan 21
Question : listview flutter give padding to list bottom
Answered by : clumsy-chinchilla-espghcgxahol
import 'package:flutter/material.dart';
main() { runApp(MaterialApp( home: Scaffold( body: ListView.builder( padding: const EdgeInsets.only(bottom: kFloatingActionButtonMargin + 48), itemCount: 23, itemBuilder: (context, index) => ListTile( trailing: Text('$index'), )), floatingActionButton: FloatingActionButton( onPressed: () {}, ), )));
}
Source : https://stackoverflow.com/questions/57002002/how-can-i-add-extra-bottom-spacing-in-listview | Last Update : Tue, 17 Aug 21
Question : flutter listview top padding
Answered by : guillaume-vignolle
you should wrap the ListView with a MediaQuery.removePadding widget (with removeTop: true).
Source : https://github.com/flutter/flutter/issues/14842 | Last Update : Thu, 11 Jun 20