evenement_horecagelegenheid_widget.dart 94 KB

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