observe property Null safety

(InjectedBaseState<R> Function?()?) observe
 models:[myModel1, myModel2,myModel3],//If you want this widget to not rebuild, do not define any model.
 MixinWith : MixinWith.singleTickerProviderStateMixin
 builder:(BuildContext context, Injected model) =>MyWidget(),

List of your logic classes you want to rebuild this widget from. The logic class should extend StatesWithMixinRebuilderof the states_rebuilder package. an observable to which you want StateWithMixinBuilder to subscribe.


// final List<Injected> models;

///an observable to which you want [StateWithMixinBuilder] to subscribe.
final InjectedBaseState<R> Function()? observe;