evenement_horecagelegenheid_widget.dart 84 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/flutter_flow/flutter_flow_theme.dart';
  3. import '/flutter_flow/flutter_flow_util.dart';
  4. import '/flutter_flow/flutter_flow_widgets.dart';
  5. import 'dart:ui';
  6. import '/index.dart';
  7. import 'package:carousel_slider/carousel_slider.dart';
  8. import 'package:cached_network_image/cached_network_image.dart';
  9. import 'package:flutter/material.dart';
  10. import 'package:flutter_spinkit/flutter_spinkit.dart';
  11. import 'package:google_fonts/google_fonts.dart';
  12. import 'package:provider/provider.dart';
  13. import 'evenement_horecagelegenheid_model.dart';
  14. export 'evenement_horecagelegenheid_model.dart';
  15. class EvenementHorecagelegenheidWidget extends StatefulWidget {
  16. const EvenementHorecagelegenheidWidget({
  17. super.key,
  18. required this.establishmentID,
  19. });
  20. final String? establishmentID;
  21. @override
  22. State<EvenementHorecagelegenheidWidget> createState() =>
  23. _EvenementHorecagelegenheidWidgetState();
  24. }
  25. class _EvenementHorecagelegenheidWidgetState
  26. extends State<EvenementHorecagelegenheidWidget>
  27. with TickerProviderStateMixin, RouteAware {
  28. late EvenementHorecagelegenheidModel _model;
  29. @override
  30. void setState(VoidCallback callback) {
  31. super.setState(callback);
  32. _model.onUpdate();
  33. }
  34. @override
  35. void initState() {
  36. super.initState();
  37. _model = createModel(context, () => EvenementHorecagelegenheidModel());
  38. _model.tabBarController = TabController(
  39. vsync: this,
  40. length: 3,
  41. initialIndex: 0,
  42. )
  43. ..addListener(() => safeSetState(() {}))
  44. ..addListener(() {
  45. debugLogWidgetClass(_model);
  46. });
  47. }
  48. @override
  49. void dispose() {
  50. routeObserver.unsubscribe(this);
  51. _model.maybeDispose();
  52. super.dispose();
  53. }
  54. @override
  55. void didUpdateWidget(EvenementHorecagelegenheidWidget oldWidget) {
  56. super.didUpdateWidget(oldWidget);
  57. _model.widget = widget;
  58. }
  59. @override
  60. void didChangeDependencies() {
  61. super.didChangeDependencies();
  62. final route = DebugModalRoute.of(context);
  63. if (route != null) {
  64. routeObserver.subscribe(this, route);
  65. }
  66. debugLogGlobalProperty(context);
  67. }
  68. @override
  69. void didPopNext() {
  70. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  71. setState(() => _model.isRouteVisible = true);
  72. debugLogWidgetClass(_model);
  73. }
  74. }
  75. @override
  76. void didPush() {
  77. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  78. setState(() => _model.isRouteVisible = true);
  79. debugLogWidgetClass(_model);
  80. }
  81. }
  82. @override
  83. void didPop() {
  84. _model.isRouteVisible = false;
  85. }
  86. @override
  87. void didPushNext() {
  88. _model.isRouteVisible = false;
  89. }
  90. @override
  91. Widget build(BuildContext context) {
  92. DebugFlutterFlowModelContext.maybeOf(context)
  93. ?.parentModelCallback
  94. ?.call(_model);
  95. return FutureBuilder<ApiCallResponse>(
  96. future: EstablishmentInfoCall.call(
  97. nid: widget!.establishmentID,
  98. ),
  99. builder: (context, snapshot) {
  100. // Customize what your widget looks like when it's loading.
  101. if (!snapshot.hasData) {
  102. return Center(
  103. child: SizedBox(
  104. width: 80.0,
  105. height: 80.0,
  106. child: SpinKitFadingCircle(
  107. color: Color(0xFFB1061E),
  108. size: 80.0,
  109. ),
  110. ),
  111. );
  112. }
  113. final columnEstablishmentInfoResponse = snapshot.data!;
  114. _model.debugBackendQueries[
  115. 'EstablishmentInfoCall_statusCode_Column_g5wjludw'] =
  116. debugSerializeParam(
  117. columnEstablishmentInfoResponse.statusCode,
  118. ParamType.int,
  119. link:
  120. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  121. name: 'int',
  122. nullable: false,
  123. );
  124. _model.debugBackendQueries[
  125. 'EstablishmentInfoCall_responseBody_Column_g5wjludw'] =
  126. debugSerializeParam(
  127. columnEstablishmentInfoResponse.bodyText,
  128. ParamType.String,
  129. link:
  130. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  131. name: 'String',
  132. nullable: false,
  133. );
  134. debugLogWidgetClass(_model);
  135. return Column(
  136. mainAxisSize: MainAxisSize.max,
  137. children: [
  138. InkWell(
  139. splashColor: Colors.transparent,
  140. focusColor: Colors.transparent,
  141. hoverColor: Colors.transparent,
  142. highlightColor: Colors.transparent,
  143. onTap: () async {
  144. context.pushNamed(
  145. HorecagelegenheidCurrentWidget.routeName,
  146. queryParameters: {
  147. 'nid': serializeParam(
  148. widget!.establishmentID,
  149. ParamType.String,
  150. ),
  151. }.withoutNulls,
  152. );
  153. },
  154. child: Text(
  155. valueOrDefault<String>(
  156. EstablishmentInfoCall.establshmentTitel(
  157. columnEstablishmentInfoResponse.jsonBody,
  158. ),
  159. 'HorecaNaam',
  160. ),
  161. style: FlutterFlowTheme.of(context).headlineLarge.override(
  162. font: GoogleFonts.interTight(
  163. fontWeight: FlutterFlowTheme.of(context)
  164. .headlineLarge
  165. .fontWeight,
  166. fontStyle: FlutterFlowTheme.of(context)
  167. .headlineLarge
  168. .fontStyle,
  169. ),
  170. letterSpacing: 0.0,
  171. fontWeight:
  172. FlutterFlowTheme.of(context).headlineLarge.fontWeight,
  173. fontStyle:
  174. FlutterFlowTheme.of(context).headlineLarge.fontStyle,
  175. ),
  176. ),
  177. ),
  178. Padding(
  179. padding: EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 8.0),
  180. child: Builder(
  181. builder: (context) {
  182. final categoriehoreca =
  183. EstablishmentInfoCall.establishmentCategorie(
  184. columnEstablishmentInfoResponse.jsonBody,
  185. )?.toList() ??
  186. [];
  187. _model.debugGeneratorVariables[
  188. 'categoriehoreca${categoriehoreca.length > 100 ? ' (first 100)' : ''}'] =
  189. debugSerializeParam(
  190. categoriehoreca.take(100),
  191. ParamType.String,
  192. isList: true,
  193. link:
  194. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  195. name: 'String',
  196. nullable: false,
  197. );
  198. debugLogWidgetClass(_model);
  199. return Row(
  200. mainAxisSize: MainAxisSize.max,
  201. children: List.generate(categoriehoreca.length,
  202. (categoriehorecaIndex) {
  203. final categoriehorecaItem =
  204. categoriehoreca[categoriehorecaIndex];
  205. return Container(
  206. decoration: BoxDecoration(
  207. color: Color(0xFFC84E4E),
  208. boxShadow: [
  209. BoxShadow(
  210. blurRadius: 4.0,
  211. color: Color(0x33000000),
  212. offset: Offset(
  213. 0.0,
  214. 2.0,
  215. ),
  216. )
  217. ],
  218. ),
  219. child: Padding(
  220. padding: EdgeInsetsDirectional.fromSTEB(
  221. 2.0, 0.0, 2.0, 0.0),
  222. child: Text(
  223. categoriehorecaItem,
  224. style: FlutterFlowTheme.of(context)
  225. .bodyMedium
  226. .override(
  227. font: GoogleFonts.inter(
  228. fontWeight: FlutterFlowTheme.of(context)
  229. .bodyMedium
  230. .fontWeight,
  231. fontStyle: FlutterFlowTheme.of(context)
  232. .bodyMedium
  233. .fontStyle,
  234. ),
  235. letterSpacing: 0.0,
  236. fontWeight: FlutterFlowTheme.of(context)
  237. .bodyMedium
  238. .fontWeight,
  239. fontStyle: FlutterFlowTheme.of(context)
  240. .bodyMedium
  241. .fontStyle,
  242. ),
  243. ),
  244. ),
  245. );
  246. }),
  247. );
  248. },
  249. ),
  250. ),
  251. Builder(
  252. builder: (context) {
  253. final fotoos = EstablishmentInfoCall.establishmentFotoos(
  254. columnEstablishmentInfoResponse.jsonBody,
  255. )?.toList() ??
  256. [];
  257. _model.debugGeneratorVariables[
  258. 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
  259. debugSerializeParam(
  260. fotoos.take(100),
  261. ParamType.String,
  262. isList: true,
  263. link:
  264. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  265. name: 'String',
  266. nullable: false,
  267. );
  268. debugLogWidgetClass(_model);
  269. return Container(
  270. width: double.infinity,
  271. height: 200.0,
  272. child: CarouselSlider.builder(
  273. itemCount: fotoos.length,
  274. itemBuilder: (context, fotoosIndex, _) {
  275. final fotoosItem = fotoos[fotoosIndex];
  276. return Builder(
  277. builder: (context) {
  278. if (fotoosItem != null && fotoosItem != '') {
  279. return ClipRRect(
  280. borderRadius: BorderRadius.circular(8.0),
  281. child: CachedNetworkImage(
  282. fadeInDuration: Duration(milliseconds: 500),
  283. fadeOutDuration: Duration(milliseconds: 500),
  284. imageUrl: fotoosItem,
  285. width: 200.0,
  286. height: 200.0,
  287. fit: BoxFit.cover,
  288. ),
  289. );
  290. } else {
  291. return Icon(
  292. Icons.image_not_supported,
  293. color: FlutterFlowTheme.of(context).primaryText,
  294. size: 24.0,
  295. );
  296. }
  297. },
  298. );
  299. },
  300. carouselController: _model.carouselController ??=
  301. CarouselSliderController(),
  302. options: CarouselOptions(
  303. initialPage: max(0, min(1, fotoos.length - 1)),
  304. viewportFraction: 0.5,
  305. disableCenter: true,
  306. enlargeCenterPage: true,
  307. enlargeFactor: 0.25,
  308. enableInfiniteScroll: true,
  309. scrollDirection: Axis.horizontal,
  310. autoPlay: false,
  311. onPageChanged: (index, _) =>
  312. _model.carouselCurrentIndex = index,
  313. ),
  314. ),
  315. );
  316. },
  317. ),
  318. Expanded(
  319. child: Column(
  320. children: [
  321. Align(
  322. alignment: Alignment(0.0, 0),
  323. child: TabBar(
  324. labelColor: FlutterFlowTheme.of(context).primaryText,
  325. unselectedLabelColor:
  326. FlutterFlowTheme.of(context).secondaryText,
  327. labelStyle:
  328. FlutterFlowTheme.of(context).titleMedium.override(
  329. font: GoogleFonts.interTight(
  330. fontWeight: FlutterFlowTheme.of(context)
  331. .titleMedium
  332. .fontWeight,
  333. fontStyle: FlutterFlowTheme.of(context)
  334. .titleMedium
  335. .fontStyle,
  336. ),
  337. letterSpacing: 0.0,
  338. fontWeight: FlutterFlowTheme.of(context)
  339. .titleMedium
  340. .fontWeight,
  341. fontStyle: FlutterFlowTheme.of(context)
  342. .titleMedium
  343. .fontStyle,
  344. ),
  345. unselectedLabelStyle:
  346. FlutterFlowTheme.of(context).titleMedium.override(
  347. font: GoogleFonts.interTight(
  348. fontWeight: FlutterFlowTheme.of(context)
  349. .titleMedium
  350. .fontWeight,
  351. fontStyle: FlutterFlowTheme.of(context)
  352. .titleMedium
  353. .fontStyle,
  354. ),
  355. letterSpacing: 0.0,
  356. fontWeight: FlutterFlowTheme.of(context)
  357. .titleMedium
  358. .fontWeight,
  359. fontStyle: FlutterFlowTheme.of(context)
  360. .titleMedium
  361. .fontStyle,
  362. ),
  363. indicatorColor: FlutterFlowTheme.of(context).primary,
  364. tabs: [
  365. Tab(
  366. text: FFLocalizations.of(context).getText(
  367. 'ubuux42u' /* Info */,
  368. ),
  369. ),
  370. Tab(
  371. text: FFLocalizations.of(context).getText(
  372. 'mlojriz0' /* Openingstijden */,
  373. ),
  374. ),
  375. Tab(
  376. text: FFLocalizations.of(context).getText(
  377. '5tdut8bf' /* Bezorgen */,
  378. ),
  379. ),
  380. ],
  381. controller: _model.tabBarController,
  382. onTap: (i) async {
  383. [() async {}, () async {}, () async {}][i]();
  384. },
  385. ),
  386. ),
  387. Expanded(
  388. child: TabBarView(
  389. controller: _model.tabBarController,
  390. children: [
  391. Column(
  392. mainAxisSize: MainAxisSize.max,
  393. children: [
  394. Text(
  395. valueOrDefault<String>(
  396. widget!.establishmentID,
  397. 'establishmentnid',
  398. ),
  399. style: FlutterFlowTheme.of(context)
  400. .bodyMedium
  401. .override(
  402. font: GoogleFonts.inter(
  403. fontWeight: FlutterFlowTheme.of(context)
  404. .bodyMedium
  405. .fontWeight,
  406. fontStyle: FlutterFlowTheme.of(context)
  407. .bodyMedium
  408. .fontStyle,
  409. ),
  410. letterSpacing: 0.0,
  411. fontWeight: FlutterFlowTheme.of(context)
  412. .bodyMedium
  413. .fontWeight,
  414. fontStyle: FlutterFlowTheme.of(context)
  415. .bodyMedium
  416. .fontStyle,
  417. ),
  418. ),
  419. Text(
  420. valueOrDefault<String>(
  421. EstablishmentInfoCall.establishmentEmail(
  422. columnEstablishmentInfoResponse.jsonBody,
  423. ),
  424. 'email',
  425. ),
  426. style: FlutterFlowTheme.of(context)
  427. .bodyMedium
  428. .override(
  429. font: GoogleFonts.inter(
  430. fontWeight: FlutterFlowTheme.of(context)
  431. .bodyMedium
  432. .fontWeight,
  433. fontStyle: FlutterFlowTheme.of(context)
  434. .bodyMedium
  435. .fontStyle,
  436. ),
  437. letterSpacing: 0.0,
  438. fontWeight: FlutterFlowTheme.of(context)
  439. .bodyMedium
  440. .fontWeight,
  441. fontStyle: FlutterFlowTheme.of(context)
  442. .bodyMedium
  443. .fontStyle,
  444. ),
  445. ),
  446. ClipRRect(
  447. borderRadius: BorderRadius.circular(8.0),
  448. child: CachedNetworkImage(
  449. fadeInDuration: Duration(milliseconds: 500),
  450. fadeOutDuration: Duration(milliseconds: 500),
  451. imageUrl: valueOrDefault<String>(
  452. EstablishmentInfoCall.establshmentLogo(
  453. columnEstablishmentInfoResponse.jsonBody,
  454. ),
  455. 'Logo',
  456. ),
  457. width: MediaQuery.sizeOf(context).width * 0.15,
  458. height: 200.0,
  459. fit: BoxFit.cover,
  460. ),
  461. ),
  462. Row(
  463. mainAxisSize: MainAxisSize.max,
  464. children: [
  465. Icon(
  466. Icons.house,
  467. color:
  468. FlutterFlowTheme.of(context).primaryText,
  469. size: 24.0,
  470. ),
  471. Flexible(
  472. child: Text(
  473. valueOrDefault<String>(
  474. EstablishmentInfoCall.establishmentPlaats(
  475. columnEstablishmentInfoResponse
  476. .jsonBody,
  477. ),
  478. 'Plaats',
  479. ),
  480. style: FlutterFlowTheme.of(context)
  481. .bodyMedium
  482. .override(
  483. font: GoogleFonts.inter(
  484. fontWeight:
  485. FlutterFlowTheme.of(context)
  486. .bodyMedium
  487. .fontWeight,
  488. fontStyle:
  489. FlutterFlowTheme.of(context)
  490. .bodyMedium
  491. .fontStyle,
  492. ),
  493. letterSpacing: 0.0,
  494. fontWeight:
  495. FlutterFlowTheme.of(context)
  496. .bodyMedium
  497. .fontWeight,
  498. fontStyle:
  499. FlutterFlowTheme.of(context)
  500. .bodyMedium
  501. .fontStyle,
  502. ),
  503. ),
  504. ),
  505. Flexible(
  506. child: Text(
  507. valueOrDefault<String>(
  508. EstablishmentInfoCall.establishmentAdres(
  509. columnEstablishmentInfoResponse
  510. .jsonBody,
  511. ),
  512. 'Adres',
  513. ),
  514. style: FlutterFlowTheme.of(context)
  515. .bodyMedium
  516. .override(
  517. font: GoogleFonts.inter(
  518. fontWeight:
  519. FlutterFlowTheme.of(context)
  520. .bodyMedium
  521. .fontWeight,
  522. fontStyle:
  523. FlutterFlowTheme.of(context)
  524. .bodyMedium
  525. .fontStyle,
  526. ),
  527. letterSpacing: 0.0,
  528. fontWeight:
  529. FlutterFlowTheme.of(context)
  530. .bodyMedium
  531. .fontWeight,
  532. fontStyle:
  533. FlutterFlowTheme.of(context)
  534. .bodyMedium
  535. .fontStyle,
  536. ),
  537. ),
  538. ),
  539. ],
  540. ),
  541. Row(
  542. mainAxisSize: MainAxisSize.max,
  543. children: [
  544. Icon(
  545. Icons.phone_sharp,
  546. color:
  547. FlutterFlowTheme.of(context).primaryText,
  548. size: 24.0,
  549. ),
  550. if (valueOrDefault<String>(
  551. EstablishmentInfoCall
  552. .establishmentTelefoonnummer(
  553. columnEstablishmentInfoResponse
  554. .jsonBody,
  555. ),
  556. 'Telefoon',
  557. ) !=
  558. null &&
  559. valueOrDefault<String>(
  560. EstablishmentInfoCall
  561. .establishmentTelefoonnummer(
  562. columnEstablishmentInfoResponse
  563. .jsonBody,
  564. ),
  565. 'Telefoon',
  566. ) !=
  567. '')
  568. Flexible(
  569. child: Text(
  570. valueOrDefault<String>(
  571. EstablishmentInfoCall
  572. .establishmentTelefoonnummer(
  573. columnEstablishmentInfoResponse
  574. .jsonBody,
  575. ),
  576. 'Telefoon',
  577. ),
  578. style: FlutterFlowTheme.of(context)
  579. .bodyMedium
  580. .override(
  581. font: GoogleFonts.inter(
  582. fontWeight:
  583. FlutterFlowTheme.of(context)
  584. .bodyMedium
  585. .fontWeight,
  586. fontStyle:
  587. FlutterFlowTheme.of(context)
  588. .bodyMedium
  589. .fontStyle,
  590. ),
  591. letterSpacing: 0.0,
  592. fontWeight:
  593. FlutterFlowTheme.of(context)
  594. .bodyMedium
  595. .fontWeight,
  596. fontStyle:
  597. FlutterFlowTheme.of(context)
  598. .bodyMedium
  599. .fontStyle,
  600. ),
  601. ),
  602. ),
  603. ],
  604. ),
  605. InkWell(
  606. splashColor: Colors.transparent,
  607. focusColor: Colors.transparent,
  608. hoverColor: Colors.transparent,
  609. highlightColor: Colors.transparent,
  610. onTap: () async {
  611. await launchURL(EstablishmentInfoCall
  612. .establishmentMenukaart(
  613. columnEstablishmentInfoResponse.jsonBody,
  614. )!);
  615. },
  616. child: Text(
  617. valueOrDefault<String>(
  618. EstablishmentInfoCall.establishmentMenukaart(
  619. columnEstablishmentInfoResponse.jsonBody,
  620. ),
  621. 'menukaart',
  622. ),
  623. style: FlutterFlowTheme.of(context)
  624. .bodyMedium
  625. .override(
  626. font: GoogleFonts.inter(
  627. fontWeight: FlutterFlowTheme.of(context)
  628. .bodyMedium
  629. .fontWeight,
  630. fontStyle: FlutterFlowTheme.of(context)
  631. .bodyMedium
  632. .fontStyle,
  633. ),
  634. letterSpacing: 0.0,
  635. fontWeight: FlutterFlowTheme.of(context)
  636. .bodyMedium
  637. .fontWeight,
  638. fontStyle: FlutterFlowTheme.of(context)
  639. .bodyMedium
  640. .fontStyle,
  641. ),
  642. ),
  643. ),
  644. Container(
  645. decoration: BoxDecoration(
  646. color: Color(0xFFC8B1B1),
  647. ),
  648. child: Row(
  649. mainAxisSize: MainAxisSize.max,
  650. children: [
  651. Text(
  652. FFLocalizations.of(context).getText(
  653. 'lo8ciqtb' /* Entree */,
  654. ),
  655. style: FlutterFlowTheme.of(context)
  656. .bodyMedium
  657. .override(
  658. font: GoogleFonts.inter(
  659. fontWeight:
  660. FlutterFlowTheme.of(context)
  661. .bodyMedium
  662. .fontWeight,
  663. fontStyle:
  664. FlutterFlowTheme.of(context)
  665. .bodyMedium
  666. .fontStyle,
  667. ),
  668. letterSpacing: 0.0,
  669. fontWeight:
  670. FlutterFlowTheme.of(context)
  671. .bodyMedium
  672. .fontWeight,
  673. fontStyle:
  674. FlutterFlowTheme.of(context)
  675. .bodyMedium
  676. .fontStyle,
  677. ),
  678. ),
  679. Column(
  680. mainAxisSize: MainAxisSize.max,
  681. children: [
  682. Text(
  683. valueOrDefault<String>(
  684. EstablishmentInfoCall
  685. .establishmentEntreeprijs(
  686. columnEstablishmentInfoResponse
  687. .jsonBody,
  688. ),
  689. 'entreeprijs',
  690. ),
  691. style: FlutterFlowTheme.of(context)
  692. .bodyMedium
  693. .override(
  694. font: GoogleFonts.inter(
  695. fontWeight:
  696. FlutterFlowTheme.of(context)
  697. .bodyMedium
  698. .fontWeight,
  699. fontStyle:
  700. FlutterFlowTheme.of(context)
  701. .bodyMedium
  702. .fontStyle,
  703. ),
  704. letterSpacing: 0.0,
  705. fontWeight:
  706. FlutterFlowTheme.of(context)
  707. .bodyMedium
  708. .fontWeight,
  709. fontStyle:
  710. FlutterFlowTheme.of(context)
  711. .bodyMedium
  712. .fontStyle,
  713. ),
  714. ),
  715. Text(
  716. valueOrDefault<String>(
  717. EstablishmentInfoCall
  718. .establishmentEntreeToelichting(
  719. columnEstablishmentInfoResponse
  720. .jsonBody,
  721. ),
  722. 'EntreeToelichting',
  723. ),
  724. style: FlutterFlowTheme.of(context)
  725. .bodyMedium
  726. .override(
  727. font: GoogleFonts.inter(
  728. fontWeight:
  729. FlutterFlowTheme.of(context)
  730. .bodyMedium
  731. .fontWeight,
  732. fontStyle:
  733. FlutterFlowTheme.of(context)
  734. .bodyMedium
  735. .fontStyle,
  736. ),
  737. letterSpacing: 0.0,
  738. fontWeight:
  739. FlutterFlowTheme.of(context)
  740. .bodyMedium
  741. .fontWeight,
  742. fontStyle:
  743. FlutterFlowTheme.of(context)
  744. .bodyMedium
  745. .fontStyle,
  746. ),
  747. ),
  748. ],
  749. ),
  750. ],
  751. ),
  752. ),
  753. Container(
  754. decoration: BoxDecoration(
  755. color: Color(0xFFC28080),
  756. ),
  757. child: Row(
  758. mainAxisSize: MainAxisSize.max,
  759. children: [
  760. Text(
  761. FFLocalizations.of(context).getText(
  762. 'au8x5mei' /* Contact */,
  763. ),
  764. style: FlutterFlowTheme.of(context)
  765. .bodyMedium
  766. .override(
  767. font: GoogleFonts.inter(
  768. fontWeight:
  769. FlutterFlowTheme.of(context)
  770. .bodyMedium
  771. .fontWeight,
  772. fontStyle:
  773. FlutterFlowTheme.of(context)
  774. .bodyMedium
  775. .fontStyle,
  776. ),
  777. letterSpacing: 0.0,
  778. fontWeight:
  779. FlutterFlowTheme.of(context)
  780. .bodyMedium
  781. .fontWeight,
  782. fontStyle:
  783. FlutterFlowTheme.of(context)
  784. .bodyMedium
  785. .fontStyle,
  786. ),
  787. ),
  788. Column(
  789. mainAxisSize: MainAxisSize.max,
  790. children: [
  791. if (valueOrDefault<String>(
  792. EstablishmentInfoCall
  793. .establishmentFacebook(
  794. columnEstablishmentInfoResponse
  795. .jsonBody,
  796. ),
  797. 'facebook',
  798. ) !=
  799. null &&
  800. valueOrDefault<String>(
  801. EstablishmentInfoCall
  802. .establishmentFacebook(
  803. columnEstablishmentInfoResponse
  804. .jsonBody,
  805. ),
  806. 'facebook',
  807. ) !=
  808. '')
  809. InkWell(
  810. splashColor: Colors.transparent,
  811. focusColor: Colors.transparent,
  812. hoverColor: Colors.transparent,
  813. highlightColor: Colors.transparent,
  814. onTap: () async {
  815. await launchURL(
  816. valueOrDefault<String>(
  817. EstablishmentInfoCall
  818. .establishmentFacebook(
  819. columnEstablishmentInfoResponse
  820. .jsonBody,
  821. ),
  822. 'facebook',
  823. ));
  824. },
  825. child: Text(
  826. FFLocalizations.of(context).getText(
  827. '8tvvqu63' /* Facebook */,
  828. ),
  829. style: FlutterFlowTheme.of(context)
  830. .bodyMedium
  831. .override(
  832. font: GoogleFonts.inter(
  833. fontWeight:
  834. FlutterFlowTheme.of(
  835. context)
  836. .bodyMedium
  837. .fontWeight,
  838. fontStyle:
  839. FlutterFlowTheme.of(
  840. context)
  841. .bodyMedium
  842. .fontStyle,
  843. ),
  844. letterSpacing: 0.0,
  845. fontWeight:
  846. FlutterFlowTheme.of(
  847. context)
  848. .bodyMedium
  849. .fontWeight,
  850. fontStyle:
  851. FlutterFlowTheme.of(
  852. context)
  853. .bodyMedium
  854. .fontStyle,
  855. ),
  856. ),
  857. ),
  858. if (valueOrDefault<String>(
  859. EstablishmentInfoCall
  860. .establishmentInstagram(
  861. columnEstablishmentInfoResponse
  862. .jsonBody,
  863. ),
  864. 'instagram',
  865. ) !=
  866. null &&
  867. valueOrDefault<String>(
  868. EstablishmentInfoCall
  869. .establishmentInstagram(
  870. columnEstablishmentInfoResponse
  871. .jsonBody,
  872. ),
  873. 'instagram',
  874. ) !=
  875. '')
  876. InkWell(
  877. splashColor: Colors.transparent,
  878. focusColor: Colors.transparent,
  879. hoverColor: Colors.transparent,
  880. highlightColor: Colors.transparent,
  881. onTap: () async {
  882. await launchURL(
  883. valueOrDefault<String>(
  884. EstablishmentInfoCall
  885. .establishmentInstagram(
  886. columnEstablishmentInfoResponse
  887. .jsonBody,
  888. ),
  889. 'instagram',
  890. ));
  891. },
  892. child: Text(
  893. FFLocalizations.of(context).getText(
  894. 'kp1lfaac' /* Instagram */,
  895. ),
  896. style: FlutterFlowTheme.of(context)
  897. .bodyMedium
  898. .override(
  899. font: GoogleFonts.inter(
  900. fontWeight:
  901. FlutterFlowTheme.of(
  902. context)
  903. .bodyMedium
  904. .fontWeight,
  905. fontStyle:
  906. FlutterFlowTheme.of(
  907. context)
  908. .bodyMedium
  909. .fontStyle,
  910. ),
  911. letterSpacing: 0.0,
  912. fontWeight:
  913. FlutterFlowTheme.of(
  914. context)
  915. .bodyMedium
  916. .fontWeight,
  917. fontStyle:
  918. FlutterFlowTheme.of(
  919. context)
  920. .bodyMedium
  921. .fontStyle,
  922. ),
  923. ),
  924. ),
  925. if (valueOrDefault<String>(
  926. EstablishmentInfoCall
  927. .establishmentTwitter(
  928. columnEstablishmentInfoResponse
  929. .jsonBody,
  930. ),
  931. 'twitter',
  932. ) !=
  933. null &&
  934. valueOrDefault<String>(
  935. EstablishmentInfoCall
  936. .establishmentTwitter(
  937. columnEstablishmentInfoResponse
  938. .jsonBody,
  939. ),
  940. 'twitter',
  941. ) !=
  942. '')
  943. InkWell(
  944. splashColor: Colors.transparent,
  945. focusColor: Colors.transparent,
  946. hoverColor: Colors.transparent,
  947. highlightColor: Colors.transparent,
  948. onTap: () async {
  949. await launchURL(
  950. EstablishmentInfoCall
  951. .establishmentTwitter(
  952. columnEstablishmentInfoResponse
  953. .jsonBody,
  954. )!);
  955. },
  956. child: Text(
  957. FFLocalizations.of(context).getText(
  958. 'ktqsytma' /* X/Twitter */,
  959. ),
  960. style: FlutterFlowTheme.of(context)
  961. .bodyMedium
  962. .override(
  963. font: GoogleFonts.inter(
  964. fontWeight:
  965. FlutterFlowTheme.of(
  966. context)
  967. .bodyMedium
  968. .fontWeight,
  969. fontStyle:
  970. FlutterFlowTheme.of(
  971. context)
  972. .bodyMedium
  973. .fontStyle,
  974. ),
  975. letterSpacing: 0.0,
  976. fontWeight:
  977. FlutterFlowTheme.of(
  978. context)
  979. .bodyMedium
  980. .fontWeight,
  981. fontStyle:
  982. FlutterFlowTheme.of(
  983. context)
  984. .bodyMedium
  985. .fontStyle,
  986. ),
  987. ),
  988. ),
  989. if (valueOrDefault<String>(
  990. EstablishmentInfoCall
  991. .establishmentWebsite(
  992. columnEstablishmentInfoResponse
  993. .jsonBody,
  994. ),
  995. 'Website',
  996. ) !=
  997. null &&
  998. valueOrDefault<String>(
  999. EstablishmentInfoCall
  1000. .establishmentWebsite(
  1001. columnEstablishmentInfoResponse
  1002. .jsonBody,
  1003. ),
  1004. 'Website',
  1005. ) !=
  1006. '')
  1007. InkWell(
  1008. splashColor: Colors.transparent,
  1009. focusColor: Colors.transparent,
  1010. hoverColor: Colors.transparent,
  1011. highlightColor: Colors.transparent,
  1012. onTap: () async {
  1013. await launchURL(
  1014. valueOrDefault<String>(
  1015. EstablishmentInfoCall
  1016. .establishmentWebsite(
  1017. columnEstablishmentInfoResponse
  1018. .jsonBody,
  1019. ),
  1020. 'Website',
  1021. ));
  1022. },
  1023. child: Text(
  1024. FFLocalizations.of(context).getText(
  1025. 'vkwayrhq' /* Website */,
  1026. ),
  1027. style: FlutterFlowTheme.of(context)
  1028. .bodyMedium
  1029. .override(
  1030. font: GoogleFonts.inter(
  1031. fontWeight:
  1032. FlutterFlowTheme.of(
  1033. context)
  1034. .bodyMedium
  1035. .fontWeight,
  1036. fontStyle:
  1037. FlutterFlowTheme.of(
  1038. context)
  1039. .bodyMedium
  1040. .fontStyle,
  1041. ),
  1042. letterSpacing: 0.0,
  1043. fontWeight:
  1044. FlutterFlowTheme.of(
  1045. context)
  1046. .bodyMedium
  1047. .fontWeight,
  1048. fontStyle:
  1049. FlutterFlowTheme.of(
  1050. context)
  1051. .bodyMedium
  1052. .fontStyle,
  1053. ),
  1054. ),
  1055. ),
  1056. if (valueOrDefault<String>(
  1057. EstablishmentInfoCall
  1058. .establishmentURL(
  1059. columnEstablishmentInfoResponse
  1060. .jsonBody,
  1061. ),
  1062. 'urluk',
  1063. ) !=
  1064. null &&
  1065. valueOrDefault<String>(
  1066. EstablishmentInfoCall
  1067. .establishmentURL(
  1068. columnEstablishmentInfoResponse
  1069. .jsonBody,
  1070. ),
  1071. 'urluk',
  1072. ) !=
  1073. '')
  1074. InkWell(
  1075. splashColor: Colors.transparent,
  1076. focusColor: Colors.transparent,
  1077. hoverColor: Colors.transparent,
  1078. highlightColor: Colors.transparent,
  1079. onTap: () async {
  1080. await launchURL(
  1081. valueOrDefault<String>(
  1082. EstablishmentInfoCall
  1083. .establishmentURL(
  1084. columnEstablishmentInfoResponse
  1085. .jsonBody,
  1086. ),
  1087. 'urluk',
  1088. ));
  1089. },
  1090. child: Text(
  1091. FFLocalizations.of(context).getText(
  1092. 'cxpo1x6d' /* Website */,
  1093. ),
  1094. style: FlutterFlowTheme.of(context)
  1095. .bodyMedium
  1096. .override(
  1097. font: GoogleFonts.inter(
  1098. fontWeight:
  1099. FlutterFlowTheme.of(
  1100. context)
  1101. .bodyMedium
  1102. .fontWeight,
  1103. fontStyle:
  1104. FlutterFlowTheme.of(
  1105. context)
  1106. .bodyMedium
  1107. .fontStyle,
  1108. ),
  1109. letterSpacing: 0.0,
  1110. fontWeight:
  1111. FlutterFlowTheme.of(
  1112. context)
  1113. .bodyMedium
  1114. .fontWeight,
  1115. fontStyle:
  1116. FlutterFlowTheme.of(
  1117. context)
  1118. .bodyMedium
  1119. .fontStyle,
  1120. ),
  1121. ),
  1122. ),
  1123. ],
  1124. ),
  1125. ],
  1126. ),
  1127. ),
  1128. ],
  1129. ),
  1130. Column(
  1131. mainAxisSize: MainAxisSize.max,
  1132. children: [
  1133. Text(
  1134. FFLocalizations.of(context).getText(
  1135. 'axwdkgtg' /* Hello World */,
  1136. ),
  1137. style: FlutterFlowTheme.of(context)
  1138. .bodyMedium
  1139. .override(
  1140. font: GoogleFonts.inter(
  1141. fontWeight: FlutterFlowTheme.of(context)
  1142. .bodyMedium
  1143. .fontWeight,
  1144. fontStyle: FlutterFlowTheme.of(context)
  1145. .bodyMedium
  1146. .fontStyle,
  1147. ),
  1148. letterSpacing: 0.0,
  1149. fontWeight: FlutterFlowTheme.of(context)
  1150. .bodyMedium
  1151. .fontWeight,
  1152. fontStyle: FlutterFlowTheme.of(context)
  1153. .bodyMedium
  1154. .fontStyle,
  1155. ),
  1156. ),
  1157. if (EstablishmentInfoCall
  1158. .establishmentOpeningstijden(
  1159. columnEstablishmentInfoResponse.jsonBody,
  1160. ) !=
  1161. null &&
  1162. EstablishmentInfoCall
  1163. .establishmentOpeningstijden(
  1164. columnEstablishmentInfoResponse.jsonBody,
  1165. ) !=
  1166. '')
  1167. Text(
  1168. valueOrDefault<String>(
  1169. EstablishmentInfoCall
  1170. .establishmentOpeningstijden(
  1171. columnEstablishmentInfoResponse.jsonBody,
  1172. ),
  1173. 'Openingstijden',
  1174. ),
  1175. style: FlutterFlowTheme.of(context)
  1176. .bodyMedium
  1177. .override(
  1178. font: GoogleFonts.inter(
  1179. fontWeight: FlutterFlowTheme.of(context)
  1180. .bodyMedium
  1181. .fontWeight,
  1182. fontStyle: FlutterFlowTheme.of(context)
  1183. .bodyMedium
  1184. .fontStyle,
  1185. ),
  1186. letterSpacing: 0.0,
  1187. fontWeight: FlutterFlowTheme.of(context)
  1188. .bodyMedium
  1189. .fontWeight,
  1190. fontStyle: FlutterFlowTheme.of(context)
  1191. .bodyMedium
  1192. .fontStyle,
  1193. ),
  1194. ),
  1195. Text(
  1196. valueOrDefault<String>(
  1197. EstablishmentInfoCall
  1198. .establshmentOpeningUitzondering(
  1199. columnEstablishmentInfoResponse.jsonBody,
  1200. ),
  1201. 'OpeningstijdenUitzondering',
  1202. ),
  1203. style: FlutterFlowTheme.of(context)
  1204. .bodyMedium
  1205. .override(
  1206. font: GoogleFonts.inter(
  1207. fontWeight: FlutterFlowTheme.of(context)
  1208. .bodyMedium
  1209. .fontWeight,
  1210. fontStyle: FlutterFlowTheme.of(context)
  1211. .bodyMedium
  1212. .fontStyle,
  1213. ),
  1214. letterSpacing: 0.0,
  1215. fontWeight: FlutterFlowTheme.of(context)
  1216. .bodyMedium
  1217. .fontWeight,
  1218. fontStyle: FlutterFlowTheme.of(context)
  1219. .bodyMedium
  1220. .fontStyle,
  1221. ),
  1222. ),
  1223. ],
  1224. ),
  1225. Column(
  1226. mainAxisSize: MainAxisSize.max,
  1227. children: [
  1228. Builder(
  1229. builder: (context) {
  1230. final cryptocoins = EstablishmentInfoCall
  1231. .establishmentCryptocoins(
  1232. columnEstablishmentInfoResponse.jsonBody,
  1233. )?.toList() ??
  1234. [];
  1235. _model.debugGeneratorVariables[
  1236. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  1237. debugSerializeParam(
  1238. cryptocoins.take(100),
  1239. ParamType.String,
  1240. isList: true,
  1241. link:
  1242. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1243. name: 'String',
  1244. nullable: false,
  1245. );
  1246. debugLogWidgetClass(_model);
  1247. return Column(
  1248. mainAxisSize: MainAxisSize.max,
  1249. children: List.generate(cryptocoins.length,
  1250. (cryptocoinsIndex) {
  1251. final cryptocoinsItem =
  1252. cryptocoins[cryptocoinsIndex];
  1253. return Text(
  1254. cryptocoinsItem,
  1255. style: FlutterFlowTheme.of(context)
  1256. .bodyMedium
  1257. .override(
  1258. font: GoogleFonts.inter(
  1259. fontWeight:
  1260. FlutterFlowTheme.of(context)
  1261. .bodyMedium
  1262. .fontWeight,
  1263. fontStyle:
  1264. FlutterFlowTheme.of(context)
  1265. .bodyMedium
  1266. .fontStyle,
  1267. ),
  1268. letterSpacing: 0.0,
  1269. fontWeight:
  1270. FlutterFlowTheme.of(context)
  1271. .bodyMedium
  1272. .fontWeight,
  1273. fontStyle:
  1274. FlutterFlowTheme.of(context)
  1275. .bodyMedium
  1276. .fontStyle,
  1277. ),
  1278. );
  1279. }),
  1280. );
  1281. },
  1282. ),
  1283. Text(
  1284. valueOrDefault<String>(
  1285. EstablishmentInfoCall.establishmentbezorgtijden(
  1286. columnEstablishmentInfoResponse.jsonBody,
  1287. ),
  1288. 'Bezorgtijden',
  1289. ),
  1290. style: FlutterFlowTheme.of(context)
  1291. .bodyMedium
  1292. .override(
  1293. font: GoogleFonts.inter(
  1294. fontWeight: FlutterFlowTheme.of(context)
  1295. .bodyMedium
  1296. .fontWeight,
  1297. fontStyle: FlutterFlowTheme.of(context)
  1298. .bodyMedium
  1299. .fontStyle,
  1300. ),
  1301. letterSpacing: 0.0,
  1302. fontWeight: FlutterFlowTheme.of(context)
  1303. .bodyMedium
  1304. .fontWeight,
  1305. fontStyle: FlutterFlowTheme.of(context)
  1306. .bodyMedium
  1307. .fontStyle,
  1308. ),
  1309. ),
  1310. Text(
  1311. valueOrDefault<String>(
  1312. EstablishmentInfoCall.establishmentBezorgkosten(
  1313. columnEstablishmentInfoResponse.jsonBody,
  1314. ),
  1315. 'bezorgkosten',
  1316. ),
  1317. style: FlutterFlowTheme.of(context)
  1318. .bodyMedium
  1319. .override(
  1320. font: GoogleFonts.inter(
  1321. fontWeight: FlutterFlowTheme.of(context)
  1322. .bodyMedium
  1323. .fontWeight,
  1324. fontStyle: FlutterFlowTheme.of(context)
  1325. .bodyMedium
  1326. .fontStyle,
  1327. ),
  1328. letterSpacing: 0.0,
  1329. fontWeight: FlutterFlowTheme.of(context)
  1330. .bodyMedium
  1331. .fontWeight,
  1332. fontStyle: FlutterFlowTheme.of(context)
  1333. .bodyMedium
  1334. .fontStyle,
  1335. ),
  1336. ),
  1337. Text(
  1338. valueOrDefault<String>(
  1339. EstablishmentInfoCall.establshmentBestellink(
  1340. columnEstablishmentInfoResponse.jsonBody,
  1341. ),
  1342. 'bestellink',
  1343. ),
  1344. style: FlutterFlowTheme.of(context)
  1345. .bodyMedium
  1346. .override(
  1347. font: GoogleFonts.inter(
  1348. fontWeight: FlutterFlowTheme.of(context)
  1349. .bodyMedium
  1350. .fontWeight,
  1351. fontStyle: FlutterFlowTheme.of(context)
  1352. .bodyMedium
  1353. .fontStyle,
  1354. ),
  1355. letterSpacing: 0.0,
  1356. fontWeight: FlutterFlowTheme.of(context)
  1357. .bodyMedium
  1358. .fontWeight,
  1359. fontStyle: FlutterFlowTheme.of(context)
  1360. .bodyMedium
  1361. .fontStyle,
  1362. ),
  1363. ),
  1364. Builder(
  1365. builder: (context) {
  1366. final afhaalopties = EstablishmentInfoCall
  1367. .establishmentAfhaalopties(
  1368. columnEstablishmentInfoResponse.jsonBody,
  1369. )?.toList() ??
  1370. [];
  1371. _model.debugGeneratorVariables[
  1372. 'afhaalopties${afhaalopties.length > 100 ? ' (first 100)' : ''}'] =
  1373. debugSerializeParam(
  1374. afhaalopties.take(100),
  1375. ParamType.String,
  1376. isList: true,
  1377. link:
  1378. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1379. name: 'String',
  1380. nullable: false,
  1381. );
  1382. debugLogWidgetClass(_model);
  1383. return Row(
  1384. mainAxisSize: MainAxisSize.max,
  1385. children: List.generate(afhaalopties.length,
  1386. (afhaaloptiesIndex) {
  1387. final afhaaloptiesItem =
  1388. afhaalopties[afhaaloptiesIndex];
  1389. return Visibility(
  1390. visible: afhaaloptiesItem != null &&
  1391. afhaaloptiesItem != '',
  1392. child: Text(
  1393. afhaaloptiesItem,
  1394. style: FlutterFlowTheme.of(context)
  1395. .bodyMedium
  1396. .override(
  1397. font: GoogleFonts.inter(
  1398. fontWeight:
  1399. FlutterFlowTheme.of(context)
  1400. .bodyMedium
  1401. .fontWeight,
  1402. fontStyle:
  1403. FlutterFlowTheme.of(context)
  1404. .bodyMedium
  1405. .fontStyle,
  1406. ),
  1407. letterSpacing: 0.0,
  1408. fontWeight:
  1409. FlutterFlowTheme.of(context)
  1410. .bodyMedium
  1411. .fontWeight,
  1412. fontStyle:
  1413. FlutterFlowTheme.of(context)
  1414. .bodyMedium
  1415. .fontStyle,
  1416. ),
  1417. ),
  1418. );
  1419. }),
  1420. );
  1421. },
  1422. ),
  1423. Text(
  1424. valueOrDefault<String>(
  1425. EstablishmentInfoCall
  1426. .establishmentMinimaleorder(
  1427. columnEstablishmentInfoResponse.jsonBody,
  1428. ),
  1429. 'minimale order',
  1430. ),
  1431. style: FlutterFlowTheme.of(context)
  1432. .bodyMedium
  1433. .override(
  1434. font: GoogleFonts.inter(
  1435. fontWeight: FlutterFlowTheme.of(context)
  1436. .bodyMedium
  1437. .fontWeight,
  1438. fontStyle: FlutterFlowTheme.of(context)
  1439. .bodyMedium
  1440. .fontStyle,
  1441. ),
  1442. letterSpacing: 0.0,
  1443. fontWeight: FlutterFlowTheme.of(context)
  1444. .bodyMedium
  1445. .fontWeight,
  1446. fontStyle: FlutterFlowTheme.of(context)
  1447. .bodyMedium
  1448. .fontStyle,
  1449. ),
  1450. ),
  1451. Builder(
  1452. builder: (context) {
  1453. final afhaalbetaalopties = EstablishmentInfoCall
  1454. .establishmentbezorgbetaalopties(
  1455. columnEstablishmentInfoResponse.jsonBody,
  1456. )?.toList() ??
  1457. [];
  1458. _model.debugGeneratorVariables[
  1459. 'afhaalbetaalopties${afhaalbetaalopties.length > 100 ? ' (first 100)' : ''}'] =
  1460. debugSerializeParam(
  1461. afhaalbetaalopties.take(100),
  1462. ParamType.String,
  1463. isList: true,
  1464. link:
  1465. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1466. name: 'String',
  1467. nullable: false,
  1468. );
  1469. debugLogWidgetClass(_model);
  1470. return Row(
  1471. mainAxisSize: MainAxisSize.max,
  1472. children:
  1473. List.generate(afhaalbetaalopties.length,
  1474. (afhaalbetaaloptiesIndex) {
  1475. final afhaalbetaaloptiesItem =
  1476. afhaalbetaalopties[
  1477. afhaalbetaaloptiesIndex];
  1478. return Visibility(
  1479. visible: afhaalbetaaloptiesItem != null &&
  1480. afhaalbetaaloptiesItem != '',
  1481. child: Text(
  1482. afhaalbetaaloptiesItem,
  1483. style: FlutterFlowTheme.of(context)
  1484. .bodyMedium
  1485. .override(
  1486. font: GoogleFonts.inter(
  1487. fontWeight:
  1488. FlutterFlowTheme.of(context)
  1489. .bodyMedium
  1490. .fontWeight,
  1491. fontStyle:
  1492. FlutterFlowTheme.of(context)
  1493. .bodyMedium
  1494. .fontStyle,
  1495. ),
  1496. letterSpacing: 0.0,
  1497. fontWeight:
  1498. FlutterFlowTheme.of(context)
  1499. .bodyMedium
  1500. .fontWeight,
  1501. fontStyle:
  1502. FlutterFlowTheme.of(context)
  1503. .bodyMedium
  1504. .fontStyle,
  1505. ),
  1506. ),
  1507. );
  1508. }),
  1509. );
  1510. },
  1511. ),
  1512. Builder(
  1513. builder: (context) {
  1514. final bezorgtin =
  1515. EstablishmentInfoCall.establshmentBezorgtin(
  1516. columnEstablishmentInfoResponse
  1517. .jsonBody,
  1518. )?.toList() ??
  1519. [];
  1520. _model.debugGeneratorVariables[
  1521. 'bezorgtin${bezorgtin.length > 100 ? ' (first 100)' : ''}'] =
  1522. debugSerializeParam(
  1523. bezorgtin.take(100),
  1524. ParamType.String,
  1525. isList: true,
  1526. link:
  1527. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1528. name: 'String',
  1529. nullable: false,
  1530. );
  1531. debugLogWidgetClass(_model);
  1532. return Row(
  1533. mainAxisSize: MainAxisSize.max,
  1534. children: List.generate(bezorgtin.length,
  1535. (bezorgtinIndex) {
  1536. final bezorgtinItem =
  1537. bezorgtin[bezorgtinIndex];
  1538. return Text(
  1539. bezorgtinItem,
  1540. style: FlutterFlowTheme.of(context)
  1541. .bodyMedium
  1542. .override(
  1543. font: GoogleFonts.inter(
  1544. fontWeight:
  1545. FlutterFlowTheme.of(context)
  1546. .bodyMedium
  1547. .fontWeight,
  1548. fontStyle:
  1549. FlutterFlowTheme.of(context)
  1550. .bodyMedium
  1551. .fontStyle,
  1552. ),
  1553. letterSpacing: 0.0,
  1554. fontWeight:
  1555. FlutterFlowTheme.of(context)
  1556. .bodyMedium
  1557. .fontWeight,
  1558. fontStyle:
  1559. FlutterFlowTheme.of(context)
  1560. .bodyMedium
  1561. .fontStyle,
  1562. ),
  1563. );
  1564. }),
  1565. );
  1566. },
  1567. ),
  1568. ],
  1569. ),
  1570. ],
  1571. ),
  1572. ),
  1573. ],
  1574. ),
  1575. ),
  1576. ],
  1577. );
  1578. },
  1579. );
  1580. }
  1581. }