evenement_horecagelegenheid_widget.dart 91 KB

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