evenement_horecagelegenheid_widget.dart 84 KB

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