Просмотр исходного кода

Sync export: P0-5 Basic-Auth verwijderd, P0-8 null-guards Horecagelegenheid-detail, P1-15 5 social-knoppen + Menukaart-guard, P1-7 Tab 3 Favoriete Gelegenheden, P0-4 empty-state, default-locatie krijgt nu ook een naam (28666/28694), debug-SnackBar verwijderd — alles al in FlutterFlow gebouwd maar nooit lokaal gecommit

bob 1 месяц назад
Родитель
Сommit
2c093bc8f8

+ 4 - 4
ios/Runner.xcodeproj/project.pbxproj

@@ -44,8 +44,8 @@
 		97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
 		97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
 		97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6436409527A31CDC00820AF7 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
-		6436409E27A31CD400820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+		6436409727A31CD200820AF7 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+		6436409B27A31CD000820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 		97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
@@ -225,8 +225,8 @@
 		6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
 			isa = PBXVariantGroup;
 			children = (
-				6436409527A31CDC00820AF7 /* nl */,
-				6436409E27A31CD400820AF7 /* en */,
+				6436409727A31CD200820AF7 /* nl */,
+				6436409B27A31CD000820AF7 /* en */,
 			);
 			name = InfoPlist.strings;
 			sourceTree = "<group>";

+ 11 - 33
lib/backend/api_requests/api_calls.dart

@@ -151,9 +151,7 @@ class HomeTabelCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/views/flutterflowmobiel1.json?display_id=services_2',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'page': page,
       },
@@ -230,9 +228,7 @@ class HomeSliderCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/views/flutterflowmobiel1.json?display_id=services_1',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'display_id': displayId,
       },
@@ -313,9 +309,7 @@ class UitgaanstabelCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/views/flutterflowmobiel1.json?display_id=services_3',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'page': page,
         'townid': townid,
