helloWorldPage method

PageModel helloWorldPage(
  1. AppBarModel appBar
)

Implementation

PageModel helloWorldPage(AppBarModel appBar) {
  List<BodyComponentModel> components = [];
  components.add(BodyComponentModel(
      documentID: "1",
      componentName: AbstractBookletComponent.componentName,
      componentId: "hello_world"));

  return PageModel(
    documentID: identifier,
    appId: EliudApp.eliudAppId,
    title: "Hello World",
    description: "Hello World",
    drawer: drawer,
    endDrawer: endDrawer,
    appBar: appBar,
    homeMenu: homeMenu,
    layout: PageLayout.onlyTheFirstComponent,
    bodyComponents: components,
    conditions: StorageConditionsModel(
        privilegeLevelRequired:
            PrivilegeLevelRequiredSimple.noPrivilegeRequiredSimple),
  );
}