onData property Null safety

(Widget Function?(T data)?) onData
final

Widget to display if all the observed ReactiveModels has data.

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(T data)? onData;