add padding to listview flutter code example
Example 1: flutter listview top padding
you should wrap the ListView with a MediaQuery.removePadding widget (with removeTop: true).
Example 2: how to give bottom padding in Listview in flutter
// Add a bottom padding to Listview in Flutter
padding: const EdgeInsets.only(bottom: kFloatingActionButtonMargin + 48)