evenement_horecagelegenheid_widget.dart 82 KB

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