horecagelegenheid_current_widget.dart 82 KB

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