horecagelegenheid_current_widget.dart 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635
  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: Padding(
  316. padding: EdgeInsetsDirectional.fromSTEB(
  317. 0.0, 0.0, 12.0, 0.0),
  318. child: AlignedTooltip(
  319. content: Padding(
  320. padding: EdgeInsets.all(4.0),
  321. child: Text(
  322. FFLocalizations.of(context).getText(
  323. 'gh9ciiqo' /* Favoriet */,
  324. ),
  325. style: FlutterFlowTheme.of(context)
  326. .bodyLarge
  327. .override(
  328. font: GoogleFonts.roboto(
  329. fontWeight:
  330. FlutterFlowTheme.of(context)
  331. .bodyLarge
  332. .fontWeight,
  333. fontStyle:
  334. FlutterFlowTheme.of(context)
  335. .bodyLarge
  336. .fontStyle,
  337. ),
  338. letterSpacing: 0.0,
  339. fontWeight: FlutterFlowTheme.of(context)
  340. .bodyLarge
  341. .fontWeight,
  342. fontStyle: FlutterFlowTheme.of(context)
  343. .bodyLarge
  344. .fontStyle,
  345. ),
  346. ),
  347. ),
  348. offset: 4.0,
  349. preferredDirection: AxisDirection.down,
  350. borderRadius: BorderRadius.circular(8.0),
  351. backgroundColor: FlutterFlowTheme.of(context)
  352. .secondaryBackground,
  353. elevation: 4.0,
  354. tailBaseWidth: 24.0,
  355. tailLength: 12.0,
  356. waitDuration: Duration(milliseconds: 100),
  357. showDuration: Duration(milliseconds: 1500),
  358. triggerMode: TooltipTriggerMode.tap,
  359. child: Builder(
  360. builder: (context) {
  361. if (FFAppState()
  362. .favorieteHorecaNids
  363. .contains(widget!.nid)) {
  364. return FlutterFlowIconButton(
  365. borderRadius: 8.0,
  366. buttonSize: 32.0,
  367. fillColor: Colors.white,
  368. icon: Icon(
  369. Icons.favorite,
  370. color: FlutterFlowTheme.of(context)
  371. .primary,
  372. size: 24.0,
  373. ),
  374. onPressed: () async {
  375. FFAppState()
  376. .removeFromFavorieteHorecaNids(
  377. widget!.nid!);
  378. safeSetState(() {});
  379. await actions.drupalRequest(
  380. 'POST',
  381. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/unflag.json',
  382. FFAppState().userSessionname,
  383. FFAppState().userSessionid,
  384. FFAppState().userToken,
  385. functions.favorietenBodyNode(
  386. widget!.nid!)!,
  387. );
  388. },
  389. );
  390. } else {
  391. return FlutterFlowIconButton(
  392. borderRadius: 8.0,
  393. buttonSize: 32.0,
  394. fillColor: Colors.white,
  395. icon: Icon(
  396. Icons.favorite_border,
  397. color: FlutterFlowTheme.of(context)
  398. .primary,
  399. size: 24.0,
  400. ),
  401. onPressed: () async {
  402. FFAppState().addToFavorieteHorecaNids(
  403. widget!.nid!);
  404. safeSetState(() {});
  405. await actions.drupalRequest(
  406. 'POST',
  407. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/flag.json',
  408. FFAppState().userSessionname,
  409. FFAppState().userSessionid,
  410. FFAppState().userToken,
  411. functions.favorietenBodyNode(
  412. widget!.nid!)!,
  413. );
  414. },
  415. );
  416. }
  417. },
  418. ),
  419. ),
  420. ),
  421. ),
  422. ],
  423. ),
  424. if (getJsonField(
  425. horecagelegenheidCurrentEstablishmentInfoResponse
  426. .jsonBody,
  427. r'''$[:].titel''',
  428. ) !=
  429. null)
  430. Text(
  431. valueOrDefault<String>(
  432. EstablishmentInfoCall.establshmentTitel(
  433. horecagelegenheidCurrentEstablishmentInfoResponse
  434. .jsonBody,
  435. ),
  436. 'title',
  437. ),
  438. style:
  439. FlutterFlowTheme.of(context).headlineMedium.override(
  440. font: GoogleFonts.notoSerif(
  441. fontWeight: FlutterFlowTheme.of(context)
  442. .headlineMedium
  443. .fontWeight,
  444. fontStyle: FlutterFlowTheme.of(context)
  445. .headlineMedium
  446. .fontStyle,
  447. ),
  448. letterSpacing: 0.0,
  449. fontWeight: FlutterFlowTheme.of(context)
  450. .headlineMedium
  451. .fontWeight,
  452. fontStyle: FlutterFlowTheme.of(context)
  453. .headlineMedium
  454. .fontStyle,
  455. ),
  456. ),
  457. Expanded(
  458. child: Column(
  459. children: [
  460. Align(
  461. alignment: Alignment(0.0, 0),
  462. child: TabBar(
  463. isScrollable: true,
  464. tabAlignment: TabAlignment.center,
  465. labelColor:
  466. FlutterFlowTheme.of(context).primaryText,
  467. unselectedLabelColor:
  468. FlutterFlowTheme.of(context).secondaryText,
  469. labelStyle: FlutterFlowTheme.of(context)
  470. .titleMedium
  471. .override(
  472. font: GoogleFonts.roboto(
  473. fontWeight: FlutterFlowTheme.of(context)
  474. .titleMedium
  475. .fontWeight,
  476. fontStyle: FlutterFlowTheme.of(context)
  477. .titleMedium
  478. .fontStyle,
  479. ),
  480. letterSpacing: 0.0,
  481. fontWeight: FlutterFlowTheme.of(context)
  482. .titleMedium
  483. .fontWeight,
  484. fontStyle: FlutterFlowTheme.of(context)
  485. .titleMedium
  486. .fontStyle,
  487. ),
  488. unselectedLabelStyle: FlutterFlowTheme.of(context)
  489. .titleMedium
  490. .override(
  491. font: GoogleFonts.roboto(
  492. fontWeight: FlutterFlowTheme.of(context)
  493. .titleMedium
  494. .fontWeight,
  495. fontStyle: FlutterFlowTheme.of(context)
  496. .titleMedium
  497. .fontStyle,
  498. ),
  499. letterSpacing: 0.0,
  500. fontWeight: FlutterFlowTheme.of(context)
  501. .titleMedium
  502. .fontWeight,
  503. fontStyle: FlutterFlowTheme.of(context)
  504. .titleMedium
  505. .fontStyle,
  506. ),
  507. indicatorColor:
  508. FlutterFlowTheme.of(context).secondary,
  509. tabs: [
  510. Tab(
  511. text: FFLocalizations.of(context).getText(
  512. 'jwojezxv' /* Agenda */,
  513. ),
  514. ),
  515. Tab(
  516. text: FFLocalizations.of(context).getText(
  517. 'pedeshok' /* Info */,
  518. ),
  519. ),
  520. Tab(
  521. text: FFLocalizations.of(context).getText(
  522. 'q5nwrlms' /* Links */,
  523. ),
  524. ),
  525. Tab(
  526. text: FFLocalizations.of(context).getText(
  527. 's1b6yp7v' /* Bezorgen */,
  528. ),
  529. ),
  530. ],
  531. controller: _model.tabBarController,
  532. onTap: (i) async {
  533. [
  534. () async {},
  535. () async {},
  536. () async {},
  537. () async {}
  538. ][i]();
  539. },
  540. ),
  541. ),
  542. Expanded(
  543. child: TabBarView(
  544. controller: _model.tabBarController,
  545. children: [
  546. wrapWithModel(
  547. model: _model
  548. .horecagelegenheidEventTabelComponentCurrentModel,
  549. updateCallback: () => safeSetState(() {}),
  550. child: Builder(builder: (_) {
  551. return DebugFlutterFlowModelContext(
  552. rootModel: _model.rootModel,
  553. child:
  554. HorecagelegenheidEventTabelComponentCurrentWidget(
  555. nid: widget!.nid!,
  556. horecaid: widget!.nid,
  557. ),
  558. );
  559. }),
  560. ),
  561. SingleChildScrollView(
  562. child: Column(
  563. mainAxisSize: MainAxisSize.max,
  564. children: [
  565. if (getJsonField(
  566. horecagelegenheidCurrentEstablishmentInfoResponse
  567. .jsonBody,
  568. r'''$[:].logo''',
  569. ) !=
  570. null)
  571. ClipRRect(
  572. borderRadius:
  573. BorderRadius.circular(8.0),
  574. child: CachedNetworkImage(
  575. fadeInDuration:
  576. Duration(milliseconds: 500),
  577. fadeOutDuration:
  578. Duration(milliseconds: 500),
  579. imageUrl: valueOrDefault<String>(
  580. EstablishmentInfoCall
  581. .establshmentLogo(
  582. horecagelegenheidCurrentEstablishmentInfoResponse
  583. .jsonBody,
  584. ),
  585. 'logo',
  586. ),
  587. width: 200.0,
  588. height: 200.0,
  589. fit: BoxFit.cover,
  590. ),
  591. ),
  592. if (EstablishmentInfoCall
  593. .establishmentAdres(
  594. horecagelegenheidCurrentEstablishmentInfoResponse
  595. .jsonBody,
  596. ) !=
  597. null &&
  598. EstablishmentInfoCall
  599. .establishmentAdres(
  600. horecagelegenheidCurrentEstablishmentInfoResponse
  601. .jsonBody,
  602. ) !=
  603. '')
  604. Text(
  605. getJsonField(
  606. horecagelegenheidCurrentEstablishmentInfoResponse
  607. .jsonBody,
  608. r'''$[:].adres''',
  609. ).toString(),
  610. style: FlutterFlowTheme.of(context)
  611. .bodyMedium
  612. .override(
  613. font: GoogleFonts.roboto(
  614. fontWeight:
  615. FlutterFlowTheme.of(context)
  616. .bodyMedium
  617. .fontWeight,
  618. fontStyle:
  619. FlutterFlowTheme.of(context)
  620. .bodyMedium
  621. .fontStyle,
  622. ),
  623. letterSpacing: 0.0,
  624. fontWeight:
  625. FlutterFlowTheme.of(context)
  626. .bodyMedium
  627. .fontWeight,
  628. fontStyle:
  629. FlutterFlowTheme.of(context)
  630. .bodyMedium
  631. .fontStyle,
  632. ),
  633. ),
  634. if (EstablishmentInfoCall
  635. .establishmentPlaats(
  636. horecagelegenheidCurrentEstablishmentInfoResponse
  637. .jsonBody,
  638. ) !=
  639. null &&
  640. EstablishmentInfoCall
  641. .establishmentPlaats(
  642. horecagelegenheidCurrentEstablishmentInfoResponse
  643. .jsonBody,
  644. ) !=
  645. '')
  646. Text(
  647. getJsonField(
  648. horecagelegenheidCurrentEstablishmentInfoResponse
  649. .jsonBody,
  650. r'''$[:].plaats''',
  651. ).toString(),
  652. style: FlutterFlowTheme.of(context)
  653. .bodyMedium
  654. .override(
  655. font: GoogleFonts.roboto(
  656. fontWeight:
  657. FlutterFlowTheme.of(context)
  658. .bodyMedium
  659. .fontWeight,
  660. fontStyle:
  661. FlutterFlowTheme.of(context)
  662. .bodyMedium
  663. .fontStyle,
  664. ),
  665. letterSpacing: 0.0,
  666. fontWeight:
  667. FlutterFlowTheme.of(context)
  668. .bodyMedium
  669. .fontWeight,
  670. fontStyle:
  671. FlutterFlowTheme.of(context)
  672. .bodyMedium
  673. .fontStyle,
  674. ),
  675. ),
  676. if (getJsonField(
  677. horecagelegenheidCurrentEstablishmentInfoResponse
  678. .jsonBody,
  679. r'''$[:].openingstijden''',
  680. ) !=
  681. null)
  682. Text(
  683. getJsonField(
  684. horecagelegenheidCurrentEstablishmentInfoResponse
  685. .jsonBody,
  686. r'''$[:].openingstijden''',
  687. ).toString(),
  688. style: FlutterFlowTheme.of(context)
  689. .bodyMedium
  690. .override(
  691. font: GoogleFonts.roboto(
  692. fontWeight:
  693. FlutterFlowTheme.of(context)
  694. .bodyMedium
  695. .fontWeight,
  696. fontStyle:
  697. FlutterFlowTheme.of(context)
  698. .bodyMedium
  699. .fontStyle,
  700. ),
  701. letterSpacing: 0.0,
  702. fontWeight:
  703. FlutterFlowTheme.of(context)
  704. .bodyMedium
  705. .fontWeight,
  706. fontStyle:
  707. FlutterFlowTheme.of(context)
  708. .bodyMedium
  709. .fontStyle,
  710. ),
  711. ),
  712. if (getJsonField(
  713. horecagelegenheidCurrentEstablishmentInfoResponse
  714. .jsonBody,
  715. r'''$[:].openingstijdenuitzondering''',
  716. ) !=
  717. null)
  718. Text(
  719. getJsonField(
  720. horecagelegenheidCurrentEstablishmentInfoResponse
  721. .jsonBody,
  722. r'''$[:].openingstijdenuitzondering''',
  723. ).toString(),
  724. style: FlutterFlowTheme.of(context)
  725. .bodyMedium
  726. .override(
  727. font: GoogleFonts.roboto(
  728. fontWeight:
  729. FlutterFlowTheme.of(context)
  730. .bodyMedium
  731. .fontWeight,
  732. fontStyle:
  733. FlutterFlowTheme.of(context)
  734. .bodyMedium
  735. .fontStyle,
  736. ),
  737. letterSpacing: 0.0,
  738. fontWeight:
  739. FlutterFlowTheme.of(context)
  740. .bodyMedium
  741. .fontWeight,
  742. fontStyle:
  743. FlutterFlowTheme.of(context)
  744. .bodyMedium
  745. .fontStyle,
  746. ),
  747. ),
  748. if (EstablishmentInfoCall
  749. .establishmentTelefoonnummer(
  750. horecagelegenheidCurrentEstablishmentInfoResponse
  751. .jsonBody,
  752. ) !=
  753. null &&
  754. EstablishmentInfoCall
  755. .establishmentTelefoonnummer(
  756. horecagelegenheidCurrentEstablishmentInfoResponse
  757. .jsonBody,
  758. ) !=
  759. '')
  760. Text(
  761. getJsonField(
  762. horecagelegenheidCurrentEstablishmentInfoResponse
  763. .jsonBody,
  764. r'''$[:].telefoonnummer''',
  765. ).toString(),
  766. style: FlutterFlowTheme.of(context)
  767. .bodyMedium
  768. .override(
  769. font: GoogleFonts.roboto(
  770. fontWeight:
  771. FlutterFlowTheme.of(context)
  772. .bodyMedium
  773. .fontWeight,
  774. fontStyle:
  775. FlutterFlowTheme.of(context)
  776. .bodyMedium
  777. .fontStyle,
  778. ),
  779. letterSpacing: 0.0,
  780. fontWeight:
  781. FlutterFlowTheme.of(context)
  782. .bodyMedium
  783. .fontWeight,
  784. fontStyle:
  785. FlutterFlowTheme.of(context)
  786. .bodyMedium
  787. .fontStyle,
  788. ),
  789. ),
  790. if (EstablishmentInfoCall
  791. .establishmentEmail(
  792. horecagelegenheidCurrentEstablishmentInfoResponse
  793. .jsonBody,
  794. ) !=
  795. null &&
  796. EstablishmentInfoCall
  797. .establishmentEmail(
  798. horecagelegenheidCurrentEstablishmentInfoResponse
  799. .jsonBody,
  800. ) !=
  801. '')
  802. Text(
  803. getJsonField(
  804. horecagelegenheidCurrentEstablishmentInfoResponse
  805. .jsonBody,
  806. r'''$[:].email''',
  807. ).toString(),
  808. style: FlutterFlowTheme.of(context)
  809. .bodyMedium
  810. .override(
  811. font: GoogleFonts.roboto(
  812. fontWeight:
  813. FlutterFlowTheme.of(context)
  814. .bodyMedium
  815. .fontWeight,
  816. fontStyle:
  817. FlutterFlowTheme.of(context)
  818. .bodyMedium
  819. .fontStyle,
  820. ),
  821. letterSpacing: 0.0,
  822. fontWeight:
  823. FlutterFlowTheme.of(context)
  824. .bodyMedium
  825. .fontWeight,
  826. fontStyle:
  827. FlutterFlowTheme.of(context)
  828. .bodyMedium
  829. .fontStyle,
  830. ),
  831. ),
  832. if (EstablishmentInfoCall.establshmentKvk(
  833. horecagelegenheidCurrentEstablishmentInfoResponse
  834. .jsonBody,
  835. ) !=
  836. null &&
  837. EstablishmentInfoCall.establshmentKvk(
  838. horecagelegenheidCurrentEstablishmentInfoResponse
  839. .jsonBody,
  840. ) !=
  841. '')
  842. Text(
  843. getJsonField(
  844. horecagelegenheidCurrentEstablishmentInfoResponse
  845. .jsonBody,
  846. r'''$[:].kvk''',
  847. ).toString(),
  848. style: FlutterFlowTheme.of(context)
  849. .bodyMedium
  850. .override(
  851. font: GoogleFonts.roboto(
  852. fontWeight:
  853. FlutterFlowTheme.of(context)
  854. .bodyMedium
  855. .fontWeight,
  856. fontStyle:
  857. FlutterFlowTheme.of(context)
  858. .bodyMedium
  859. .fontStyle,
  860. ),
  861. letterSpacing: 0.0,
  862. fontWeight:
  863. FlutterFlowTheme.of(context)
  864. .bodyMedium
  865. .fontWeight,
  866. fontStyle:
  867. FlutterFlowTheme.of(context)
  868. .bodyMedium
  869. .fontStyle,
  870. ),
  871. ),
  872. Builder(
  873. builder: (context) {
  874. final cryptocoins =
  875. EstablishmentInfoCall
  876. .establishmentCryptocoins(
  877. horecagelegenheidCurrentEstablishmentInfoResponse
  878. .jsonBody,
  879. )?.toList() ??
  880. [];
  881. _model.debugGeneratorVariables[
  882. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  883. debugSerializeParam(
  884. cryptocoins.take(100),
  885. ParamType.String,
  886. isList: true,
  887. link:
  888. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  889. name: 'String',
  890. nullable: false,
  891. );
  892. debugLogWidgetClass(_model);
  893. return Wrap(
  894. spacing: 0.0,
  895. runSpacing: 0.0,
  896. alignment: WrapAlignment.start,
  897. crossAxisAlignment:
  898. WrapCrossAlignment.start,
  899. direction: Axis.horizontal,
  900. runAlignment: WrapAlignment.start,
  901. verticalDirection:
  902. VerticalDirection.down,
  903. clipBehavior: Clip.none,
  904. children:
  905. List.generate(cryptocoins.length,
  906. (cryptocoinsIndex) {
  907. final cryptocoinsItem =
  908. cryptocoins[cryptocoinsIndex];
  909. return Text(
  910. cryptocoinsItem,
  911. style:
  912. FlutterFlowTheme.of(context)
  913. .bodyMedium
  914. .override(
  915. font:
  916. GoogleFonts.roboto(
  917. fontWeight:
  918. FlutterFlowTheme.of(
  919. context)
  920. .bodyMedium
  921. .fontWeight,
  922. fontStyle:
  923. FlutterFlowTheme.of(
  924. context)
  925. .bodyMedium
  926. .fontStyle,
  927. ),
  928. letterSpacing: 0.0,
  929. fontWeight:
  930. FlutterFlowTheme.of(
  931. context)
  932. .bodyMedium
  933. .fontWeight,
  934. fontStyle:
  935. FlutterFlowTheme.of(
  936. context)
  937. .bodyMedium
  938. .fontStyle,
  939. ),
  940. );
  941. }),
  942. );
  943. },
  944. ),
  945. wrapWithModel(
  946. model: _model.googleMapsIconButtonModel,
  947. updateCallback: () => safeSetState(() {}),
  948. child: Builder(builder: (_) {
  949. return DebugFlutterFlowModelContext(
  950. rootModel: _model.rootModel,
  951. child: GoogleMapsIconButtonWidget(
  952. adres: EstablishmentInfoCall
  953. .establishmentAdres(
  954. horecagelegenheidCurrentEstablishmentInfoResponse
  955. .jsonBody,
  956. )!,
  957. plaats: EstablishmentInfoCall
  958. .establishmentPlaats(
  959. horecagelegenheidCurrentEstablishmentInfoResponse
  960. .jsonBody,
  961. )!,
  962. ),
  963. );
  964. }),
  965. ),
  966. ],
  967. ),
  968. ),
  969. SingleChildScrollView(
  970. child: Column(
  971. mainAxisSize: MainAxisSize.max,
  972. children: [
  973. if (EstablishmentInfoCall
  974. .establishmentWebsite(
  975. horecagelegenheidCurrentEstablishmentInfoResponse
  976. .jsonBody,
  977. ) !=
  978. null &&
  979. EstablishmentInfoCall
  980. .establishmentWebsite(
  981. horecagelegenheidCurrentEstablishmentInfoResponse
  982. .jsonBody,
  983. ) !=
  984. '')
  985. InkWell(
  986. splashColor: Colors.transparent,
  987. focusColor: Colors.transparent,
  988. hoverColor: Colors.transparent,
  989. highlightColor: Colors.transparent,
  990. onTap: () async {
  991. await launchURL(getJsonField(
  992. horecagelegenheidCurrentEstablishmentInfoResponse
  993. .jsonBody,
  994. r'''$[:].website''',
  995. ).toString());
  996. },
  997. child: Text(
  998. getJsonField(
  999. horecagelegenheidCurrentEstablishmentInfoResponse
  1000. .jsonBody,
  1001. r'''$[:].website''',
  1002. ).toString(),
  1003. style: FlutterFlowTheme.of(context)
  1004. .bodyMedium
  1005. .override(
  1006. font: GoogleFonts.roboto(
  1007. fontWeight:
  1008. FlutterFlowTheme.of(
  1009. context)
  1010. .bodyMedium
  1011. .fontWeight,
  1012. fontStyle:
  1013. FlutterFlowTheme.of(
  1014. context)
  1015. .bodyMedium
  1016. .fontStyle,
  1017. ),
  1018. color:
  1019. FlutterFlowTheme.of(context)
  1020. .secondary,
  1021. letterSpacing: 0.0,
  1022. fontWeight:
  1023. FlutterFlowTheme.of(context)
  1024. .bodyMedium
  1025. .fontWeight,
  1026. fontStyle:
  1027. FlutterFlowTheme.of(context)
  1028. .bodyMedium
  1029. .fontStyle,
  1030. decoration:
  1031. TextDecoration.underline,
  1032. ),
  1033. ),
  1034. ),
  1035. if (EstablishmentInfoCall
  1036. .establishmentMenukaart(
  1037. horecagelegenheidCurrentEstablishmentInfoResponse
  1038. .jsonBody,
  1039. ) !=
  1040. null &&
  1041. EstablishmentInfoCall
  1042. .establishmentMenukaart(
  1043. horecagelegenheidCurrentEstablishmentInfoResponse
  1044. .jsonBody,
  1045. ) !=
  1046. '')
  1047. InkWell(
  1048. splashColor: Colors.transparent,
  1049. focusColor: Colors.transparent,
  1050. hoverColor: Colors.transparent,
  1051. highlightColor: Colors.transparent,
  1052. onTap: () async {
  1053. await launchURL(getJsonField(
  1054. horecagelegenheidCurrentEstablishmentInfoResponse
  1055. .jsonBody,
  1056. r'''$[:].menukaart''',
  1057. ).toString());
  1058. },
  1059. child: Text(
  1060. getJsonField(
  1061. horecagelegenheidCurrentEstablishmentInfoResponse
  1062. .jsonBody,
  1063. r'''$[:].menukaart''',
  1064. ).toString(),
  1065. style: FlutterFlowTheme.of(context)
  1066. .bodyMedium
  1067. .override(
  1068. font: GoogleFonts.roboto(
  1069. fontWeight:
  1070. FlutterFlowTheme.of(
  1071. context)
  1072. .bodyMedium
  1073. .fontWeight,
  1074. fontStyle:
  1075. FlutterFlowTheme.of(
  1076. context)
  1077. .bodyMedium
  1078. .fontStyle,
  1079. ),
  1080. color:
  1081. FlutterFlowTheme.of(context)
  1082. .secondary,
  1083. letterSpacing: 0.0,
  1084. fontWeight:
  1085. FlutterFlowTheme.of(context)
  1086. .bodyMedium
  1087. .fontWeight,
  1088. fontStyle:
  1089. FlutterFlowTheme.of(context)
  1090. .bodyMedium
  1091. .fontStyle,
  1092. decoration:
  1093. TextDecoration.underline,
  1094. ),
  1095. ),
  1096. ),
  1097. if (EstablishmentInfoCall
  1098. .establishmentFacebook(
  1099. horecagelegenheidCurrentEstablishmentInfoResponse
  1100. .jsonBody,
  1101. ) !=
  1102. null &&
  1103. EstablishmentInfoCall
  1104. .establishmentFacebook(
  1105. horecagelegenheidCurrentEstablishmentInfoResponse
  1106. .jsonBody,
  1107. ) !=
  1108. '')
  1109. InkWell(
  1110. splashColor: Colors.transparent,
  1111. focusColor: Colors.transparent,
  1112. hoverColor: Colors.transparent,
  1113. highlightColor: Colors.transparent,
  1114. onTap: () async {
  1115. await launchURL(getJsonField(
  1116. horecagelegenheidCurrentEstablishmentInfoResponse
  1117. .jsonBody,
  1118. r'''$[:].facebook''',
  1119. ).toString());
  1120. },
  1121. child: Text(
  1122. getJsonField(
  1123. horecagelegenheidCurrentEstablishmentInfoResponse
  1124. .jsonBody,
  1125. r'''$[:].facebook''',
  1126. ).toString(),
  1127. style: FlutterFlowTheme.of(context)
  1128. .bodyMedium
  1129. .override(
  1130. font: GoogleFonts.roboto(
  1131. fontWeight:
  1132. FlutterFlowTheme.of(
  1133. context)
  1134. .bodyMedium
  1135. .fontWeight,
  1136. fontStyle:
  1137. FlutterFlowTheme.of(
  1138. context)
  1139. .bodyMedium
  1140. .fontStyle,
  1141. ),
  1142. color:
  1143. FlutterFlowTheme.of(context)
  1144. .secondary,
  1145. letterSpacing: 0.0,
  1146. fontWeight:
  1147. FlutterFlowTheme.of(context)
  1148. .bodyMedium
  1149. .fontWeight,
  1150. fontStyle:
  1151. FlutterFlowTheme.of(context)
  1152. .bodyMedium
  1153. .fontStyle,
  1154. decoration:
  1155. TextDecoration.underline,
  1156. ),
  1157. ),
  1158. ),
  1159. if (EstablishmentInfoCall
  1160. .establishmentTwitter(
  1161. horecagelegenheidCurrentEstablishmentInfoResponse
  1162. .jsonBody,
  1163. ) !=
  1164. null &&
  1165. EstablishmentInfoCall
  1166. .establishmentTwitter(
  1167. horecagelegenheidCurrentEstablishmentInfoResponse
  1168. .jsonBody,
  1169. ) !=
  1170. '')
  1171. InkWell(
  1172. splashColor: Colors.transparent,
  1173. focusColor: Colors.transparent,
  1174. hoverColor: Colors.transparent,
  1175. highlightColor: Colors.transparent,
  1176. onTap: () async {
  1177. await launchURL(getJsonField(
  1178. horecagelegenheidCurrentEstablishmentInfoResponse
  1179. .jsonBody,
  1180. r'''$[:].twitter''',
  1181. ).toString());
  1182. },
  1183. child: Text(
  1184. getJsonField(
  1185. horecagelegenheidCurrentEstablishmentInfoResponse
  1186. .jsonBody,
  1187. r'''$[:].twitter''',
  1188. ).toString(),
  1189. style: FlutterFlowTheme.of(context)
  1190. .bodyMedium
  1191. .override(
  1192. font: GoogleFonts.roboto(
  1193. fontWeight:
  1194. FlutterFlowTheme.of(
  1195. context)
  1196. .bodyMedium
  1197. .fontWeight,
  1198. fontStyle:
  1199. FlutterFlowTheme.of(
  1200. context)
  1201. .bodyMedium
  1202. .fontStyle,
  1203. ),
  1204. color:
  1205. FlutterFlowTheme.of(context)
  1206. .secondary,
  1207. letterSpacing: 0.0,
  1208. fontWeight:
  1209. FlutterFlowTheme.of(context)
  1210. .bodyMedium
  1211. .fontWeight,
  1212. fontStyle:
  1213. FlutterFlowTheme.of(context)
  1214. .bodyMedium
  1215. .fontStyle,
  1216. decoration:
  1217. TextDecoration.underline,
  1218. ),
  1219. ),
  1220. ),
  1221. if (EstablishmentInfoCall
  1222. .establishmentInstagram(
  1223. horecagelegenheidCurrentEstablishmentInfoResponse
  1224. .jsonBody,
  1225. ) !=
  1226. null &&
  1227. EstablishmentInfoCall
  1228. .establishmentInstagram(
  1229. horecagelegenheidCurrentEstablishmentInfoResponse
  1230. .jsonBody,
  1231. ) !=
  1232. '')
  1233. InkWell(
  1234. splashColor: Colors.transparent,
  1235. focusColor: Colors.transparent,
  1236. hoverColor: Colors.transparent,
  1237. highlightColor: Colors.transparent,
  1238. onTap: () async {
  1239. await launchURL(getJsonField(
  1240. horecagelegenheidCurrentEstablishmentInfoResponse
  1241. .jsonBody,
  1242. r'''$[:].instagram''',
  1243. ).toString());
  1244. },
  1245. child: Text(
  1246. getJsonField(
  1247. horecagelegenheidCurrentEstablishmentInfoResponse
  1248. .jsonBody,
  1249. r'''$[:].instagram''',
  1250. ).toString(),
  1251. style: FlutterFlowTheme.of(context)
  1252. .bodyMedium
  1253. .override(
  1254. font: GoogleFonts.roboto(
  1255. fontWeight:
  1256. FlutterFlowTheme.of(
  1257. context)
  1258. .bodyMedium
  1259. .fontWeight,
  1260. fontStyle:
  1261. FlutterFlowTheme.of(
  1262. context)
  1263. .bodyMedium
  1264. .fontStyle,
  1265. ),
  1266. color:
  1267. FlutterFlowTheme.of(context)
  1268. .secondary,
  1269. letterSpacing: 0.0,
  1270. fontWeight:
  1271. FlutterFlowTheme.of(context)
  1272. .bodyMedium
  1273. .fontWeight,
  1274. fontStyle:
  1275. FlutterFlowTheme.of(context)
  1276. .bodyMedium
  1277. .fontStyle,
  1278. decoration:
  1279. TextDecoration.underline,
  1280. ),
  1281. ),
  1282. ),
  1283. ],
  1284. ),
  1285. ),
  1286. SingleChildScrollView(
  1287. child: Column(
  1288. mainAxisSize: MainAxisSize.max,
  1289. children: [
  1290. if (getJsonField(
  1291. horecagelegenheidCurrentEstablishmentInfoResponse
  1292. .jsonBody,
  1293. r'''$[:].afhaalopties''',
  1294. ) !=
  1295. null)
  1296. Text(
  1297. valueOrDefault<String>(
  1298. functions.lijstAlsTekst(getJsonField(
  1299. horecagelegenheidCurrentEstablishmentInfoResponse
  1300. .jsonBody,
  1301. r'''$[:].afhaalopties''',
  1302. )),
  1303. 'afhaalopties',
  1304. ),
  1305. style: FlutterFlowTheme.of(context)
  1306. .bodyMedium
  1307. .override(
  1308. font: GoogleFonts.roboto(
  1309. fontWeight:
  1310. FlutterFlowTheme.of(context)
  1311. .bodyMedium
  1312. .fontWeight,
  1313. fontStyle:
  1314. FlutterFlowTheme.of(context)
  1315. .bodyMedium
  1316. .fontStyle,
  1317. ),
  1318. letterSpacing: 0.0,
  1319. fontWeight:
  1320. FlutterFlowTheme.of(context)
  1321. .bodyMedium
  1322. .fontWeight,
  1323. fontStyle:
  1324. FlutterFlowTheme.of(context)
  1325. .bodyMedium
  1326. .fontStyle,
  1327. ),
  1328. ),
  1329. if (EstablishmentInfoCall
  1330. .establshmentBestellink(
  1331. horecagelegenheidCurrentEstablishmentInfoResponse
  1332. .jsonBody,
  1333. ) !=
  1334. null &&
  1335. EstablishmentInfoCall
  1336. .establshmentBestellink(
  1337. horecagelegenheidCurrentEstablishmentInfoResponse
  1338. .jsonBody,
  1339. ) !=
  1340. '')
  1341. InkWell(
  1342. splashColor: Colors.transparent,
  1343. focusColor: Colors.transparent,
  1344. hoverColor: Colors.transparent,
  1345. highlightColor: Colors.transparent,
  1346. onTap: () async {
  1347. await launchURL(getJsonField(
  1348. horecagelegenheidCurrentEstablishmentInfoResponse
  1349. .jsonBody,
  1350. r'''$[:].bestellink''',
  1351. ).toString());
  1352. },
  1353. child: Text(
  1354. getJsonField(
  1355. horecagelegenheidCurrentEstablishmentInfoResponse
  1356. .jsonBody,
  1357. r'''$[:].bestellink''',
  1358. ).toString(),
  1359. style: FlutterFlowTheme.of(context)
  1360. .bodyMedium
  1361. .override(
  1362. font: GoogleFonts.roboto(
  1363. fontWeight:
  1364. FlutterFlowTheme.of(
  1365. context)
  1366. .bodyMedium
  1367. .fontWeight,
  1368. fontStyle:
  1369. FlutterFlowTheme.of(
  1370. context)
  1371. .bodyMedium
  1372. .fontStyle,
  1373. ),
  1374. color:
  1375. FlutterFlowTheme.of(context)
  1376. .secondary,
  1377. letterSpacing: 0.0,
  1378. fontWeight:
  1379. FlutterFlowTheme.of(context)
  1380. .bodyMedium
  1381. .fontWeight,
  1382. fontStyle:
  1383. FlutterFlowTheme.of(context)
  1384. .bodyMedium
  1385. .fontStyle,
  1386. decoration:
  1387. TextDecoration.underline,
  1388. ),
  1389. ),
  1390. ),
  1391. if (EstablishmentInfoCall
  1392. .establishmentbezorgtijden(
  1393. horecagelegenheidCurrentEstablishmentInfoResponse
  1394. .jsonBody,
  1395. ) !=
  1396. null &&
  1397. EstablishmentInfoCall
  1398. .establishmentbezorgtijden(
  1399. horecagelegenheidCurrentEstablishmentInfoResponse
  1400. .jsonBody,
  1401. ) !=
  1402. '')
  1403. Text(
  1404. getJsonField(
  1405. horecagelegenheidCurrentEstablishmentInfoResponse
  1406. .jsonBody,
  1407. r'''$[:].bezorgtijden''',
  1408. ).toString(),
  1409. style: FlutterFlowTheme.of(context)
  1410. .bodyMedium
  1411. .override(
  1412. font: GoogleFonts.roboto(
  1413. fontWeight:
  1414. FlutterFlowTheme.of(context)
  1415. .bodyMedium
  1416. .fontWeight,
  1417. fontStyle:
  1418. FlutterFlowTheme.of(context)
  1419. .bodyMedium
  1420. .fontStyle,
  1421. ),
  1422. letterSpacing: 0.0,
  1423. fontWeight:
  1424. FlutterFlowTheme.of(context)
  1425. .bodyMedium
  1426. .fontWeight,
  1427. fontStyle:
  1428. FlutterFlowTheme.of(context)
  1429. .bodyMedium
  1430. .fontStyle,
  1431. ),
  1432. ),
  1433. if (EstablishmentInfoCall
  1434. .establishmentBezorgkosten(
  1435. horecagelegenheidCurrentEstablishmentInfoResponse
  1436. .jsonBody,
  1437. ) !=
  1438. null &&
  1439. EstablishmentInfoCall
  1440. .establishmentBezorgkosten(
  1441. horecagelegenheidCurrentEstablishmentInfoResponse
  1442. .jsonBody,
  1443. ) !=
  1444. '')
  1445. Text(
  1446. getJsonField(
  1447. horecagelegenheidCurrentEstablishmentInfoResponse
  1448. .jsonBody,
  1449. r'''$[:].bezorgkosten''',
  1450. ).toString(),
  1451. style: FlutterFlowTheme.of(context)
  1452. .bodyMedium
  1453. .override(
  1454. font: GoogleFonts.roboto(
  1455. fontWeight:
  1456. FlutterFlowTheme.of(context)
  1457. .bodyMedium
  1458. .fontWeight,
  1459. fontStyle:
  1460. FlutterFlowTheme.of(context)
  1461. .bodyMedium
  1462. .fontStyle,
  1463. ),
  1464. letterSpacing: 0.0,
  1465. fontWeight:
  1466. FlutterFlowTheme.of(context)
  1467. .bodyMedium
  1468. .fontWeight,
  1469. fontStyle:
  1470. FlutterFlowTheme.of(context)
  1471. .bodyMedium
  1472. .fontStyle,
  1473. ),
  1474. ),
  1475. if (EstablishmentInfoCall
  1476. .establishmentMinimaleorder(
  1477. horecagelegenheidCurrentEstablishmentInfoResponse
  1478. .jsonBody,
  1479. ) !=
  1480. null &&
  1481. EstablishmentInfoCall
  1482. .establishmentMinimaleorder(
  1483. horecagelegenheidCurrentEstablishmentInfoResponse
  1484. .jsonBody,
  1485. ) !=
  1486. '')
  1487. Text(
  1488. getJsonField(
  1489. horecagelegenheidCurrentEstablishmentInfoResponse
  1490. .jsonBody,
  1491. r'''$[:].minimaleorder''',
  1492. ).toString(),
  1493. style: FlutterFlowTheme.of(context)
  1494. .bodyMedium
  1495. .override(
  1496. font: GoogleFonts.roboto(
  1497. fontWeight:
  1498. FlutterFlowTheme.of(context)
  1499. .bodyMedium
  1500. .fontWeight,
  1501. fontStyle:
  1502. FlutterFlowTheme.of(context)
  1503. .bodyMedium
  1504. .fontStyle,
  1505. ),
  1506. letterSpacing: 0.0,
  1507. fontWeight:
  1508. FlutterFlowTheme.of(context)
  1509. .bodyMedium
  1510. .fontWeight,
  1511. fontStyle:
  1512. FlutterFlowTheme.of(context)
  1513. .bodyMedium
  1514. .fontStyle,
  1515. ),
  1516. ),
  1517. if (getJsonField(
  1518. horecagelegenheidCurrentEstablishmentInfoResponse
  1519. .jsonBody,
  1520. r'''$[:].thuisbezorgtbetaalopties''',
  1521. ) !=
  1522. null)
  1523. Text(
  1524. valueOrDefault<String>(
  1525. functions.lijstAlsTekst(getJsonField(
  1526. horecagelegenheidCurrentEstablishmentInfoResponse
  1527. .jsonBody,
  1528. r'''$[:].thuisbezorgtbetaalopties''',
  1529. )),
  1530. 'betaalopties',
  1531. ),
  1532. style: FlutterFlowTheme.of(context)
  1533. .bodyMedium
  1534. .override(
  1535. font: GoogleFonts.roboto(
  1536. fontWeight:
  1537. FlutterFlowTheme.of(context)
  1538. .bodyMedium
  1539. .fontWeight,
  1540. fontStyle:
  1541. FlutterFlowTheme.of(context)
  1542. .bodyMedium
  1543. .fontStyle,
  1544. ),
  1545. letterSpacing: 0.0,
  1546. fontWeight:
  1547. FlutterFlowTheme.of(context)
  1548. .bodyMedium
  1549. .fontWeight,
  1550. fontStyle:
  1551. FlutterFlowTheme.of(context)
  1552. .bodyMedium
  1553. .fontStyle,
  1554. ),
  1555. ),
  1556. if (getJsonField(
  1557. horecagelegenheidCurrentEstablishmentInfoResponse
  1558. .jsonBody,
  1559. r'''$[:].bezorgtin''',
  1560. ) !=
  1561. null)
  1562. Text(
  1563. valueOrDefault<String>(
  1564. functions.lijstAlsTekst(getJsonField(
  1565. horecagelegenheidCurrentEstablishmentInfoResponse
  1566. .jsonBody,
  1567. r'''$[:].bezorgtin''',
  1568. )),
  1569. 'bezorgdin',
  1570. ),
  1571. style: FlutterFlowTheme.of(context)
  1572. .bodyMedium
  1573. .override(
  1574. font: GoogleFonts.roboto(
  1575. fontWeight:
  1576. FlutterFlowTheme.of(context)
  1577. .bodyMedium
  1578. .fontWeight,
  1579. fontStyle:
  1580. FlutterFlowTheme.of(context)
  1581. .bodyMedium
  1582. .fontStyle,
  1583. ),
  1584. letterSpacing: 0.0,
  1585. fontWeight:
  1586. FlutterFlowTheme.of(context)
  1587. .bodyMedium
  1588. .fontWeight,
  1589. fontStyle:
  1590. FlutterFlowTheme.of(context)
  1591. .bodyMedium
  1592. .fontStyle,
  1593. ),
  1594. ),
  1595. ],
  1596. ),
  1597. ),
  1598. ],
  1599. ),
  1600. ),
  1601. ],
  1602. ),
  1603. ),
  1604. ],
  1605. ),
  1606. ),
  1607. ),
  1608. );
  1609. },
  1610. );
  1611. }
  1612. }