refreshIndicator static method
Refresh Indicator
Implementation
static RefreshIndicator refreshIndicator(
{required List<Widget> widgets,
required onRefresh,
Color backgroundContainerColor = Colors.transparent}) {
return RefreshIndicator(
child: scaffoldContainer(widgets,
backgroundContainer: Container(color: backgroundContainerColor)),
onRefresh: onRefresh as Future<void> Function(),
);
}