InheritedMediator<TModel extends Pub> constructor
const
InheritedMediator<TModel extends Pub> ({})
Creates an inherited widget that supports dependencies qualified by "aspects", i.e. a descendant widget can indicate that it should only be rebuilt if a specific aspect of the model changes.
Implementation
const InheritedMediator({
Key? key,
// required _HostState<TModel> state,
required TModel model,
required HashSet<Object> frameAspect,
required Widget child,
}) : //_state = state,
_model = model,
_frameAspects = frameAspect,
super(key: key, child: child);