evenement_horecagelegenheid_widget.dart 94 KB

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