builder property Null safety

Widget Function(BuildContext ctx, T? value) builder
final

A function gives you context and the provider data as parameters and returns the child of this widget(AmRefreshWidget).