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:carousel_slider/carousel_slider.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; import 'package:flutter_spinkit/flutter_spinkit.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; import 'evenement_horecagelegenheid_model.dart'; export 'evenement_horecagelegenheid_model.dart'; class EvenementHorecagelegenheidWidget extends StatefulWidget { const EvenementHorecagelegenheidWidget({ super.key, required this.establishmentID, }); final String? establishmentID; @override State createState() => _EvenementHorecagelegenheidWidgetState(); } class _EvenementHorecagelegenheidWidgetState extends State with TickerProviderStateMixin, RouteAware { late EvenementHorecagelegenheidModel _model; @override void setState(VoidCallback callback) { super.setState(callback); _model.onUpdate(); } @override void initState() { super.initState(); _model = createModel(context, () => EvenementHorecagelegenheidModel()); _model.tabBarController = TabController( vsync: this, length: 3, initialIndex: 0, ) ..addListener(() => safeSetState(() {})) ..addListener(() { debugLogWidgetClass(_model); }); } @override void dispose() { routeObserver.unsubscribe(this); _model.maybeDispose(); super.dispose(); } @override void didUpdateWidget(EvenementHorecagelegenheidWidget oldWidget) { super.didUpdateWidget(oldWidget); _model.widget = widget; } @override void didChangeDependencies() { super.didChangeDependencies(); final route = DebugModalRoute.of(context); if (route != null) { routeObserver.subscribe(this, route); } debugLogGlobalProperty(context); } @override void didPopNext() { if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) { setState(() => _model.isRouteVisible = true); debugLogWidgetClass(_model); } } @override void didPush() { if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) { setState(() => _model.isRouteVisible = true); debugLogWidgetClass(_model); } } @override void didPop() { _model.isRouteVisible = false; } @override void didPushNext() { _model.isRouteVisible = false; } @override Widget build(BuildContext context) { DebugFlutterFlowModelContext.maybeOf(context) ?.parentModelCallback ?.call(_model); return FutureBuilder( future: EstablishmentInfoCall.call( nid: widget!.establishmentID, ), 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 columnEstablishmentInfoResponse = snapshot.data!; _model.debugBackendQueries[ 'EstablishmentInfoCall_statusCode_Column_g5wjludw'] = debugSerializeParam( columnEstablishmentInfoResponse.statusCode, ParamType.int, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'int', nullable: false, ); _model.debugBackendQueries[ 'EstablishmentInfoCall_responseBody_Column_g5wjludw'] = debugSerializeParam( columnEstablishmentInfoResponse.bodyText, ParamType.String, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Column( mainAxisSize: MainAxisSize.max, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed( HorecagelegenheidCurrentWidget.routeName, queryParameters: { 'nid': serializeParam( widget!.establishmentID, ParamType.String, ), }.withoutNulls, ); }, child: Text( valueOrDefault( EstablishmentInfoCall.establshmentTitel( columnEstablishmentInfoResponse.jsonBody, ), 'HorecaNaam', ), style: FlutterFlowTheme.of(context).headlineLarge.override( font: GoogleFonts.interTight( fontWeight: FlutterFlowTheme.of(context) .headlineLarge .fontWeight, fontStyle: FlutterFlowTheme.of(context) .headlineLarge .fontStyle, ), letterSpacing: 0.0, fontWeight: FlutterFlowTheme.of(context).headlineLarge.fontWeight, fontStyle: FlutterFlowTheme.of(context).headlineLarge.fontStyle, ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 8.0), child: Builder( builder: (context) { final categoriehoreca = EstablishmentInfoCall.establishmentCategorie( columnEstablishmentInfoResponse.jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'categoriehoreca${categoriehoreca.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( categoriehoreca.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: List.generate(categoriehoreca.length, (categoriehorecaIndex) { final categoriehorecaItem = categoriehoreca[categoriehorecaIndex]; return Container( decoration: BoxDecoration( color: Color(0xFFC84E4E), boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset( 0.0, 2.0, ), ) ], ), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 2.0, 0.0, 2.0, 0.0), child: Text( categoriehorecaItem, 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, ), ), ), ); }), ); }, ), ), Builder( builder: (context) { final fotoos = EstablishmentInfoCall.establishmentFotoos( columnEstablishmentInfoResponse.jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( fotoos.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Container( width: double.infinity, height: 200.0, child: CarouselSlider.builder( itemCount: fotoos.length, itemBuilder: (context, fotoosIndex, _) { final fotoosItem = fotoos[fotoosIndex]; return Builder( builder: (context) { if (fotoosItem != null && fotoosItem != '') { return ClipRRect( borderRadius: BorderRadius.circular(8.0), child: CachedNetworkImage( fadeInDuration: Duration(milliseconds: 500), fadeOutDuration: Duration(milliseconds: 500), imageUrl: fotoosItem, width: 200.0, height: 200.0, fit: BoxFit.cover, ), ); } else { return Icon( Icons.image_not_supported, color: FlutterFlowTheme.of(context).primaryText, size: 24.0, ); } }, ); }, carouselController: _model.carouselController ??= CarouselSliderController(), options: CarouselOptions( initialPage: max(0, min(1, fotoos.length - 1)), viewportFraction: 0.5, disableCenter: true, enlargeCenterPage: true, enlargeFactor: 0.25, enableInfiniteScroll: true, scrollDirection: Axis.horizontal, autoPlay: false, onPageChanged: (index, _) => _model.carouselCurrentIndex = index, ), ), ); }, ), Expanded( child: Column( children: [ Align( alignment: Alignment(0.0, 0), child: TabBar( labelColor: FlutterFlowTheme.of(context).primaryText, unselectedLabelColor: FlutterFlowTheme.of(context).secondaryText, labelStyle: FlutterFlowTheme.of(context).titleMedium.override( font: GoogleFonts.interTight( fontWeight: FlutterFlowTheme.of(context) .titleMedium .fontWeight, fontStyle: FlutterFlowTheme.of(context) .titleMedium .fontStyle, ), letterSpacing: 0.0, fontWeight: FlutterFlowTheme.of(context) .titleMedium .fontWeight, fontStyle: FlutterFlowTheme.of(context) .titleMedium .fontStyle, ), unselectedLabelStyle: FlutterFlowTheme.of(context).titleMedium.override( font: GoogleFonts.interTight( fontWeight: FlutterFlowTheme.of(context) .titleMedium .fontWeight, fontStyle: FlutterFlowTheme.of(context) .titleMedium .fontStyle, ), letterSpacing: 0.0, fontWeight: FlutterFlowTheme.of(context) .titleMedium .fontWeight, fontStyle: FlutterFlowTheme.of(context) .titleMedium .fontStyle, ), indicatorColor: FlutterFlowTheme.of(context).primary, tabs: [ Tab( text: FFLocalizations.of(context).getText( 'ubuux42u' /* Info */, ), ), Tab( text: FFLocalizations.of(context).getText( 'mlojriz0' /* Openingstijden */, ), ), Tab( text: FFLocalizations.of(context).getText( '5tdut8bf' /* Bezorgen */, ), ), ], controller: _model.tabBarController, onTap: (i) async { [() async {}, () async {}, () async {}][i](); }, ), ), Expanded( child: TabBarView( controller: _model.tabBarController, children: [ Column( mainAxisSize: MainAxisSize.max, children: [ Text( valueOrDefault( widget!.establishmentID, 'establishmentnid', ), 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( valueOrDefault( EstablishmentInfoCall.establishmentEmail( columnEstablishmentInfoResponse.jsonBody, ), 'email', ), 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, ), ), ClipRRect( borderRadius: BorderRadius.circular(8.0), child: CachedNetworkImage( fadeInDuration: Duration(milliseconds: 500), fadeOutDuration: Duration(milliseconds: 500), imageUrl: valueOrDefault( EstablishmentInfoCall.establshmentLogo( columnEstablishmentInfoResponse.jsonBody, ), 'Logo', ), width: MediaQuery.sizeOf(context).width * 0.15, height: 200.0, fit: BoxFit.cover, ), ), Row( mainAxisSize: MainAxisSize.max, children: [ Icon( Icons.house, color: FlutterFlowTheme.of(context).primaryText, size: 24.0, ), Flexible( child: Text( valueOrDefault( EstablishmentInfoCall.establishmentPlaats( columnEstablishmentInfoResponse .jsonBody, ), 'Plaats', ), 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, ), ), ), Flexible( child: Text( valueOrDefault( EstablishmentInfoCall.establishmentAdres( columnEstablishmentInfoResponse .jsonBody, ), 'Adres', ), 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, ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Icon( Icons.phone_sharp, color: FlutterFlowTheme.of(context).primaryText, size: 24.0, ), if (valueOrDefault( EstablishmentInfoCall .establishmentTelefoonnummer( columnEstablishmentInfoResponse .jsonBody, ), 'Telefoon', ) != null && valueOrDefault( EstablishmentInfoCall .establishmentTelefoonnummer( columnEstablishmentInfoResponse .jsonBody, ), 'Telefoon', ) != '') Flexible( child: Text( valueOrDefault( EstablishmentInfoCall .establishmentTelefoonnummer( columnEstablishmentInfoResponse .jsonBody, ), 'Telefoon', ), 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 (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( EstablishmentInfoCall .establishmentMenukaart( columnEstablishmentInfoResponse.jsonBody, ), 'menukaart', ), 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, ), ), ), Container( decoration: BoxDecoration( color: Color(0xFFC8B1B1), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ Text( FFLocalizations.of(context).getText( 'lo8ciqtb' /* Entree */, ), 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, ), ), Column( mainAxisSize: MainAxisSize.max, children: [ Text( valueOrDefault( EstablishmentInfoCall .establishmentEntreeprijs( columnEstablishmentInfoResponse .jsonBody, ), 'entreeprijs', ), 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( valueOrDefault( EstablishmentInfoCall .establishmentEntreeToelichting( columnEstablishmentInfoResponse .jsonBody, ), 'EntreeToelichting', ), 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, ), ), ], ), ], ), ), Container( decoration: BoxDecoration( color: Color(0xFFC28080), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ Text( FFLocalizations.of(context).getText( 'au8x5mei' /* Contact */, ), 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, ), ), Column( mainAxisSize: MainAxisSize.max, children: [ 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( EstablishmentInfoCall .establishmentFacebook( columnEstablishmentInfoResponse .jsonBody, ), 'facebook', )); }, child: Text( FFLocalizations.of(context).getText( '8tvvqu63' /* Facebook */, ), 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 (EstablishmentInfoCall .establishmentInstagram( columnEstablishmentInfoResponse .jsonBody, ) != null && EstablishmentInfoCall .establishmentInstagram( columnEstablishmentInfoResponse .jsonBody, ) != '') InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { await launchURL( valueOrDefault( EstablishmentInfoCall .establishmentInstagram( columnEstablishmentInfoResponse .jsonBody, ), 'instagram', )); }, child: Text( FFLocalizations.of(context).getText( 'kp1lfaac' /* Instagram */, ), 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 (EstablishmentInfoCall .establishmentTwitter( columnEstablishmentInfoResponse .jsonBody, ) != null && EstablishmentInfoCall .establishmentTwitter( columnEstablishmentInfoResponse .jsonBody, ) != '') InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { await launchURL( EstablishmentInfoCall .establishmentTwitter( columnEstablishmentInfoResponse .jsonBody, )!); }, child: Text( FFLocalizations.of(context).getText( 'ktqsytma' /* X/Twitter */, ), 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 (EstablishmentInfoCall .establishmentWebsite( columnEstablishmentInfoResponse .jsonBody, ) != null && EstablishmentInfoCall .establishmentWebsite( columnEstablishmentInfoResponse .jsonBody, ) != '') InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { await launchURL( valueOrDefault( EstablishmentInfoCall .establishmentWebsite( columnEstablishmentInfoResponse .jsonBody, ), 'Website', )); }, child: Text( FFLocalizations.of(context).getText( 'vkwayrhq' /* 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 (EstablishmentInfoCall .establishmentURL( columnEstablishmentInfoResponse .jsonBody, ) != null && EstablishmentInfoCall .establishmentURL( columnEstablishmentInfoResponse .jsonBody, ) != '') InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { await launchURL( valueOrDefault( EstablishmentInfoCall .establishmentURL( columnEstablishmentInfoResponse .jsonBody, ), 'urluk', )); }, child: Text( FFLocalizations.of(context).getText( 'cxpo1x6d' /* 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, ), ), ), ], ), ], ), ), ], ), Column( mainAxisSize: MainAxisSize.max, children: [ Text( FFLocalizations.of(context).getText( 'axwdkgtg' /* Hello World */, ), 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 (EstablishmentInfoCall .establishmentOpeningstijden( columnEstablishmentInfoResponse.jsonBody, ) != null && EstablishmentInfoCall .establishmentOpeningstijden( columnEstablishmentInfoResponse.jsonBody, ) != '') Text( valueOrDefault( EstablishmentInfoCall .establishmentOpeningstijden( columnEstablishmentInfoResponse.jsonBody, ), 'Openingstijden', ), 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( valueOrDefault( EstablishmentInfoCall .establshmentOpeningUitzondering( columnEstablishmentInfoResponse.jsonBody, ), 'OpeningstijdenUitzondering', ), 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, ), ), ], ), Column( mainAxisSize: MainAxisSize.max, children: [ Builder( builder: (context) { final cryptocoins = EstablishmentInfoCall .establishmentCryptocoins( columnEstablishmentInfoResponse.jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( cryptocoins.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Column( mainAxisSize: MainAxisSize.max, children: List.generate(cryptocoins.length, (cryptocoinsIndex) { final cryptocoinsItem = cryptocoins[cryptocoinsIndex]; return Text( cryptocoinsItem, 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( valueOrDefault( EstablishmentInfoCall.establishmentbezorgtijden( columnEstablishmentInfoResponse.jsonBody, ), 'Bezorgtijden', ), 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( valueOrDefault( EstablishmentInfoCall.establishmentBezorgkosten( columnEstablishmentInfoResponse.jsonBody, ), 'bezorgkosten', ), 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( valueOrDefault( EstablishmentInfoCall.establshmentBestellink( columnEstablishmentInfoResponse.jsonBody, ), 'bestellink', ), 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, ), ), Builder( builder: (context) { final afhaalopties = EstablishmentInfoCall .establishmentAfhaalopties( columnEstablishmentInfoResponse.jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'afhaalopties${afhaalopties.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( afhaalopties.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: List.generate(afhaalopties.length, (afhaaloptiesIndex) { final afhaaloptiesItem = afhaalopties[afhaaloptiesIndex]; return Visibility( visible: afhaaloptiesItem != null && afhaaloptiesItem != '', child: Text( afhaaloptiesItem, 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( valueOrDefault( EstablishmentInfoCall .establishmentMinimaleorder( columnEstablishmentInfoResponse.jsonBody, ), 'minimale order', ), 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, ), ), Builder( builder: (context) { final afhaalbetaalopties = EstablishmentInfoCall .establishmentbezorgbetaalopties( columnEstablishmentInfoResponse.jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'afhaalbetaalopties${afhaalbetaalopties.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( afhaalbetaalopties.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: List.generate(afhaalbetaalopties.length, (afhaalbetaaloptiesIndex) { final afhaalbetaaloptiesItem = afhaalbetaalopties[ afhaalbetaaloptiesIndex]; return Visibility( visible: afhaalbetaaloptiesItem != null && afhaalbetaaloptiesItem != '', child: Text( afhaalbetaaloptiesItem, 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, ), ), ); }), ); }, ), Builder( builder: (context) { final bezorgtin = EstablishmentInfoCall.establshmentBezorgtin( columnEstablishmentInfoResponse .jsonBody, )?.toList() ?? []; _model.debugGeneratorVariables[ 'bezorgtin${bezorgtin.length > 100 ? ' (first 100)' : ''}'] = debugSerializeParam( bezorgtin.take(100), ParamType.String, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid', name: 'String', nullable: false, ); debugLogWidgetClass(_model); return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: List.generate(bezorgtin.length, (bezorgtinIndex) { final bezorgtinItem = bezorgtin[bezorgtinIndex]; return Text( bezorgtinItem, 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, ), ); }), ); }, ), ], ), ], ), ), ], ), ), ], ); }, ); } }