sharedDeclarations property

List<Json> get sharedDeclarations

The variables every page shares as a view's scope declares them (Variable.declarationsFromJson reads it): the manifest's and app.txt's, without app.txt's formulas with no type (those are written out on each page that reads them).

Implementation

List<Json> get sharedDeclarations => [
      for (final e in variables.entries)
        if (!e.value.containsKey(notationInlineFormulaKey)) {...e.value, 'name': e.key},
    ];