Style styleWithApp(AppModel app) { if ((app.styleFamily == null) || (app.styleName == null)) { return defaultStyle(); } return style(app, app.styleFamily!, app.styleName!); }