builder property Null safety

Widget Function(BuildContext context, ReactiveModel<T> model) builder
final

Widget to display if all the observed ReactiveModels has data or as the default case if any of the onIdle, onWaiting or onError is not defined

It has the last priority. That is if all the observed ReactiveModels are not in the waiting state, have no error, and are not in the idle state, this callback will be invoked.

Implementation

final Widget Function(BuildContext context, ReactiveModel<T> model) builder;