evenement_horecagelegenheid_widget.dart 91 KB

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