init method
Upon 'InitialScreen' completion, a series of async methods will run in order: init, loadSolution and postInit After those methods complete, the Solution's landing screen will be built.
Implementation
Future<void> init() async {
_solutions.add(SolutionSpec("Lowder",
widgets: BaseWidgets(),
actions: BaseActions(),
properties: BaseProperties()));
_solutions.addAll(solutions);
for (var sol in _solutions) {
if (sol.widgets != null) {
widgets.loadWidgets(sol.widgets!);
}
if (sol.actions != null) {
actions.loadActions(sol.actions!);
}
if (sol.properties != null) {
properties.loadProperties(sol.properties!);
}
}
}