@@ -389,18 +383,14 @@ class UitgaanSliderCall {
   static Future<ApiCallResponse> call({
     int? page = 0,
     String? townid = '0',
-    String? displayId,
+    String? displayId = 'services_1',
   }) async {
-    displayId ??= '';
-
     return ApiManager.instance.makeApiCall(
       callName: 'UitgaanSlider',
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/views/flutterflowmobiel1.json?display_id=services_3',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'page': page,
         'townid': townid,
@@ -479,9 +469,7 @@ class EstablishmentInfoCall {
       apiUrl:
           'https://uitgaanskrant.com/en/flutterdrup/views/flutterflowmobiel_establishment_info.json?display_id=services_1',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'nid': nid,
       },
@@ -680,9 +668,7 @@ class HorecagelegenheidEventsCall {
       apiUrl:
           'https://uitgaanskrant.com/en/flutterdrup/views/flutterflowmobiel_establishment_events.json?display_id=services_1',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'horecanid': horecanid,
       },
@@ -745,9 +731,7 @@ class GemeentenCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/plaatsen.json?limit_levels=2',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'provincieid': provincieid,
       },
@@ -779,9 +763,7 @@ class ProvinciesCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/plaatsen.json?limit_levels=2',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {},
       returnBody: true,
       encodeBodyUtf8: false,
@@ -822,9 +804,7 @@ class EvenementCall {
       apiUrl:
           'https://uitgaanskrant.com/en/flutterdrup/views/flutterflow_events.json?display_id=services_1',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'nid': nid,
       },
@@ -927,9 +907,7 @@ class HorecagelegenheidoverzichtCall {
       apiUrl:
           'https://uitgaanskrant.com/nl/flutterdrup/views/flutterflowmobiel_establishments.json',
       callType: ApiCallType.GET,
-      headers: {
-        'Authorization': 'Basic Ym9iOnNlcmhpaQ==',
-      },
+      headers: {},
       params: {
         'horcat': horcat,
         'townid': townid,

+ 43 - 31
lib/evenement/evenement_component/evenement_component_widget.dart

@@ -405,39 +405,51 @@ class _EvenementComponentWidgetState extends State<EvenementComponentWidget>
                                 .fontStyle,
                           ),
                     ),
-                    InkWell(
-                      splashColor: Colors.transparent,
-                      focusColor: Colors.transparent,
-                      hoverColor: Colors.transparent,
-                      highlightColor: Colors.transparent,
-                      onTap: () async {
-                        await launchURL(EvenementCall.eventWebsiteg(
-                          columnEvenementResponse.jsonBody,
-                        )!);
-                      },
-                      child: Text(
-                        FFLocalizations.of(context).getText(
-                          'izrkv2a9' /* Website */,
-                        ),
-                        style: FlutterFlowTheme.of(context).bodyMedium.override(
-                              font: GoogleFonts.inter(
-                                fontWeight: FlutterFlowTheme.of(context)
-                                    .bodyMedium
-                                    .fontWeight,
-                                fontStyle: FlutterFlowTheme.of(context)
-                                    .bodyMedium
-                                    .fontStyle,
-                              ),
-                              letterSpacing: 0.0,
-                              fontWeight: FlutterFlowTheme.of(context)
-                                  .bodyMedium
-                                  .fontWeight,
-                              fontStyle: FlutterFlowTheme.of(context)
-                                  .bodyMedium
-                                  .fontStyle,
+                    if (EvenementCall.eventWebsiteg(
+                              columnEvenementResponse.jsonBody,
+                            ) !=
+                            null &&
+                        EvenementCall.eventWebsiteg(
+                              columnEvenementResponse.jsonBody,
+                            ) !=
+                            '')
+                      InkWell(
+                        splashColor: Colors.transparent,
+                        focusColor: Colors.transparent,
+                        hoverColor: Colors.transparent,
+                        highlightColor: Colors.transparent,
+                        onTap: () async {
+                          await launchURL(EvenementCall.eventWebsiteg(
+                            columnEvenementResponse.jsonBody,
+                          )!);
+                        },
+                        child: Text(
+                          valueOrDefault<String>(
+                            EvenementCall.eventWebsiteg(
+                              columnEvenementResponse.jsonBody,
                             ),
+                            'website',
+                          ),
+                          style:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.inter(
+                                      fontWeight: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .fontWeight,
+                                      fontStyle: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .fontStyle,
+                                    ),
+                                    letterSpacing: 0.0,
+                                    fontWeight: FlutterFlowTheme.of(context)
+                                        .bodyMedium
+                                        .fontWeight,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .bodyMedium
+                                        .fontStyle,
+                                  ),
+                        ),
                       ),
-                    ),
                     Text(
                       FFLocalizations.of(context).getText(
                         'lrjms1by' /* Hello World Contactveld */,

+ 120 - 119
lib/evenement/evenement_horecagelegenheid/evenement_horecagelegenheid_widget.dart

@@ -630,28 +630,47 @@ class _EvenementHorecagelegenheidWidgetState
                                   ),
                               ],
                             ),
-                            InkWell(
-                              splashColor: Colors.transparent,
-                              focusColor: Colors.transparent,
-                              hoverColor: Colors.transparent,
-                              highlightColor: Colors.transparent,
-                              onTap: () async {
-                                await launchURL(EstablishmentInfoCall
-                                    .establishmentMenukaart(
-                                  columnEstablishmentInfoResponse.jsonBody,
-                                )!);
-                              },
-                              child: Text(
-                                valueOrDefault<String>(
-                                  EstablishmentInfoCall.establishmentMenukaart(
+                            if (EstablishmentInfoCall.establishmentMenukaart(
+                                      columnEstablishmentInfoResponse.jsonBody,
+                                    ) !=
+                                    null &&
+                                EstablishmentInfoCall.establishmentMenukaart(
+                                      columnEstablishmentInfoResponse.jsonBody,
+                                    ) !=
+                                    '')
+                              InkWell(
+                                splashColor: Colors.transparent,
+                                focusColor: Colors.transparent,
+                                hoverColor: Colors.transparent,
+                                highlightColor: Colors.transparent,
+                                onTap: () async {
+                                  await launchURL(EstablishmentInfoCall
+                                      .establishmentMenukaart(
                                     columnEstablishmentInfoResponse.jsonBody,
+                                  )!);
+                                },
+                                child: Text(
+                                  valueOrDefault<String>(
+                                    EstablishmentInfoCall
+                                        .establishmentMenukaart(
+                                      columnEstablishmentInfoResponse.jsonBody,
+                                    ),
+                                    'menukaart',
                                   ),
-                                  'menukaart',
-                                ),
-                                style: FlutterFlowTheme.of(context)
-                                    .bodyMedium
-                                    .override(
-                                      font: GoogleFonts.inter(
+                                  style: FlutterFlowTheme.of(context)
+                                      .bodyMedium
+                                      .override(
+                                        font: GoogleFonts.inter(
+                                          fontWeight:
+                                              FlutterFlowTheme.of(context)
+                                                  .bodyMedium
+                                                  .fontWeight,
+                                          fontStyle:
+                                              FlutterFlowTheme.of(context)
+                                                  .bodyMedium
+                                                  .fontStyle,
+                                        ),
+                                        letterSpacing: 0.0,
                                         fontWeight: FlutterFlowTheme.of(context)
                                             .bodyMedium
                                             .fontWeight,
@@ -659,16 +678,8 @@ class _EvenementHorecagelegenheidWidgetState
                                             .bodyMedium
                                             .fontStyle,
                                       ),
-                                      letterSpacing: 0.0,
-                                      fontWeight: FlutterFlowTheme.of(context)
-                                          .bodyMedium
-                                          .fontWeight,
-                                      fontStyle: FlutterFlowTheme.of(context)
-                                          .bodyMedium
-                                          .fontStyle,
-                                    ),
+                                ),
                               ),
-                            ),
                             Container(
                               decoration: BoxDecoration(
                                 color: Color(0xFFC8B1B1),
@@ -816,30 +827,54 @@ class _EvenementHorecagelegenheidWidgetState
                                   Column(
                                     mainAxisSize: MainAxisSize.max,
                                     children: [
-                                      InkWell(
-                                        splashColor: Colors.transparent,
-                                        focusColor: Colors.transparent,
-                                        hoverColor: Colors.transparent,
-                                        highlightColor: Colors.transparent,
-                                        onTap: () async {
-                                          await launchURL(
-                                              valueOrDefault<String>(
-                                            EstablishmentInfoCall
-                                                .establishmentFacebook(
-                                              columnEstablishmentInfoResponse
-                                                  .jsonBody,
+                                      if (EstablishmentInfoCall
+                                                  .establishmentFacebook(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall
+                                                  .establishmentFacebook(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        InkWell(
+                                          splashColor: Colors.transparent,
+                                          focusColor: Colors.transparent,
+                                          hoverColor: Colors.transparent,
+                                          highlightColor: Colors.transparent,
+                                          onTap: () async {
+                                            await launchURL(
+                                                valueOrDefault<String>(
+                                              EstablishmentInfoCall
+                                                  .establishmentFacebook(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ),
+                                              'facebook',
+                                            ));
+                                          },
+                                          child: Text(
+                                            FFLocalizations.of(context).getText(
+                                              '8tvvqu63' /* Facebook */,
                                             ),
-                                            'facebook',
-                                          ));
-                                        },
-                                        child: Text(
-                                          FFLocalizations.of(context).getText(
-                                            '8tvvqu63' /* Facebook */,
-                                          ),
-                                          style: FlutterFlowTheme.of(context)
-                                              .bodyMedium
-                                              .override(
-                                                font: GoogleFonts.inter(
+                                            style: FlutterFlowTheme.of(context)
+                                                .bodyMedium
+                                                .override(
+                                                  font: GoogleFonts.inter(
+                                                    fontWeight:
+                                                        FlutterFlowTheme.of(
+                                                                context)
+                                                            .bodyMedium
+                                                            .fontWeight,
+                                                    fontStyle:
+                                                        FlutterFlowTheme.of(
+                                                                context)
+                                                            .bodyMedium
+                                                            .fontStyle,
+                                                  ),
+                                                  letterSpacing: 0.0,
                                                   fontWeight:
                                                       FlutterFlowTheme.of(
                                                               context)
@@ -851,34 +886,18 @@ class _EvenementHorecagelegenheidWidgetState
                                                           .bodyMedium
                                                           .fontStyle,
                                                 ),
-                                                letterSpacing: 0.0,
-                                                fontWeight:
-                                                    FlutterFlowTheme.of(context)
-                                                        .bodyMedium
-                                                        .fontWeight,
-                                                fontStyle:
-                                                    FlutterFlowTheme.of(context)
-                                                        .bodyMedium
-                                                        .fontStyle,
-                                              ),
+                                          ),
                                         ),
-                                      ),
-                                      if (valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentInstagram(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'instagram',
+                                      if (EstablishmentInfoCall
+                                                  .establishmentInstagram(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               null &&
-                                          valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentInstagram(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'instagram',
+                                          EstablishmentInfoCall
+                                                  .establishmentInstagram(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               '')
                                         InkWell(
@@ -930,22 +949,16 @@ class _EvenementHorecagelegenheidWidgetState
                                                 ),
                                           ),
                                         ),
-                                      if (valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentTwitter(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'twitter',
+                                      if (EstablishmentInfoCall
+                                                  .establishmentTwitter(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               null &&
-                                          valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentTwitter(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'twitter',
+                                          EstablishmentInfoCall
+                                                  .establishmentTwitter(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               '')
                                         InkWell(
@@ -994,22 +1007,16 @@ class _EvenementHorecagelegenheidWidgetState
                                                 ),
                                           ),
                                         ),
-                                      if (valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentWebsite(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'Website',
+                                      if (EstablishmentInfoCall
+                                                  .establishmentWebsite(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               null &&
-                                          valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentWebsite(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'Website',
+                                          EstablishmentInfoCall
+                                                  .establishmentWebsite(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               '')
                                         InkWell(
@@ -1061,22 +1068,16 @@ class _EvenementHorecagelegenheidWidgetState
                                                 ),
                                           ),
                                         ),
-                                      if (valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentURL(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'urluk',
+                                      if (EstablishmentInfoCall
+                                                  .establishmentURL(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               null &&
-                                          valueOrDefault<String>(
-                                                EstablishmentInfoCall
-                                                    .establishmentURL(
-                                                  columnEstablishmentInfoResponse
-                                                      .jsonBody,
-                                                ),
-                                                'urluk',
+                                          EstablishmentInfoCall
+                                                  .establishmentURL(
+                                                columnEstablishmentInfoResponse
+                                                    .jsonBody,
                                               ) !=
                                               '')
                                         InkWell(

+ 23 - 21
lib/evenement/evenement_info/evenement_info_widget.dart

@@ -259,33 +259,35 @@ class _EvenementInfoWidgetState extends State<EvenementInfoWidget>
               ),
             ],
           ),
-          InkWell(
-            splashColor: Colors.transparent,
-            focusColor: Colors.transparent,
-            hoverColor: Colors.transparent,
-            highlightColor: Colors.transparent,
-            onTap: () async {
-              await launchURL(widget!.website!);
-            },
-            child: Text(
-              FFLocalizations.of(context).getText(
-                'khjv0wcp' /* Website */,
-              ),
-              style: FlutterFlowTheme.of(context).bodyMedium.override(
-                    font: GoogleFonts.inter(
+          if (widget!.website != null && widget!.website != '')
+            InkWell(
+              splashColor: Colors.transparent,
+              focusColor: Colors.transparent,
+              hoverColor: Colors.transparent,
+              highlightColor: Colors.transparent,
+              onTap: () async {
+                await launchURL(widget!.website!);
+              },
+              child: Text(
+                valueOrDefault<String>(
+                  widget!.website,
+                  'website',
+                ),
+                style: FlutterFlowTheme.of(context).bodyMedium.override(
+                      font: GoogleFonts.inter(
+                        fontWeight:
+                            FlutterFlowTheme.of(context).bodyMedium.fontWeight,
+                        fontStyle:
+                            FlutterFlowTheme.of(context).bodyMedium.fontStyle,
+                      ),
+                      letterSpacing: 0.0,
                       fontWeight:
                           FlutterFlowTheme.of(context).bodyMedium.fontWeight,
                       fontStyle:
                           FlutterFlowTheme.of(context).bodyMedium.fontStyle,
                     ),
-                    letterSpacing: 0.0,
-                    fontWeight:
-                        FlutterFlowTheme.of(context).bodyMedium.fontWeight,
-                    fontStyle:
-                        FlutterFlowTheme.of(context).bodyMedium.fontStyle,
-                  ),
+              ),
             ),
-          ),
           if (widget!.contact != null && widget!.contact != '')
             Text(
               valueOrDefault<String>(

+ 1 - 0
lib/evenement/slider_uitgaan_component_small_current/slider_uitgaan_component_small_current_model.dart

@@ -1,3 +1,4 @@
+import '/backend/api_requests/api_calls.dart';
 import '/components/kaart_slider_uitgaan_s_comp_widget.dart';
 import '/flutter_flow/flutter_flow_theme.dart';
 import '/flutter_flow/flutter_flow_util.dart';

+ 181 - 137
lib/evenement/slider_uitgaan_component_small_current/slider_uitgaan_component_small_current_widget.dart

@@ -1,3 +1,4 @@
+import '/backend/api_requests/api_calls.dart';
 import '/components/kaart_slider_uitgaan_s_comp_widget.dart';
 import '/flutter_flow/flutter_flow_theme.dart';
 import '/flutter_flow/flutter_flow_util.dart';
@@ -103,154 +104,197 @@ class _SliderUitgaanComponentSmallCurrentWidgetState
 
     return Padding(
       padding: EdgeInsetsDirectional.fromSTEB(8.0, 0.0, 8.0, 0.0),
-      child: Builder(
-        builder: (context) {
-          final homeslider = getJsonField(
-            carouselResponse.jsonBody,
-            r'''$''',
-          ).toList().take(12).toList();
-          _model.debugGeneratorVariables[
-                  'homeslider${homeslider.length > 100 ? ' (first 100)' : ''}'] =
+      child: FutureBuilder<ApiCallResponse>(
+        future: HomeSliderCall.call(),
+        builder: (context, snapshot) {
+          // Customize what your widget looks like when it's loading.
+          if (!snapshot.hasData) {
+            return Center(
+              child: SizedBox(
+                width: 80.0,
+                height: 80.0,
+                child: SpinKitFadingCircle(
+                  color: Color(0xFFB1061E),
+                  size: 80.0,
+                ),
+              ),
+            );
+          }
+          final carouselHomeSliderResponse = snapshot.data!;
+          _model.debugBackendQueries[
+                  'HomeSliderCall_statusCode_Carousel_dbejz3zl'] =
+              debugSerializeParam(
+            carouselHomeSliderResponse.statusCode,
+            ParamType.int,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=slider-uitgaanComponent-SmallCurrent',
+            name: 'int',
+            nullable: false,
+          );
+          _model.debugBackendQueries[
+                  'HomeSliderCall_responseBody_Carousel_dbejz3zl'] =
               debugSerializeParam(
-            homeslider.take(100),
-            ParamType.JSON,
-            isList: true,
+            carouselHomeSliderResponse.bodyText,
+            ParamType.String,
             link:
                 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=slider-uitgaanComponent-SmallCurrent',
-            name: 'dynamic',
+            name: 'String',
             nullable: false,
           );
           debugLogWidgetClass(_model);
 
-          return Container(
-            width: double.infinity,
-            height: () {
-              if (MediaQuery.sizeOf(context).width < kBreakpointSmall) {
-                return 180.0;
-              } else if (MediaQuery.sizeOf(context).width < kBreakpointMedium) {
-                return 220.0;
-              } else if (MediaQuery.sizeOf(context).width < kBreakpointLarge) {
-                return 260.0;
-              } else {
-                return 300.0;
-              }
-            }(),
-            child: CarouselSlider.builder(
-              itemCount: homeslider.length,
-              itemBuilder: (context, homesliderIndex, _) {
-                final homesliderItem = homeslider[homesliderIndex];
-                return InkWell(
-                  splashColor: Colors.transparent,
-                  focusColor: Colors.transparent,
-                  hoverColor: Colors.transparent,
-                  highlightColor: Colors.transparent,
-                  onTap: () async {
-                    context.pushNamed(
-                      EventCurrentWidget.routeName,
-                      queryParameters: {
-                        'nid': serializeParam(
-                          getJsonField(
-                            homesliderItem,
-                            r'''$.nid''',
-                          ).toString(),
-                          ParamType.String,
-                        ),
-                        'horecaid': serializeParam(
-                          getJsonField(
-                            homesliderItem,
-                            r'''$.horecagelegenheidid''',
-                          ).toString(),
-                          ParamType.String,
+          return Builder(
+            builder: (context) {
+              final homeslider = getJsonField(
+                carouselHomeSliderResponse.jsonBody,
+                r'''$''',
+              ).toList().take(12).toList();
+              _model.debugGeneratorVariables[
+                      'homeslider${homeslider.length > 100 ? ' (first 100)' : ''}'] =
+                  debugSerializeParam(
+                homeslider.take(100),
+                ParamType.JSON,
+                isList: true,
+                link:
+                    'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=slider-uitgaanComponent-SmallCurrent',
+                name: 'dynamic',
+                nullable: false,
+              );
+              debugLogWidgetClass(_model);
+
+              return Container(
+                width: double.infinity,
+                height: () {
+                  if (MediaQuery.sizeOf(context).width < kBreakpointSmall) {
+                    return 180.0;
+                  } else if (MediaQuery.sizeOf(context).width <
+                      kBreakpointMedium) {
+                    return 220.0;
+                  } else if (MediaQuery.sizeOf(context).width <
+                      kBreakpointLarge) {
+                    return 260.0;
+                  } else {
+                    return 300.0;
+                  }
+                }(),
+                child: CarouselSlider.builder(
+                  itemCount: homeslider.length,
+                  itemBuilder: (context, homesliderIndex, _) {
+                    final homesliderItem = homeslider[homesliderIndex];
+                    return InkWell(
+                      splashColor: Colors.transparent,
+                      focusColor: Colors.transparent,
+                      hoverColor: Colors.transparent,
+                      highlightColor: Colors.transparent,
+                      onTap: () async {
+                        context.pushNamed(
+                          EventCurrentWidget.routeName,
+                          queryParameters: {
+                            'nid': serializeParam(
+                              getJsonField(
+                                homesliderItem,
+                                r'''$.nid''',
+                              ).toString(),
+                              ParamType.String,
+                            ),
+                            'horecaid': serializeParam(
+                              getJsonField(
+                                homesliderItem,
+                                r'''$.horecagelegenheidid''',
+                              ).toString(),
+                              ParamType.String,
+                            ),
+                          }.withoutNulls,
+                        );
+                      },
+                      child: Container(
+                        decoration: BoxDecoration(
+                          boxShadow: [
+                            BoxShadow(
+                              blurRadius: 4.0,
+                              color: Color(0x33000000),
+                              offset: Offset(
+                                15.0,
+                                15.0,
+                              ),
+                            )
+                          ],
+                          gradient: LinearGradient(
+                            colors: [Colors.white, Color(0xFFFACFC6)],
+                            stops: [0.0, 1.0],
+                            begin: AlignmentDirectional(0.0, -1.0),
+                            end: AlignmentDirectional(0, 1.0),
+                          ),
+                          borderRadius: BorderRadius.circular(25.0),
+                          border: Border.all(
+                            width: 2.0,
+                          ),
                         ),
-                      }.withoutNulls,
+                        child: Builder(builder: (_) {
+                          return DebugFlutterFlowModelContext(
+                            rootModel: _model.rootModel,
+                            parentModelCallback: (m) {
+                              _model.kaartSliderUitgaanSCompModels[
+                                  'Keyrcx_${homesliderIndex}_of_${homeslider.length}'] = m;
+                            },
+                            child: KaartSliderUitgaanSCompWidget(
+                              key: Key(
+                                  'Keyrcx_${homesliderIndex}_of_${homeslider.length}'),
+                              titel: getJsonField(
+                                homesliderItem,
+                                r'''$.titel''',
+                              ).toString(),
+                              datum: getJsonField(
+                                homesliderItem,
+                                r'''$.datum''',
+                              ).toString(),
+                              logo: getJsonField(
+                                homesliderItem,
+                                r'''$.logo''',
+                              ).toString(),
+                              categorie: (getJsonField(
+                                homesliderItem,
+                                r'''$.categorie''',
+                                true,
+                              ) as List?)
+                                  ?.map<String>((e) => e.toString())
+                                  .toList()
+                                  .cast<String>(),
+                              horecagelegenheid: getJsonField(
+                                homesliderItem,
+                                r'''$.horecagelegenheid''',
+                              ).toString(),
+                              adres: getJsonField(
+                                homesliderItem,
+                                r'''$.adres''',
+                              ).toString(),
+                              plaats: getJsonField(
+                                homesliderItem,
+                                r'''$.plaats''',
+                              ).toString(),
+                            ),
+                          );
+                        }),
+                      ),
                     );
                   },
-                  child: Container(
-                    decoration: BoxDecoration(
-                      boxShadow: [
-                        BoxShadow(
-                          blurRadius: 4.0,
-                          color: Color(0x33000000),
-                          offset: Offset(
-                            15.0,
-                            15.0,
-                          ),
-                        )
-                      ],
-                      gradient: LinearGradient(
-                        colors: [Colors.white, Color(0xFFFACFC6)],
-                        stops: [0.0, 1.0],
-                        begin: AlignmentDirectional(0.0, -1.0),
-                        end: AlignmentDirectional(0, 1.0),
-                      ),
-                      borderRadius: BorderRadius.circular(25.0),
-                      border: Border.all(
-                        width: 2.0,
-                      ),
-                    ),
-                    child: Builder(builder: (_) {
-                      return DebugFlutterFlowModelContext(
-                        rootModel: _model.rootModel,
-                        parentModelCallback: (m) {
-                          _model.kaartSliderUitgaanSCompModels[
-                              'Keyrcx_${homesliderIndex}_of_${homeslider.length}'] = m;
-                        },
-                        child: KaartSliderUitgaanSCompWidget(
-                          key: Key(
-                              'Keyrcx_${homesliderIndex}_of_${homeslider.length}'),
-                          titel: getJsonField(
-                            homesliderItem,
-                            r'''$.titel''',
-                          ).toString(),
-                          datum: getJsonField(
-                            homesliderItem,
-                            r'''$.datum''',
-                          ).toString(),
-                          logo: getJsonField(
-                            homesliderItem,
-                            r'''$.logo''',
-                          ).toString(),
-                          categorie: (getJsonField(
-                            homesliderItem,
-                            r'''$.categorie''',
-                            true,
-                          ) as List?)
-                              ?.map<String>((e) => e.toString())
-                              .toList()
-                              .cast<String>(),
-                          horecagelegenheid: getJsonField(
-                            homesliderItem,
-                            r'''$.horecagelegenheid''',
-                          ).toString(),
-                          adres: getJsonField(
-                            homesliderItem,
-                            r'''$.adres''',
-                          ).toString(),
-                          plaats: getJsonField(
-                            homesliderItem,
-                            r'''$.plaats''',
-                          ).toString(),
-                        ),
-                      );
-                    }),
+                  carouselController: _model.carouselController ??=
+                      CarouselSliderController(),
+                  options: CarouselOptions(
+                    initialPage: max(0, min(1, homeslider.length - 1)),
+                    viewportFraction: 0.75,
+                    disableCenter: true,
+                    enlargeCenterPage: true,
+                    enlargeFactor: 0.5,
+                    enableInfiniteScroll: true,
+                    scrollDirection: Axis.horizontal,
+                    autoPlay: false,
+                    onPageChanged: (index, _) =>
+                        _model.carouselCurrentIndex = index,
                   ),
-                );
-              },
-              carouselController: _model.carouselController ??=
-                  CarouselSliderController(),
-              options: CarouselOptions(
-                initialPage: max(0, min(1, homeslider.length - 1)),
-                viewportFraction: 0.75,
-                disableCenter: true,
-                enlargeCenterPage: true,
-                enlargeFactor: 0.5,
-                enableInfiniteScroll: true,
-                scrollDirection: Axis.horizontal,
-                autoPlay: false,
-                onPageChanged: (index, _) =>
-                    _model.carouselCurrentIndex = index,
-              ),
-            ),
+                ),
+              );
+            },
           );
         },
       ),

+ 2 - 0
lib/favorieten/favorieten_model.dart

@@ -1,7 +1,9 @@
+import '/backend/api_requests/api_calls.dart';
 import '/flutter_flow/flutter_flow_theme.dart';
 import '/flutter_flow/flutter_flow_util.dart';
 import '/flutter_flow/flutter_flow_widgets.dart';
 import 'dart:ui';
+import '/index.dart';
 import 'favorieten_widget.dart' show FavorietenWidget;
 import 'package:flutter/material.dart';
 import 'package:flutter_spinkit/flutter_spinkit.dart';

+ 163 - 22
lib/favorieten/favorieten_widget.dart

@@ -1,7 +1,9 @@
+import '/backend/api_requests/api_calls.dart';
 import '/flutter_flow/flutter_flow_theme.dart';
 import '/flutter_flow/flutter_flow_util.dart';
 import '/flutter_flow/flutter_flow_widgets.dart';
 import 'dart:ui';
+import '/index.dart';
 import 'package:flutter/material.dart';
 import 'package:flutter_spinkit/flutter_spinkit.dart';
 import 'package:google_fonts/google_fonts.dart';
@@ -245,29 +247,168 @@ class _FavorietenWidgetState extends State<FavorietenWidget>
                           Column(
                             mainAxisSize: MainAxisSize.max,
                             children: [
-                              Text(
-                                FFLocalizations.of(context).getText(
-                                  'gyuds6ee' /* Hello World */,
-                                ),
-                                style: FlutterFlowTheme.of(context)
-                                    .bodyMedium
-                                    .override(
-                                      font: GoogleFonts.inter(
-                                        fontWeight: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .fontWeight,
-                                        fontStyle: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .fontStyle,
+                              FutureBuilder<ApiCallResponse>(
+                                future: FavorietenAgendaCall.call(),
+                                builder: (context, snapshot) {
+                                  // Customize what your widget looks like when it's loading.
+                                  if (!snapshot.hasData) {
+                                    return Center(
+                                      child: SizedBox(
+                                        width: 80.0,
+                                        height: 80.0,
+                                        child: SpinKitFadingCircle(
+                                          color: Color(0xFFB1061E),
+                                          size: 80.0,
+                                        ),
                                       ),
-                                      letterSpacing: 0.0,
-                                      fontWeight: FlutterFlowTheme.of(context)
-                                          .bodyMedium
-                                          .fontWeight,
-                                      fontStyle: FlutterFlowTheme.of(context)
-                                          .bodyMedium
-                                          .fontStyle,
-                                    ),
+                                    );
+                                  }
+                                  final listViewFavorietenAgendaResponse =
+                                      snapshot.data!;
+                                  _model.debugBackendQueries[
+                                          'FavorietenAgendaCall_statusCode_ListView_5fedvgkl'] =
+                                      debugSerializeParam(
+                                    listViewFavorietenAgendaResponse.statusCode,
+                                    ParamType.int,
+                                    link:
+                                        'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=favorieten',
+                                    name: 'int',
+                                    nullable: false,
+                                  );
+                                  _model.debugBackendQueries[
+                                          'FavorietenAgendaCall_responseBody_ListView_5fedvgkl'] =
+                                      debugSerializeParam(
+                                    listViewFavorietenAgendaResponse.bodyText,
+                                    ParamType.String,
+                                    link:
+                                        'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=favorieten',
+                                    name: 'String',
+                                    nullable: false,
+                                  );
+                                  debugLogWidgetClass(_model);
+
+                                  return Builder(
+                                    builder: (context) {
+                                      final favorieteGelegenheidItem =
+                                          listViewFavorietenAgendaResponse
+                                              .jsonBody
+                                              .toList();
+                                      if (favorieteGelegenheidItem.isEmpty) {
+                                        return Image.asset(
+                                          'assets/images/logo800px.png',
+                                        );
+                                      }
+                                      _model.debugGeneratorVariables[
+                                              'favorieteGelegenheidItem${favorieteGelegenheidItem.length > 100 ? ' (first 100)' : ''}'] =
+                                          debugSerializeParam(
+                                        favorieteGelegenheidItem.take(100),
+                                        ParamType.JSON,
+                                        isList: true,
+                                        link:
+                                            'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=favorieten',
+                                        name: 'dynamic',
+                                        nullable: false,
+                                      );
+                                      debugLogWidgetClass(_model);
+
+                                      return ListView.builder(
+                                        padding: EdgeInsets.zero,
+                                        shrinkWrap: true,
+                                        scrollDirection: Axis.vertical,
+                                        itemCount:
+                                            favorieteGelegenheidItem.length,
+                                        itemBuilder: (context,
+                                            favorieteGelegenheidItemIndex) {
+                                          final favorieteGelegenheidItemItem =
+                                              favorieteGelegenheidItem[
+                                                  favorieteGelegenheidItemIndex];
+                                          return InkWell(
+                                            splashColor: Colors.transparent,
+                                            focusColor: Colors.transparent,
+                                            hoverColor: Colors.transparent,
+                                            highlightColor: Colors.transparent,
+                                            onTap: () async {
+                                              context.pushNamed(
+                                                HorecagelegenheidCurrentWidget
+                                                    .routeName,
+                                                queryParameters: {
+                                                  'nid': serializeParam(
+                                                    getJsonField(
+                                                      favorieteGelegenheidItemItem,
+                                                      r'''$.nid''',
+                                                    ).toString(),
+                                                    ParamType.String,
+                                                  ),
+                                                }.withoutNulls,
+                                              );
+                                            },
+                                            child: Material(
+                                              color: Colors.transparent,
+                                              child: ListTile(
+                                                title: Text(
+                                                  getJsonField(
+                                                    favorieteGelegenheidItemItem,
+                                                    r'''$.node_title''',
+                                                  ).toString(),
+                                                  style: FlutterFlowTheme.of(
+                                                          context)
+                                                      .titleLarge
+                                                      .override(
+                                                        font: GoogleFonts
+                                                            .interTight(
+                                                          fontWeight:
+                                                              FlutterFlowTheme.of(
+                                                                      context)
+                                                                  .titleLarge
+                                                                  .fontWeight,
+                                                          fontStyle:
+                                                              FlutterFlowTheme.of(
+                                                                      context)
+                                                                  .titleLarge
+                                                                  .fontStyle,
+                                                        ),
+                                                        letterSpacing: 0.0,
+                                                        fontWeight:
+                                                            FlutterFlowTheme.of(
+                                                                    context)
+                                                                .titleLarge
+                                                                .fontWeight,
+                                                        fontStyle:
+                                                            FlutterFlowTheme.of(
+                                                                    context)
+                                                                .titleLarge
+                                                                .fontStyle,
+                                                      ),
+                                                ),
+                                                trailing: Icon(
+                                                  Icons
+                                                      .arrow_forward_ios_rounded,
+                                                  color: FlutterFlowTheme.of(
+                                                          context)
+                                                      .secondaryText,
+                                                  size: 24.0,
+                                                ),
+                                                tileColor:
+                                                    FlutterFlowTheme.of(context)
+                                                        .secondaryBackground,
+                                                dense: false,
+                                                contentPadding:
+                                                    EdgeInsetsDirectional
+                                                        .fromSTEB(12.0, 0.0,
+                                                            12.0, 0.0),
+                                                shape: RoundedRectangleBorder(
+                                                  borderRadius:
+                                                      BorderRadius.circular(
+                                                          8.0),
+                                                ),
+                                              ),
+                                            ),
+                                          );
+                                        },
+                                      );
+                                    },
+                                  );
+                                },
                               ),
                             ],
                           ),

+ 2 - 10
lib/flutter_flow/internationalization.dart

@@ -429,8 +429,8 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
       'nl': 'Favoriete Gelegenheden',
       'en': '',
     },
-    'gyuds6ee': {
-      'nl': 'Hello World',
+    'zddkbm3e': {
+      'nl': '',
       'en': '',
     },
     'xyig2ny4': {
@@ -668,10 +668,6 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
       'nl': '15 euro',
       'en': '',
     },
-    'izrkv2a9': {
-      'nl': 'Website',
-      'en': '',
-    },
     'lrjms1by': {
       'nl': 'Hello World Contactveld',
       'en': '',
@@ -730,10 +726,6 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
       'nl': 'Entree: ',
       'en': '',
     },
-    'khjv0wcp': {
-      'nl': 'Website',
-      'en': '',
-    },
   },
   // HorecagelegenheidoverzichtKaart
   {

+ 497 - 315
lib/horecagelegenhedenoverzicht/horecagelegenheid_current/horecagelegenheid_current_widget.dart

@@ -535,16 +535,40 @@ class _HorecagelegenheidCurrentWidgetState
                                           fit: BoxFit.cover,
                                         ),
                                       ),
-                                      Text(
-                                        getJsonField(
-                                          horecagelegenheidCurrentEstablishmentInfoResponse
-                                              .jsonBody,
-                                          r'''$[:].adres''',
-                                        ).toString(),
-                                        style: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .override(
-                                              font: GoogleFonts.inter(
+                                      if (EstablishmentInfoCall
+                                                  .establishmentAdres(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall
+                                                  .establishmentAdres(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        Text(
+                                          getJsonField(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                            r'''$[:].adres''',
+                                          ).toString(),
+                                          style: FlutterFlowTheme.of(context)
+                                              .bodyMedium
+                                              .override(
+                                                font: GoogleFonts.inter(
+                                                  fontWeight:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontWeight,
+                                                  fontStyle:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontStyle,
+                                                ),
+                                                letterSpacing: 0.0,
                                                 fontWeight:
                                                     FlutterFlowTheme.of(context)
                                                         .bodyMedium
@@ -554,27 +578,41 @@ class _HorecagelegenheidCurrentWidgetState
                                                         .bodyMedium
                                                         .fontStyle,
                                               ),
-                                              letterSpacing: 0.0,
-                                              fontWeight:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontWeight,
-                                              fontStyle:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontStyle,
-                                            ),
-                                      ),
-                                      Text(
-                                        getJsonField(
-                                          horecagelegenheidCurrentEstablishmentInfoResponse
-                                              .jsonBody,
-                                          r'''$[:].plaats''',
-                                        ).toString(),
-                                        style: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .override(
-                                              font: GoogleFonts.inter(
+                                        ),
+                                      if (EstablishmentInfoCall
+                                                  .establishmentPlaats(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall
+                                                  .establishmentPlaats(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        Text(
+                                          getJsonField(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                            r'''$[:].plaats''',
+                                          ).toString(),
+                                          style: FlutterFlowTheme.of(context)
+                                              .bodyMedium
+                                              .override(
+                                                font: GoogleFonts.inter(
+                                                  fontWeight:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontWeight,
+                                                  fontStyle:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontStyle,
+                                                ),
+                                                letterSpacing: 0.0,
                                                 fontWeight:
                                                     FlutterFlowTheme.of(context)
                                                         .bodyMedium
@@ -584,27 +622,41 @@ class _HorecagelegenheidCurrentWidgetState
                                                         .bodyMedium
                                                         .fontStyle,
                                               ),
-                                              letterSpacing: 0.0,
-                                              fontWeight:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontWeight,
-                                              fontStyle:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontStyle,
-                                            ),
-                                      ),
-                                      Text(
-                                        getJsonField(
-                                          horecagelegenheidCurrentEstablishmentInfoResponse
-                                              .jsonBody,
-                                          r'''$[:].telefoonnummer''',
-                                        ).toString(),
-                                        style: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .override(
-                                              font: GoogleFonts.inter(
+                                        ),
+                                      if (EstablishmentInfoCall
+                                                  .establishmentTelefoonnummer(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall
+                                                  .establishmentTelefoonnummer(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        Text(
+                                          getJsonField(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                            r'''$[:].telefoonnummer''',
+                                          ).toString(),
+                                          style: FlutterFlowTheme.of(context)
+                                              .bodyMedium
+                                              .override(
+                                                font: GoogleFonts.inter(
+                                                  fontWeight:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontWeight,
+                                                  fontStyle:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontStyle,
+                                                ),
+                                                letterSpacing: 0.0,
                                                 fontWeight:
                                                     FlutterFlowTheme.of(context)
                                                         .bodyMedium
@@ -614,27 +666,41 @@ class _HorecagelegenheidCurrentWidgetState
                                                         .bodyMedium
                                                         .fontStyle,
                                               ),
-                                              letterSpacing: 0.0,
-                                              fontWeight:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontWeight,
-                                              fontStyle:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontStyle,
-                                            ),
-                                      ),
-                                      Text(
-                                        getJsonField(
-                                          horecagelegenheidCurrentEstablishmentInfoResponse
-                                              .jsonBody,
-                                          r'''$[:].email''',
-                                        ).toString(),
-                                        style: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .override(
-                                              font: GoogleFonts.inter(
+                                        ),
+                                      if (EstablishmentInfoCall
+                                                  .establishmentEmail(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall
+                                                  .establishmentEmail(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        Text(
+                                          getJsonField(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                            r'''$[:].email''',
+                                          ).toString(),
+                                          style: FlutterFlowTheme.of(context)
+                                              .bodyMedium
+                                              .override(
+                                                font: GoogleFonts.inter(
+                                                  fontWeight:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontWeight,
+                                                  fontStyle:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontStyle,
+                                                ),
+                                                letterSpacing: 0.0,
                                                 fontWeight:
                                                     FlutterFlowTheme.of(context)
                                                         .bodyMedium
@@ -644,27 +710,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                         .bodyMedium
                                                         .fontStyle,
                                               ),
-                                              letterSpacing: 0.0,
-                                              fontWeight:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontWeight,
-                                              fontStyle:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontStyle,
-                                            ),
-                                      ),
-                                      Text(
-                                        getJsonField(
-                                          horecagelegenheidCurrentEstablishmentInfoResponse
-                                              .jsonBody,
-                                          r'''$[:].kvk''',
-                                        ).toString(),
-                                        style: FlutterFlowTheme.of(context)
-                                            .bodyMedium
-                                            .override(
-                                              font: GoogleFonts.inter(
+                                        ),
+                                      if (EstablishmentInfoCall.establshmentKvk(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              null &&
+                                          EstablishmentInfoCall.establshmentKvk(
+                                                horecagelegenheidCurrentEstablishmentInfoResponse
+                                                    .jsonBody,
+                                              ) !=
+                                              '')
+                                        Text(
+                                          getJsonField(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                            r'''$[:].kvk''',
+                                          ).toString(),
+                                          style: FlutterFlowTheme.of(context)
+                                              .bodyMedium
+                                              .override(
+                                                font: GoogleFonts.inter(
+                                                  fontWeight:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontWeight,
+                                                  fontStyle:
+                                                      FlutterFlowTheme.of(
+                                                              context)
+                                                          .bodyMedium
+                                                          .fontStyle,
+                                                ),
+                                                letterSpacing: 0.0,
                                                 fontWeight:
                                                     FlutterFlowTheme.of(context)
                                                         .bodyMedium
@@ -674,17 +752,7 @@ class _HorecagelegenheidCurrentWidgetState
                                                         .bodyMedium
                                                         .fontStyle,
                                               ),
-                                              letterSpacing: 0.0,
-                                              fontWeight:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontWeight,
-                                              fontStyle:
-                                                  FlutterFlowTheme.of(context)
-                                                      .bodyMedium
-                                                      .fontStyle,
-                                            ),
-                                      ),
+                                        ),
                                       Builder(
                                         builder: (context) {
                                           final cryptocoins =
@@ -795,16 +863,38 @@ class _HorecagelegenheidCurrentWidgetState
                               Column(
                                 mainAxisSize: MainAxisSize.max,
                                 children: [
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].website''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                  if (EstablishmentInfoCall
+                                              .establishmentWebsite(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentWebsite(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].website''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -814,27 +904,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].menukaart''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentMenukaart(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentMenukaart(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].menukaart''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -844,27 +946,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].facebook''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentFacebook(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentFacebook(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].facebook''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -874,27 +988,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].twitter''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentTwitter(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentTwitter(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].twitter''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -904,27 +1030,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].instagram''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentInstagram(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentInstagram(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].instagram''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -934,17 +1072,7 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
+                                    ),
                                 ],
                               ),
                               Column(
@@ -980,16 +1108,38 @@ class _HorecagelegenheidCurrentWidgetState
                                                   .fontStyle,
                                         ),
                                   ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].bestellink''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                  if (EstablishmentInfoCall
+                                              .establshmentBestellink(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establshmentBestellink(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].bestellink''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -999,27 +1149,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].bezorgtijden''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentOpeningstijden(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentOpeningstijden(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].bezorgtijden''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -1029,27 +1191,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].bezorgkosten''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentBezorgkosten(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentBezorgkosten(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].bezorgkosten''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -1059,27 +1233,39 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].minimaleorder''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (EstablishmentInfoCall
+                                              .establishmentMinimaleorder(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          null &&
+                                      EstablishmentInfoCall
+                                              .establishmentMinimaleorder(
+                                            horecagelegenheidCurrentEstablishmentInfoResponse
+                                                .jsonBody,
+                                          ) !=
+                                          '')
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].minimaleorder''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -1089,27 +1275,33 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
-                                  Text(
-                                    getJsonField(
-                                      horecagelegenheidCurrentEstablishmentInfoResponse
-                                          .jsonBody,
-                                      r'''$[:].thuisbezorgtbetaalopties''',
-                                    ).toString(),
-                                    style: FlutterFlowTheme.of(context)
-                                        .bodyMedium
-                                        .override(
-                                          font: GoogleFonts.inter(
+                                    ),
+                                  if (getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].thuisbezorgtbetaalopties''',
+                                      ) !=
+                                      null)
+                                    Text(
+                                      getJsonField(
+                                        horecagelegenheidCurrentEstablishmentInfoResponse
+                                            .jsonBody,
+                                        r'''$[:].thuisbezorgtbetaalopties''',
+                                      ).toString(),
+                                      style: FlutterFlowTheme.of(context)
+                                          .bodyMedium
+                                          .override(
+                                            font: GoogleFonts.inter(
+                                              fontWeight:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontWeight,
+                                              fontStyle:
+                                                  FlutterFlowTheme.of(context)
+                                                      .bodyMedium
+                                                      .fontStyle,
+                                            ),
+                                            letterSpacing: 0.0,
                                             fontWeight:
                                                 FlutterFlowTheme.of(context)
                                                     .bodyMedium
@@ -1119,17 +1311,7 @@ class _HorecagelegenheidCurrentWidgetState
                                                     .bodyMedium
                                                     .fontStyle,
                                           ),
-                                          letterSpacing: 0.0,
-                                          fontWeight:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontWeight,
-                                          fontStyle:
-                                              FlutterFlowTheme.of(context)
-                                                  .bodyMedium
-                                                  .fontStyle,
-                                        ),
-                                  ),
+                                    ),
                                   Text(
                                     getJsonField(
                                       horecagelegenheidCurrentEstablishmentInfoResponse

+ 2 - 12
lib/selecteer_plaats/select_state_drop_down_component/select_state_drop_down_component_widget.dart

@@ -48,11 +48,13 @@ class _SelectStateDropDownComponentWidgetState
       if (!(FFAppState().provincieSelectId != null &&
           FFAppState().provincieSelectId != '')) {
         FFAppState().provincieSelectId = '28666';
+        FFAppState().provincieSelectNaam = 'Noord-Holland';
         safeSetState(() {});
       }
       if (!(FFAppState().gemeenteSelectId != null &&
           FFAppState().gemeenteSelectId != '')) {
         FFAppState().gemeenteSelectId = '28694';
+        FFAppState().gemeenteSelectNaam = 'Amsterdam (gemeente)';
         safeSetState(() {});
       }
       _model.apiProvincieResults = await ProvinciesCall.call();
@@ -67,18 +69,6 @@ class _SelectStateDropDownComponentWidgetState
             .toList()
             .cast<ProvincieModelStruct>();
         FFAppState().update(() {});
-        ScaffoldMessenger.of(context).showSnackBar(
-          SnackBar(
-            content: Text(
-              'Provincies: \${FFAppState.provincielijst.length}',
-              style: TextStyle(
-                color: FlutterFlowTheme.of(context).primaryText,
-              ),
-            ),
-            duration: Duration(milliseconds: 4000),
-            backgroundColor: FlutterFlowTheme.of(context).secondary,
-          ),
-        );
       } else {
         FFAppState().deleteProvincielijst();
         FFAppState().provincielijst = [];