AppRefreshIndicator constructor Null safety

const AppRefreshIndicator(
  1. {Key? key,
  2. required RefreshCallback onRefresh,
  3. required Widget child}
)

Creates a refresh indicator.

Implementation

const AppRefreshIndicator({
  Key? key,
  required this.onRefresh,
  required this.child,
}) : super(key: key);