evenement_horecagelegenheid_widget.dart 91 KB

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