wrapApp static method
Initalize Shared value.
Internally, this inserts an InheritedModel widget into the widget tree.
This must be done exactly once for the whole application.
Implementation
static Widget wrapApp(Widget app) {
didWrap = true;
return StateManagerWidget(
app,
stateManager,
stateNonceMap,
);
}