evenement_horecagelegenheid_widget.dart 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740
  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. letterSpacing: 0.0,
  711. fontWeight: FlutterFlowTheme.of(context)
  712. .bodyMedium
  713. .fontWeight,
  714. fontStyle: FlutterFlowTheme.of(context)
  715. .bodyMedium
  716. .fontStyle,
  717. ),
  718. ),
  719. ),
  720. Container(
  721. decoration: BoxDecoration(
  722. color: Color(0xFFC8B1B1),
  723. ),
  724. child: Row(
  725. mainAxisSize: MainAxisSize.max,
  726. children: [
  727. Text(
  728. FFLocalizations.of(context).getText(
  729. 'lo8ciqtb' /* Entree */,
  730. ),
  731. style: FlutterFlowTheme.of(context)
  732. .bodyMedium
  733. .override(
  734. font: GoogleFonts.roboto(
  735. fontWeight:
  736. FlutterFlowTheme.of(context)
  737. .bodyMedium
  738. .fontWeight,
  739. fontStyle:
  740. FlutterFlowTheme.of(context)
  741. .bodyMedium
  742. .fontStyle,
  743. ),
  744. letterSpacing: 0.0,
  745. fontWeight:
  746. FlutterFlowTheme.of(context)
  747. .bodyMedium
  748. .fontWeight,
  749. fontStyle:
  750. FlutterFlowTheme.of(context)
  751. .bodyMedium
  752. .fontStyle,
  753. ),
  754. ),
  755. Column(
  756. mainAxisSize: MainAxisSize.max,
  757. children: [
  758. if (EstablishmentInfoCall
  759. .establishmentEntreeprijs(
  760. columnEstablishmentInfoResponse
  761. .jsonBody,
  762. ) !=
  763. null &&
  764. EstablishmentInfoCall
  765. .establishmentEntreeprijs(
  766. columnEstablishmentInfoResponse
  767. .jsonBody,
  768. ) !=
  769. '')
  770. Text(
  771. valueOrDefault<String>(
  772. EstablishmentInfoCall
  773. .establishmentEntreeprijs(
  774. columnEstablishmentInfoResponse
  775. .jsonBody,
  776. ),
  777. 'entreeprijs',
  778. ),
  779. style: FlutterFlowTheme.of(context)
  780. .bodyMedium
  781. .override(
  782. font: GoogleFonts.roboto(
  783. fontWeight:
  784. FlutterFlowTheme.of(
  785. context)
  786. .bodyMedium
  787. .fontWeight,
  788. fontStyle:
  789. FlutterFlowTheme.of(
  790. context)
  791. .bodyMedium
  792. .fontStyle,
  793. ),
  794. letterSpacing: 0.0,
  795. fontWeight:
  796. FlutterFlowTheme.of(context)
  797. .bodyMedium
  798. .fontWeight,
  799. fontStyle:
  800. FlutterFlowTheme.of(context)
  801. .bodyMedium
  802. .fontStyle,
  803. ),
  804. ),
  805. if ((EstablishmentInfoCall
  806. .establishmentEntreeToelichting(
  807. columnEstablishmentInfoResponse
  808. .jsonBody,
  809. ) !=
  810. null &&
  811. EstablishmentInfoCall
  812. .establishmentEntreeToelichting(
  813. columnEstablishmentInfoResponse
  814. .jsonBody,
  815. ) !=
  816. '') &&
  817. responsiveVisibility(
  818. context: context,
  819. phone: false,
  820. ))
  821. Text(
  822. valueOrDefault<String>(
  823. EstablishmentInfoCall
  824. .establishmentEntreeToelichting(
  825. columnEstablishmentInfoResponse
  826. .jsonBody,
  827. ),
  828. 'EntreeToelichting',
  829. ),
  830. style: FlutterFlowTheme.of(context)
  831. .bodyMedium
  832. .override(
  833. font: GoogleFonts.roboto(
  834. fontWeight:
  835. FlutterFlowTheme.of(
  836. context)
  837. .bodyMedium
  838. .fontWeight,
  839. fontStyle:
  840. FlutterFlowTheme.of(
  841. context)
  842. .bodyMedium
  843. .fontStyle,
  844. ),
  845. letterSpacing: 0.0,
  846. fontWeight:
  847. FlutterFlowTheme.of(context)
  848. .bodyMedium
  849. .fontWeight,
  850. fontStyle:
  851. FlutterFlowTheme.of(context)
  852. .bodyMedium
  853. .fontStyle,
  854. ),
  855. ),
  856. ],
  857. ),
  858. ],
  859. ),
  860. ),
  861. Container(
  862. decoration: BoxDecoration(
  863. color: Color(0xFFC28080),
  864. ),
  865. child: Row(
  866. mainAxisSize: MainAxisSize.max,
  867. children: [
  868. Text(
  869. FFLocalizations.of(context).getText(
  870. 'au8x5mei' /* Contact */,
  871. ),
  872. style: FlutterFlowTheme.of(context)
  873. .bodyMedium
  874. .override(
  875. font: GoogleFonts.roboto(
  876. fontWeight:
  877. FlutterFlowTheme.of(context)
  878. .bodyMedium
  879. .fontWeight,
  880. fontStyle:
  881. FlutterFlowTheme.of(context)
  882. .bodyMedium
  883. .fontStyle,
  884. ),
  885. letterSpacing: 0.0,
  886. fontWeight:
  887. FlutterFlowTheme.of(context)
  888. .bodyMedium
  889. .fontWeight,
  890. fontStyle:
  891. FlutterFlowTheme.of(context)
  892. .bodyMedium
  893. .fontStyle,
  894. ),
  895. ),
  896. Column(
  897. mainAxisSize: MainAxisSize.max,
  898. children: [
  899. if (EstablishmentInfoCall
  900. .establishmentFacebook(
  901. columnEstablishmentInfoResponse
  902. .jsonBody,
  903. ) !=
  904. null &&
  905. EstablishmentInfoCall
  906. .establishmentFacebook(
  907. columnEstablishmentInfoResponse
  908. .jsonBody,
  909. ) !=
  910. '')
  911. InkWell(
  912. splashColor: Colors.transparent,
  913. focusColor: Colors.transparent,
  914. hoverColor: Colors.transparent,
  915. highlightColor: Colors.transparent,
  916. onTap: () async {
  917. await launchURL(
  918. valueOrDefault<String>(
  919. EstablishmentInfoCall
  920. .establishmentFacebook(
  921. columnEstablishmentInfoResponse
  922. .jsonBody,
  923. ),
  924. 'facebook',
  925. ));
  926. },
  927. child: Text(
  928. FFLocalizations.of(context).getText(
  929. '8tvvqu63' /* Facebook */,
  930. ),
  931. style: FlutterFlowTheme.of(context)
  932. .bodyMedium
  933. .override(
  934. font: GoogleFonts.roboto(
  935. fontWeight:
  936. FlutterFlowTheme.of(
  937. context)
  938. .bodyMedium
  939. .fontWeight,
  940. fontStyle:
  941. FlutterFlowTheme.of(
  942. context)
  943. .bodyMedium
  944. .fontStyle,
  945. ),
  946. letterSpacing: 0.0,
  947. fontWeight:
  948. FlutterFlowTheme.of(
  949. context)
  950. .bodyMedium
  951. .fontWeight,
  952. fontStyle:
  953. FlutterFlowTheme.of(
  954. context)
  955. .bodyMedium
  956. .fontStyle,
  957. ),
  958. ),
  959. ),
  960. if (EstablishmentInfoCall
  961. .establishmentInstagram(
  962. columnEstablishmentInfoResponse
  963. .jsonBody,
  964. ) !=
  965. null &&
  966. EstablishmentInfoCall
  967. .establishmentInstagram(
  968. columnEstablishmentInfoResponse
  969. .jsonBody,
  970. ) !=
  971. '')
  972. InkWell(
  973. splashColor: Colors.transparent,
  974. focusColor: Colors.transparent,
  975. hoverColor: Colors.transparent,
  976. highlightColor: Colors.transparent,
  977. onTap: () async {
  978. await launchURL(
  979. valueOrDefault<String>(
  980. EstablishmentInfoCall
  981. .establishmentInstagram(
  982. columnEstablishmentInfoResponse
  983. .jsonBody,
  984. ),
  985. 'instagram',
  986. ));
  987. },
  988. child: Text(
  989. FFLocalizations.of(context).getText(
  990. 'kp1lfaac' /* Instagram */,
  991. ),
  992. style: FlutterFlowTheme.of(context)
  993. .bodyMedium
  994. .override(
  995. font: GoogleFonts.roboto(
  996. fontWeight:
  997. FlutterFlowTheme.of(
  998. context)
  999. .bodyMedium
  1000. .fontWeight,
  1001. fontStyle:
  1002. FlutterFlowTheme.of(
  1003. context)
  1004. .bodyMedium
  1005. .fontStyle,
  1006. ),
  1007. letterSpacing: 0.0,
  1008. fontWeight:
  1009. FlutterFlowTheme.of(
  1010. context)
  1011. .bodyMedium
  1012. .fontWeight,
  1013. fontStyle:
  1014. FlutterFlowTheme.of(
  1015. context)
  1016. .bodyMedium
  1017. .fontStyle,
  1018. ),
  1019. ),
  1020. ),
  1021. if (EstablishmentInfoCall
  1022. .establishmentTwitter(
  1023. columnEstablishmentInfoResponse
  1024. .jsonBody,
  1025. ) !=
  1026. null &&
  1027. EstablishmentInfoCall
  1028. .establishmentTwitter(
  1029. columnEstablishmentInfoResponse
  1030. .jsonBody,
  1031. ) !=
  1032. '')
  1033. InkWell(
  1034. splashColor: Colors.transparent,
  1035. focusColor: Colors.transparent,
  1036. hoverColor: Colors.transparent,
  1037. highlightColor: Colors.transparent,
  1038. onTap: () async {
  1039. await launchURL(
  1040. EstablishmentInfoCall
  1041. .establishmentTwitter(
  1042. columnEstablishmentInfoResponse
  1043. .jsonBody,
  1044. )!);
  1045. },
  1046. child: Text(
  1047. FFLocalizations.of(context).getText(
  1048. 'ktqsytma' /* X/Twitter */,
  1049. ),
  1050. style: FlutterFlowTheme.of(context)
  1051. .bodyMedium
  1052. .override(
  1053. font: GoogleFonts.roboto(
  1054. fontWeight:
  1055. FlutterFlowTheme.of(
  1056. context)
  1057. .bodyMedium
  1058. .fontWeight,
  1059. fontStyle:
  1060. FlutterFlowTheme.of(
  1061. context)
  1062. .bodyMedium
  1063. .fontStyle,
  1064. ),
  1065. letterSpacing: 0.0,
  1066. fontWeight:
  1067. FlutterFlowTheme.of(
  1068. context)
  1069. .bodyMedium
  1070. .fontWeight,
  1071. fontStyle:
  1072. FlutterFlowTheme.of(
  1073. context)
  1074. .bodyMedium
  1075. .fontStyle,
  1076. ),
  1077. ),
  1078. ),
  1079. if (EstablishmentInfoCall
  1080. .establishmentWebsite(
  1081. columnEstablishmentInfoResponse
  1082. .jsonBody,
  1083. ) !=
  1084. null &&
  1085. EstablishmentInfoCall
  1086. .establishmentWebsite(
  1087. columnEstablishmentInfoResponse
  1088. .jsonBody,
  1089. ) !=
  1090. '')
  1091. InkWell(
  1092. splashColor: Colors.transparent,
  1093. focusColor: Colors.transparent,
  1094. hoverColor: Colors.transparent,
  1095. highlightColor: Colors.transparent,
  1096. onTap: () async {
  1097. await launchURL(
  1098. valueOrDefault<String>(
  1099. EstablishmentInfoCall
  1100. .establishmentWebsite(
  1101. columnEstablishmentInfoResponse
  1102. .jsonBody,
  1103. ),
  1104. 'Website',
  1105. ));
  1106. },
  1107. child: Text(
  1108. FFLocalizations.of(context).getText(
  1109. 'vkwayrhq' /* Website */,
  1110. ),
  1111. style: FlutterFlowTheme.of(context)
  1112. .bodyMedium
  1113. .override(
  1114. font: GoogleFonts.roboto(
  1115. fontWeight:
  1116. FlutterFlowTheme.of(
  1117. context)
  1118. .bodyMedium
  1119. .fontWeight,
  1120. fontStyle:
  1121. FlutterFlowTheme.of(
  1122. context)
  1123. .bodyMedium
  1124. .fontStyle,
  1125. ),
  1126. letterSpacing: 0.0,
  1127. fontWeight:
  1128. FlutterFlowTheme.of(
  1129. context)
  1130. .bodyMedium
  1131. .fontWeight,
  1132. fontStyle:
  1133. FlutterFlowTheme.of(
  1134. context)
  1135. .bodyMedium
  1136. .fontStyle,
  1137. ),
  1138. ),
  1139. ),
  1140. if (EstablishmentInfoCall
  1141. .establishmentURL(
  1142. columnEstablishmentInfoResponse
  1143. .jsonBody,
  1144. ) !=
  1145. null &&
  1146. EstablishmentInfoCall
  1147. .establishmentURL(
  1148. columnEstablishmentInfoResponse
  1149. .jsonBody,
  1150. ) !=
  1151. '')
  1152. InkWell(
  1153. splashColor: Colors.transparent,
  1154. focusColor: Colors.transparent,
  1155. hoverColor: Colors.transparent,
  1156. highlightColor: Colors.transparent,
  1157. onTap: () async {
  1158. await launchURL(
  1159. valueOrDefault<String>(
  1160. EstablishmentInfoCall
  1161. .establishmentURL(
  1162. columnEstablishmentInfoResponse
  1163. .jsonBody,
  1164. ),
  1165. 'urluk',
  1166. ));
  1167. },
  1168. child: Text(
  1169. FFLocalizations.of(context).getText(
  1170. 'cxpo1x6d' /* Website */,
  1171. ),
  1172. style: FlutterFlowTheme.of(context)
  1173. .bodyMedium
  1174. .override(
  1175. font: GoogleFonts.roboto(
  1176. fontWeight:
  1177. FlutterFlowTheme.of(
  1178. context)
  1179. .bodyMedium
  1180. .fontWeight,
  1181. fontStyle:
  1182. FlutterFlowTheme.of(
  1183. context)
  1184. .bodyMedium
  1185. .fontStyle,
  1186. ),
  1187. letterSpacing: 0.0,
  1188. fontWeight:
  1189. FlutterFlowTheme.of(
  1190. context)
  1191. .bodyMedium
  1192. .fontWeight,
  1193. fontStyle:
  1194. FlutterFlowTheme.of(
  1195. context)
  1196. .bodyMedium
  1197. .fontStyle,
  1198. ),
  1199. ),
  1200. ),
  1201. ],
  1202. ),
  1203. ],
  1204. ),
  1205. ),
  1206. ],
  1207. ),
  1208. Column(
  1209. mainAxisSize: MainAxisSize.max,
  1210. children: [
  1211. Text(
  1212. FFLocalizations.of(context).getText(
  1213. 'axwdkgtg' /* Hello World */,
  1214. ),
  1215. style: FlutterFlowTheme.of(context)
  1216. .bodyMedium
  1217. .override(
  1218. font: GoogleFonts.roboto(
  1219. fontWeight: FlutterFlowTheme.of(context)
  1220. .bodyMedium
  1221. .fontWeight,
  1222. fontStyle: FlutterFlowTheme.of(context)
  1223. .bodyMedium
  1224. .fontStyle,
  1225. ),
  1226. letterSpacing: 0.0,
  1227. fontWeight: FlutterFlowTheme.of(context)
  1228. .bodyMedium
  1229. .fontWeight,
  1230. fontStyle: FlutterFlowTheme.of(context)
  1231. .bodyMedium
  1232. .fontStyle,
  1233. ),
  1234. ),
  1235. if (EstablishmentInfoCall
  1236. .establishmentOpeningstijden(
  1237. columnEstablishmentInfoResponse.jsonBody,
  1238. ) !=
  1239. null &&
  1240. EstablishmentInfoCall
  1241. .establishmentOpeningstijden(
  1242. columnEstablishmentInfoResponse.jsonBody,
  1243. ) !=
  1244. '')
  1245. Text(
  1246. valueOrDefault<String>(
  1247. EstablishmentInfoCall
  1248. .establishmentOpeningstijden(
  1249. columnEstablishmentInfoResponse.jsonBody,
  1250. ),
  1251. 'Openingstijden',
  1252. ),
  1253. style: FlutterFlowTheme.of(context)
  1254. .bodyMedium
  1255. .override(
  1256. font: GoogleFonts.roboto(
  1257. fontWeight: FlutterFlowTheme.of(context)
  1258. .bodyMedium
  1259. .fontWeight,
  1260. fontStyle: FlutterFlowTheme.of(context)
  1261. .bodyMedium
  1262. .fontStyle,
  1263. ),
  1264. letterSpacing: 0.0,
  1265. fontWeight: FlutterFlowTheme.of(context)
  1266. .bodyMedium
  1267. .fontWeight,
  1268. fontStyle: FlutterFlowTheme.of(context)
  1269. .bodyMedium
  1270. .fontStyle,
  1271. ),
  1272. ),
  1273. if ((EstablishmentInfoCall
  1274. .establshmentOpeningUitzondering(
  1275. columnEstablishmentInfoResponse
  1276. .jsonBody,
  1277. ) !=
  1278. null &&
  1279. EstablishmentInfoCall
  1280. .establshmentOpeningUitzondering(
  1281. columnEstablishmentInfoResponse
  1282. .jsonBody,
  1283. ) !=
  1284. '') &&
  1285. responsiveVisibility(
  1286. context: context,
  1287. phone: false,
  1288. ))
  1289. Text(
  1290. valueOrDefault<String>(
  1291. EstablishmentInfoCall
  1292. .establshmentOpeningUitzondering(
  1293. columnEstablishmentInfoResponse.jsonBody,
  1294. ),
  1295. 'OpeningstijdenUitzondering',
  1296. ),
  1297. style: FlutterFlowTheme.of(context)
  1298. .bodyMedium
  1299. .override(
  1300. font: GoogleFonts.roboto(
  1301. fontWeight: FlutterFlowTheme.of(context)
  1302. .bodyMedium
  1303. .fontWeight,
  1304. fontStyle: FlutterFlowTheme.of(context)
  1305. .bodyMedium
  1306. .fontStyle,
  1307. ),
  1308. letterSpacing: 0.0,
  1309. fontWeight: FlutterFlowTheme.of(context)
  1310. .bodyMedium
  1311. .fontWeight,
  1312. fontStyle: FlutterFlowTheme.of(context)
  1313. .bodyMedium
  1314. .fontStyle,
  1315. ),
  1316. ),
  1317. ],
  1318. ),
  1319. Column(
  1320. mainAxisSize: MainAxisSize.max,
  1321. children: [
  1322. Builder(
  1323. builder: (context) {
  1324. final cryptocoins = EstablishmentInfoCall
  1325. .establishmentCryptocoins(
  1326. columnEstablishmentInfoResponse.jsonBody,
  1327. )?.toList() ??
  1328. [];
  1329. _model.debugGeneratorVariables[
  1330. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  1331. debugSerializeParam(
  1332. cryptocoins.take(100),
  1333. ParamType.String,
  1334. isList: true,
  1335. link:
  1336. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1337. name: 'String',
  1338. nullable: false,
  1339. );
  1340. debugLogWidgetClass(_model);
  1341. return Column(
  1342. mainAxisSize: MainAxisSize.max,
  1343. children: List.generate(cryptocoins.length,
  1344. (cryptocoinsIndex) {
  1345. final cryptocoinsItem =
  1346. cryptocoins[cryptocoinsIndex];
  1347. return Text(
  1348. cryptocoinsItem,
  1349. style: FlutterFlowTheme.of(context)
  1350. .bodyMedium
  1351. .override(
  1352. font: GoogleFonts.roboto(
  1353. fontWeight:
  1354. FlutterFlowTheme.of(context)
  1355. .bodyMedium
  1356. .fontWeight,
  1357. fontStyle:
  1358. FlutterFlowTheme.of(context)
  1359. .bodyMedium
  1360. .fontStyle,
  1361. ),
  1362. letterSpacing: 0.0,
  1363. fontWeight:
  1364. FlutterFlowTheme.of(context)
  1365. .bodyMedium
  1366. .fontWeight,
  1367. fontStyle:
  1368. FlutterFlowTheme.of(context)
  1369. .bodyMedium
  1370. .fontStyle,
  1371. ),
  1372. );
  1373. }),
  1374. );
  1375. },
  1376. ),
  1377. if (getJsonField(
  1378. columnEstablishmentInfoResponse.jsonBody,
  1379. r'''$[:].bezorgtijden''',
  1380. ) !=
  1381. null)
  1382. Text(
  1383. valueOrDefault<String>(
  1384. EstablishmentInfoCall
  1385. .establishmentbezorgtijden(
  1386. columnEstablishmentInfoResponse.jsonBody,
  1387. ),
  1388. 'Bezorgtijden',
  1389. ),
  1390. style: FlutterFlowTheme.of(context)
  1391. .bodyMedium
  1392. .override(
  1393. font: GoogleFonts.roboto(
  1394. fontWeight: FlutterFlowTheme.of(context)
  1395. .bodyMedium
  1396. .fontWeight,
  1397. fontStyle: FlutterFlowTheme.of(context)
  1398. .bodyMedium
  1399. .fontStyle,
  1400. ),
  1401. letterSpacing: 0.0,
  1402. fontWeight: FlutterFlowTheme.of(context)
  1403. .bodyMedium
  1404. .fontWeight,
  1405. fontStyle: FlutterFlowTheme.of(context)
  1406. .bodyMedium
  1407. .fontStyle,
  1408. ),
  1409. ),
  1410. if (getJsonField(
  1411. columnEstablishmentInfoResponse.jsonBody,
  1412. r'''$[:].bezorgkosten''',
  1413. ) !=
  1414. null)
  1415. Text(
  1416. valueOrDefault<String>(
  1417. EstablishmentInfoCall
  1418. .establishmentBezorgkosten(
  1419. columnEstablishmentInfoResponse.jsonBody,
  1420. ),
  1421. 'bezorgkosten',
  1422. ),
  1423. style: FlutterFlowTheme.of(context)
  1424. .bodyMedium
  1425. .override(
  1426. font: GoogleFonts.roboto(
  1427. fontWeight: FlutterFlowTheme.of(context)
  1428. .bodyMedium
  1429. .fontWeight,
  1430. fontStyle: FlutterFlowTheme.of(context)
  1431. .bodyMedium
  1432. .fontStyle,
  1433. ),
  1434. letterSpacing: 0.0,
  1435. fontWeight: FlutterFlowTheme.of(context)
  1436. .bodyMedium
  1437. .fontWeight,
  1438. fontStyle: FlutterFlowTheme.of(context)
  1439. .bodyMedium
  1440. .fontStyle,
  1441. ),
  1442. ),
  1443. if (getJsonField(
  1444. columnEstablishmentInfoResponse.jsonBody,
  1445. r'''$[:].bestellink''',
  1446. ) !=
  1447. null)
  1448. Text(
  1449. valueOrDefault<String>(
  1450. EstablishmentInfoCall.establshmentBestellink(
  1451. columnEstablishmentInfoResponse.jsonBody,
  1452. ),
  1453. 'bestellink',
  1454. ),
  1455. style: FlutterFlowTheme.of(context)
  1456. .bodyMedium
  1457. .override(
  1458. font: GoogleFonts.roboto(
  1459. fontWeight: FlutterFlowTheme.of(context)
  1460. .bodyMedium
  1461. .fontWeight,
  1462. fontStyle: FlutterFlowTheme.of(context)
  1463. .bodyMedium
  1464. .fontStyle,
  1465. ),
  1466. letterSpacing: 0.0,
  1467. fontWeight: FlutterFlowTheme.of(context)
  1468. .bodyMedium
  1469. .fontWeight,
  1470. fontStyle: FlutterFlowTheme.of(context)
  1471. .bodyMedium
  1472. .fontStyle,
  1473. ),
  1474. ),
  1475. Builder(
  1476. builder: (context) {
  1477. final afhaalopties = EstablishmentInfoCall
  1478. .establishmentAfhaalopties(
  1479. columnEstablishmentInfoResponse.jsonBody,
  1480. )?.toList() ??
  1481. [];
  1482. _model.debugGeneratorVariables[
  1483. 'afhaalopties${afhaalopties.length > 100 ? ' (first 100)' : ''}'] =
  1484. debugSerializeParam(
  1485. afhaalopties.take(100),
  1486. ParamType.String,
  1487. isList: true,
  1488. link:
  1489. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1490. name: 'String',
  1491. nullable: false,
  1492. );
  1493. debugLogWidgetClass(_model);
  1494. return Wrap(
  1495. spacing: 0.0,
  1496. runSpacing: 0.0,
  1497. alignment: WrapAlignment.start,
  1498. crossAxisAlignment: WrapCrossAlignment.start,
  1499. direction: Axis.horizontal,
  1500. runAlignment: WrapAlignment.start,
  1501. verticalDirection: VerticalDirection.down,
  1502. clipBehavior: Clip.none,
  1503. children: List.generate(afhaalopties.length,
  1504. (afhaaloptiesIndex) {
  1505. final afhaaloptiesItem =
  1506. afhaalopties[afhaaloptiesIndex];
  1507. return Visibility(
  1508. visible: afhaaloptiesItem != null &&
  1509. afhaaloptiesItem != '',
  1510. child: Text(
  1511. afhaaloptiesItem,
  1512. style: FlutterFlowTheme.of(context)
  1513. .bodyMedium
  1514. .override(
  1515. font: GoogleFonts.roboto(
  1516. fontWeight:
  1517. FlutterFlowTheme.of(context)
  1518. .bodyMedium
  1519. .fontWeight,
  1520. fontStyle:
  1521. FlutterFlowTheme.of(context)
  1522. .bodyMedium
  1523. .fontStyle,
  1524. ),
  1525. letterSpacing: 0.0,
  1526. fontWeight:
  1527. FlutterFlowTheme.of(context)
  1528. .bodyMedium
  1529. .fontWeight,
  1530. fontStyle:
  1531. FlutterFlowTheme.of(context)
  1532. .bodyMedium
  1533. .fontStyle,
  1534. ),
  1535. ),
  1536. );
  1537. }),
  1538. );
  1539. },
  1540. ),
  1541. Text(
  1542. valueOrDefault<String>(
  1543. EstablishmentInfoCall
  1544. .establishmentMinimaleorder(
  1545. columnEstablishmentInfoResponse.jsonBody,
  1546. ),
  1547. 'minimale order',
  1548. ),
  1549. style: FlutterFlowTheme.of(context)
  1550. .bodyMedium
  1551. .override(
  1552. font: GoogleFonts.roboto(
  1553. fontWeight: FlutterFlowTheme.of(context)
  1554. .bodyMedium
  1555. .fontWeight,
  1556. fontStyle: FlutterFlowTheme.of(context)
  1557. .bodyMedium
  1558. .fontStyle,
  1559. ),
  1560. letterSpacing: 0.0,
  1561. fontWeight: FlutterFlowTheme.of(context)
  1562. .bodyMedium
  1563. .fontWeight,
  1564. fontStyle: FlutterFlowTheme.of(context)
  1565. .bodyMedium
  1566. .fontStyle,
  1567. ),
  1568. ),
  1569. Builder(
  1570. builder: (context) {
  1571. final afhaalbetaalopties = EstablishmentInfoCall
  1572. .establishmentbezorgbetaalopties(
  1573. columnEstablishmentInfoResponse.jsonBody,
  1574. )?.toList() ??
  1575. [];
  1576. _model.debugGeneratorVariables[
  1577. 'afhaalbetaalopties${afhaalbetaalopties.length > 100 ? ' (first 100)' : ''}'] =
  1578. debugSerializeParam(
  1579. afhaalbetaalopties.take(100),
  1580. ParamType.String,
  1581. isList: true,
  1582. link:
  1583. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1584. name: 'String',
  1585. nullable: false,
  1586. );
  1587. debugLogWidgetClass(_model);
  1588. return Wrap(
  1589. spacing: 0.0,
  1590. runSpacing: 0.0,
  1591. alignment: WrapAlignment.start,
  1592. crossAxisAlignment: WrapCrossAlignment.start,
  1593. direction: Axis.horizontal,
  1594. runAlignment: WrapAlignment.start,
  1595. verticalDirection: VerticalDirection.down,
  1596. clipBehavior: Clip.none,
  1597. children:
  1598. List.generate(afhaalbetaalopties.length,
  1599. (afhaalbetaaloptiesIndex) {
  1600. final afhaalbetaaloptiesItem =
  1601. afhaalbetaalopties[
  1602. afhaalbetaaloptiesIndex];
  1603. return Visibility(
  1604. visible: afhaalbetaaloptiesItem != null &&
  1605. afhaalbetaaloptiesItem != '',
  1606. child: Text(
  1607. afhaalbetaaloptiesItem,
  1608. style: FlutterFlowTheme.of(context)
  1609. .bodyMedium
  1610. .override(
  1611. font: GoogleFonts.roboto(
  1612. fontWeight:
  1613. FlutterFlowTheme.of(context)
  1614. .bodyMedium
  1615. .fontWeight,
  1616. fontStyle:
  1617. FlutterFlowTheme.of(context)
  1618. .bodyMedium
  1619. .fontStyle,
  1620. ),
  1621. letterSpacing: 0.0,
  1622. fontWeight:
  1623. FlutterFlowTheme.of(context)
  1624. .bodyMedium
  1625. .fontWeight,
  1626. fontStyle:
  1627. FlutterFlowTheme.of(context)
  1628. .bodyMedium
  1629. .fontStyle,
  1630. ),
  1631. ),
  1632. );
  1633. }),
  1634. );
  1635. },
  1636. ),
  1637. Builder(
  1638. builder: (context) {
  1639. final bezorgtin =
  1640. EstablishmentInfoCall.establshmentBezorgtin(
  1641. columnEstablishmentInfoResponse
  1642. .jsonBody,
  1643. )?.toList() ??
  1644. [];
  1645. _model.debugGeneratorVariables[
  1646. 'bezorgtin${bezorgtin.length > 100 ? ' (first 100)' : ''}'] =
  1647. debugSerializeParam(
  1648. bezorgtin.take(100),
  1649. ParamType.String,
  1650. isList: true,
  1651. link:
  1652. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=EvenementHorecagelegenheid',
  1653. name: 'String',
  1654. nullable: false,
  1655. );
  1656. debugLogWidgetClass(_model);
  1657. return Wrap(
  1658. spacing: 0.0,
  1659. runSpacing: 0.0,
  1660. alignment: WrapAlignment.start,
  1661. crossAxisAlignment: WrapCrossAlignment.start,
  1662. direction: Axis.horizontal,
  1663. runAlignment: WrapAlignment.start,
  1664. verticalDirection: VerticalDirection.down,
  1665. clipBehavior: Clip.none,
  1666. children: List.generate(bezorgtin.length,
  1667. (bezorgtinIndex) {
  1668. final bezorgtinItem =
  1669. bezorgtin[bezorgtinIndex];
  1670. return Text(
  1671. bezorgtinItem,
  1672. style: FlutterFlowTheme.of(context)
  1673. .bodyMedium
  1674. .override(
  1675. font: GoogleFonts.roboto(
  1676. fontWeight:
  1677. FlutterFlowTheme.of(context)
  1678. .bodyMedium
  1679. .fontWeight,
  1680. fontStyle:
  1681. FlutterFlowTheme.of(context)
  1682. .bodyMedium
  1683. .fontStyle,
  1684. ),
  1685. letterSpacing: 0.0,
  1686. fontWeight:
  1687. FlutterFlowTheme.of(context)
  1688. .bodyMedium
  1689. .fontWeight,
  1690. fontStyle:
  1691. FlutterFlowTheme.of(context)
  1692. .bodyMedium
  1693. .fontStyle,
  1694. ),
  1695. );
  1696. }),
  1697. );
  1698. },
  1699. ),
  1700. ],
  1701. ),
  1702. ],
  1703. ),
  1704. ),
  1705. ],
  1706. ),
  1707. ),
  1708. ],
  1709. );
  1710. },
  1711. );
  1712. }
  1713. }