I know with a ListView or SingleChildScrollView RefreshIndicator just works natively but I want to use a RefreshIndicator
ListView
SingleChildScrollView
RefreshIndicator
So in my case I wanted to display a placeholder in an empty list:
RefreshIndicator( child: Stack( children: [ Center( child: Text("The list is empty"), ), ListView() ], ), onRefresh: () {}, )