horecagelegenheid_current_widget.dart 87 KB

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