horecagelegenheid_current_widget.dart 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/components/header_buttons_component_widget.dart';
  3. import '/flutter_flow/flutter_flow_icon_button.dart';
  4. import '/flutter_flow/flutter_flow_theme.dart';
  5. import '/flutter_flow/flutter_flow_util.dart';
  6. import '/flutter_flow/flutter_flow_widgets.dart';
  7. import '/horecagelegenhedenoverzicht/horecagelegenheid_event_tabel_component_copy/horecagelegenheid_event_tabel_component_copy_widget.dart';
  8. import '/shared/drawer_component/drawer_component_widget.dart';
  9. import 'dart:ui';
  10. import '/custom_code/actions/index.dart' as actions;
  11. import '/custom_code/widgets/index.dart' as custom_widgets;
  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: Color(0xFFB1061E),
  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(color: Color(0xFFB12727)),
  176. automaticallyImplyLeading: false,
  177. actions: [],
  178. flexibleSpace: FlexibleSpaceBar(
  179. background: Row(
  180. mainAxisSize: MainAxisSize.max,
  181. children: [
  182. wrapWithModel(
  183. model: _model.headerButtonsComponentModel,
  184. updateCallback: () => safeSetState(() {}),
  185. child: Builder(builder: (_) {
  186. return DebugFlutterFlowModelContext(
  187. rootModel: _model.rootModel,
  188. child: HeaderButtonsComponentWidget(),
  189. );
  190. }),
  191. ),
  192. ],
  193. ),
  194. centerTitle: true,
  195. expandedTitleScale: 1.0,
  196. ),
  197. bottom: PreferredSize(
  198. preferredSize: Size.fromHeight(70.0),
  199. child: Container(),
  200. ),
  201. toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
  202. elevation: 2.0,
  203. ),
  204. ),
  205. body: SafeArea(
  206. top: true,
  207. child: Column(
  208. mainAxisSize: MainAxisSize.max,
  209. children: [
  210. Stack(
  211. children: [
  212. Container(
  213. width: 366.1,
  214. height: 281.5,
  215. decoration: BoxDecoration(
  216. color:
  217. FlutterFlowTheme.of(context).secondaryBackground,
  218. ),
  219. child: Builder(
  220. builder: (context) {
  221. final fotoos =
  222. EstablishmentInfoCall.establishmentFotoos(
  223. horecagelegenheidCurrentEstablishmentInfoResponse
  224. .jsonBody,
  225. )?.toList() ??
  226. [];
  227. if (fotoos.isEmpty) {
  228. return Image.asset(
  229. 'assets/images/logo800px.png',
  230. );
  231. }
  232. _model.debugGeneratorVariables[
  233. 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
  234. debugSerializeParam(
  235. fotoos.take(100),
  236. ParamType.String,
  237. isList: true,
  238. link:
  239. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  240. name: 'String',
  241. nullable: false,
  242. );
  243. debugLogWidgetClass(_model);
  244. return Container(
  245. width: double.infinity,
  246. height: 200.0,
  247. child: CarouselSlider.builder(
  248. itemCount: fotoos.length,
  249. itemBuilder: (context, fotoosIndex, _) {
  250. final fotoosItem = fotoos[fotoosIndex];
  251. return Builder(
  252. builder: (context) {
  253. if (fotoosItem != null &&
  254. fotoosItem != '') {
  255. return ClipRRect(
  256. borderRadius:
  257. BorderRadius.circular(8.0),
  258. child: OctoImage(
  259. placeholderBuilder: (_) =>
  260. SizedBox.expand(
  261. child: Image(
  262. image: BlurHashImage(
  263. 'L6PZfSi_.AyE_3t7t7R**0o#DgR4'),
  264. fit: BoxFit.cover,
  265. ),
  266. ),
  267. image: CachedNetworkImageProvider(
  268. fotoosItem,
  269. ),
  270. width: 200.0,
  271. height: 200.0,
  272. fit: BoxFit.fitWidth,
  273. ),
  274. );
  275. } else {
  276. return Icon(
  277. Icons.image_not_supported,
  278. color: FlutterFlowTheme.of(context)
  279. .primaryText,
  280. size: 24.0,
  281. );
  282. }
  283. },
  284. );
  285. },
  286. carouselController:
  287. _model.carouselController ??=
  288. CarouselSliderController(),
  289. options: CarouselOptions(
  290. initialPage:
  291. max(0, min(1, fotoos.length - 1)),
  292. viewportFraction: 0.5,
  293. disableCenter: true,
  294. enlargeCenterPage: true,
  295. enlargeFactor: 0.25,
  296. enableInfiniteScroll: true,
  297. scrollDirection: Axis.horizontal,
  298. autoPlay: false,
  299. onPageChanged: (index, _) =>
  300. _model.carouselCurrentIndex = index,
  301. ),
  302. ),
  303. );
  304. },
  305. ),
  306. ),
  307. Align(
  308. alignment: AlignmentDirectional(1.0, 0.0),
  309. child: AlignedTooltip(
  310. content: Padding(
  311. padding: EdgeInsets.all(4.0),
  312. child: Text(
  313. FFLocalizations.of(context).getText(
  314. 'kjqv6ycx' /* Favoriet */,
  315. ),
  316. style: FlutterFlowTheme.of(context)
  317. .bodyLarge
  318. .override(
  319. font: GoogleFonts.inter(
  320. fontWeight: FlutterFlowTheme.of(context)
  321. .bodyLarge
  322. .fontWeight,
  323. fontStyle: FlutterFlowTheme.of(context)
  324. .bodyLarge
  325. .fontStyle,
  326. ),
  327. letterSpacing: 0.0,
  328. fontWeight: FlutterFlowTheme.of(context)
  329. .bodyLarge
  330. .fontWeight,
  331. fontStyle: FlutterFlowTheme.of(context)
  332. .bodyLarge
  333. .fontStyle,
  334. ),
  335. ),
  336. ),
  337. offset: 4.0,
  338. preferredDirection: AxisDirection.down,
  339. borderRadius: BorderRadius.circular(8.0),
  340. backgroundColor:
  341. FlutterFlowTheme.of(context).secondaryBackground,
  342. elevation: 4.0,
  343. tailBaseWidth: 24.0,
  344. tailLength: 12.0,
  345. waitDuration: Duration(milliseconds: 100),
  346. showDuration: Duration(milliseconds: 1500),
  347. triggerMode: TooltipTriggerMode.tap,
  348. child: Builder(
  349. builder: (context) {
  350. if (FFAppState()
  351. .favorieteHorecaNids
  352. .contains(widget!.nid)) {
  353. return FlutterFlowIconButton(
  354. borderRadius: 8.0,
  355. buttonSize: 32.0,
  356. fillColor: Colors.white,
  357. icon: Icon(
  358. Icons.favorite,
  359. color: Color(0xFFB50808),
  360. size: 24.0,
  361. ),
  362. onPressed: () async {
  363. FFAppState().removeFromFavorieteHorecaNids(
  364. widget!.nid!);
  365. safeSetState(() {});
  366. await actions.drupalRequest(
  367. 'POST',
  368. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/unflag.json',
  369. FFAppState().userSessionname,
  370. FFAppState().userSessionid,
  371. FFAppState().userToken,
  372. functions
  373. .favorietenBodyNode(widget!.nid!)!,
  374. );
  375. },
  376. );
  377. } else {
  378. return FlutterFlowIconButton(
  379. borderRadius: 8.0,
  380. buttonSize: 32.0,
  381. fillColor: Colors.white,
  382. icon: Icon(
  383. Icons.favorite_border,
  384. color: Color(0xFFB50808),
  385. size: 24.0,
  386. ),
  387. onPressed: () async {
  388. FFAppState()
  389. .addToFavorieteHorecaNids(widget!.nid!);
  390. safeSetState(() {});
  391. await actions.drupalRequest(
  392. 'POST',
  393. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/flag.json',
  394. FFAppState().userSessionname,
  395. FFAppState().userSessionid,
  396. FFAppState().userToken,
  397. functions
  398. .favorietenBodyNode(widget!.nid!)!,
  399. );
  400. },
  401. );
  402. }
  403. },
  404. ),
  405. ),
  406. ),
  407. ],
  408. ),
  409. if (getJsonField(
  410. horecagelegenheidCurrentEstablishmentInfoResponse
  411. .jsonBody,
  412. r'''$[:].titel''',
  413. ) !=
  414. null)
  415. Text(
  416. valueOrDefault<String>(
  417. EstablishmentInfoCall.establshmentTitel(
  418. horecagelegenheidCurrentEstablishmentInfoResponse
  419. .jsonBody,
  420. ),
  421. 'title',
  422. ),
  423. style:
  424. FlutterFlowTheme.of(context).headlineMedium.override(
  425. font: GoogleFonts.interTight(
  426. fontWeight: FlutterFlowTheme.of(context)
  427. .headlineMedium
  428. .fontWeight,
  429. fontStyle: FlutterFlowTheme.of(context)
  430. .headlineMedium
  431. .fontStyle,
  432. ),
  433. letterSpacing: 0.0,
  434. fontWeight: FlutterFlowTheme.of(context)
  435. .headlineMedium
  436. .fontWeight,
  437. fontStyle: FlutterFlowTheme.of(context)
  438. .headlineMedium
  439. .fontStyle,
  440. shadows: [
  441. Shadow(
  442. color: FlutterFlowTheme.of(context).secondaryText,
  443. offset: Offset(2.0, 2.0),
  444. blurRadius: 2.0,
  445. )
  446. ],
  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.interTight(
  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.interTight(
  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).primary,
  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. Row(
  527. mainAxisSize: MainAxisSize.max,
  528. children: [
  529. Column(
  530. mainAxisSize: MainAxisSize.max,
  531. children: [
  532. if (getJsonField(
  533. horecagelegenheidCurrentEstablishmentInfoResponse
  534. .jsonBody,
  535. r'''$[:].logo''',
  536. ) !=
  537. null)
  538. ClipRRect(
  539. borderRadius:
  540. BorderRadius.circular(8.0),
  541. child: CachedNetworkImage(
  542. fadeInDuration:
  543. Duration(milliseconds: 500),
  544. fadeOutDuration:
  545. Duration(milliseconds: 500),
  546. imageUrl: valueOrDefault<String>(
  547. EstablishmentInfoCall
  548. .establshmentLogo(
  549. horecagelegenheidCurrentEstablishmentInfoResponse
  550. .jsonBody,
  551. ),
  552. 'logo',
  553. ),
  554. width: 200.0,
  555. height: 200.0,
  556. fit: BoxFit.cover,
  557. ),
  558. ),
  559. if (EstablishmentInfoCall
  560. .establishmentAdres(
  561. horecagelegenheidCurrentEstablishmentInfoResponse
  562. .jsonBody,
  563. ) !=
  564. null &&
  565. EstablishmentInfoCall
  566. .establishmentAdres(
  567. horecagelegenheidCurrentEstablishmentInfoResponse
  568. .jsonBody,
  569. ) !=
  570. '')
  571. Text(
  572. getJsonField(
  573. horecagelegenheidCurrentEstablishmentInfoResponse
  574. .jsonBody,
  575. r'''$[:].adres''',
  576. ).toString(),
  577. style: FlutterFlowTheme.of(context)
  578. .bodyMedium
  579. .override(
  580. font: GoogleFonts.inter(
  581. fontWeight:
  582. FlutterFlowTheme.of(
  583. context)
  584. .bodyMedium
  585. .fontWeight,
  586. fontStyle:
  587. FlutterFlowTheme.of(
  588. context)
  589. .bodyMedium
  590. .fontStyle,
  591. ),
  592. letterSpacing: 0.0,
  593. fontWeight:
  594. FlutterFlowTheme.of(context)
  595. .bodyMedium
  596. .fontWeight,
  597. fontStyle:
  598. FlutterFlowTheme.of(context)
  599. .bodyMedium
  600. .fontStyle,
  601. ),
  602. ),
  603. if (EstablishmentInfoCall
  604. .establishmentPlaats(
  605. horecagelegenheidCurrentEstablishmentInfoResponse
  606. .jsonBody,
  607. ) !=
  608. null &&
  609. EstablishmentInfoCall
  610. .establishmentPlaats(
  611. horecagelegenheidCurrentEstablishmentInfoResponse
  612. .jsonBody,
  613. ) !=
  614. '')
  615. Text(
  616. getJsonField(
  617. horecagelegenheidCurrentEstablishmentInfoResponse
  618. .jsonBody,
  619. r'''$[:].plaats''',
  620. ).toString(),
  621. style: FlutterFlowTheme.of(context)
  622. .bodyMedium
  623. .override(
  624. font: GoogleFonts.inter(
  625. fontWeight:
  626. FlutterFlowTheme.of(
  627. context)
  628. .bodyMedium
  629. .fontWeight,
  630. fontStyle:
  631. FlutterFlowTheme.of(
  632. context)
  633. .bodyMedium
  634. .fontStyle,
  635. ),
  636. letterSpacing: 0.0,
  637. fontWeight:
  638. FlutterFlowTheme.of(context)
  639. .bodyMedium
  640. .fontWeight,
  641. fontStyle:
  642. FlutterFlowTheme.of(context)
  643. .bodyMedium
  644. .fontStyle,
  645. ),
  646. ),
  647. if (EstablishmentInfoCall
  648. .establishmentTelefoonnummer(
  649. horecagelegenheidCurrentEstablishmentInfoResponse
  650. .jsonBody,
  651. ) !=
  652. null &&
  653. EstablishmentInfoCall
  654. .establishmentTelefoonnummer(
  655. horecagelegenheidCurrentEstablishmentInfoResponse
  656. .jsonBody,
  657. ) !=
  658. '')
  659. Text(
  660. getJsonField(
  661. horecagelegenheidCurrentEstablishmentInfoResponse
  662. .jsonBody,
  663. r'''$[:].telefoonnummer''',
  664. ).toString(),
  665. style: FlutterFlowTheme.of(context)
  666. .bodyMedium
  667. .override(
  668. font: GoogleFonts.inter(
  669. fontWeight:
  670. FlutterFlowTheme.of(
  671. context)
  672. .bodyMedium
  673. .fontWeight,
  674. fontStyle:
  675. FlutterFlowTheme.of(
  676. context)
  677. .bodyMedium
  678. .fontStyle,
  679. ),
  680. letterSpacing: 0.0,
  681. fontWeight:
  682. FlutterFlowTheme.of(context)
  683. .bodyMedium
  684. .fontWeight,
  685. fontStyle:
  686. FlutterFlowTheme.of(context)
  687. .bodyMedium
  688. .fontStyle,
  689. ),
  690. ),
  691. if (EstablishmentInfoCall
  692. .establishmentEmail(
  693. horecagelegenheidCurrentEstablishmentInfoResponse
  694. .jsonBody,
  695. ) !=
  696. null &&
  697. EstablishmentInfoCall
  698. .establishmentEmail(
  699. horecagelegenheidCurrentEstablishmentInfoResponse
  700. .jsonBody,
  701. ) !=
  702. '')
  703. Text(
  704. getJsonField(
  705. horecagelegenheidCurrentEstablishmentInfoResponse
  706. .jsonBody,
  707. r'''$[:].email''',
  708. ).toString(),
  709. style: FlutterFlowTheme.of(context)
  710. .bodyMedium
  711. .override(
  712. font: GoogleFonts.inter(
  713. fontWeight:
  714. FlutterFlowTheme.of(
  715. context)
  716. .bodyMedium
  717. .fontWeight,
  718. fontStyle:
  719. FlutterFlowTheme.of(
  720. context)
  721. .bodyMedium
  722. .fontStyle,
  723. ),
  724. letterSpacing: 0.0,
  725. fontWeight:
  726. FlutterFlowTheme.of(context)
  727. .bodyMedium
  728. .fontWeight,
  729. fontStyle:
  730. FlutterFlowTheme.of(context)
  731. .bodyMedium
  732. .fontStyle,
  733. ),
  734. ),
  735. if (EstablishmentInfoCall.establshmentKvk(
  736. horecagelegenheidCurrentEstablishmentInfoResponse
  737. .jsonBody,
  738. ) !=
  739. null &&
  740. EstablishmentInfoCall.establshmentKvk(
  741. horecagelegenheidCurrentEstablishmentInfoResponse
  742. .jsonBody,
  743. ) !=
  744. '')
  745. Text(
  746. getJsonField(
  747. horecagelegenheidCurrentEstablishmentInfoResponse
  748. .jsonBody,
  749. r'''$[:].kvk''',
  750. ).toString(),
  751. style: FlutterFlowTheme.of(context)
  752. .bodyMedium
  753. .override(
  754. font: GoogleFonts.inter(
  755. fontWeight:
  756. FlutterFlowTheme.of(
  757. context)
  758. .bodyMedium
  759. .fontWeight,
  760. fontStyle:
  761. FlutterFlowTheme.of(
  762. context)
  763. .bodyMedium
  764. .fontStyle,
  765. ),
  766. letterSpacing: 0.0,
  767. fontWeight:
  768. FlutterFlowTheme.of(context)
  769. .bodyMedium
  770. .fontWeight,
  771. fontStyle:
  772. FlutterFlowTheme.of(context)
  773. .bodyMedium
  774. .fontStyle,
  775. ),
  776. ),
  777. Builder(
  778. builder: (context) {
  779. final cryptocoins =
  780. EstablishmentInfoCall
  781. .establishmentCryptocoins(
  782. horecagelegenheidCurrentEstablishmentInfoResponse
  783. .jsonBody,
  784. )?.toList() ??
  785. [];
  786. _model.debugGeneratorVariables[
  787. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  788. debugSerializeParam(
  789. cryptocoins.take(100),
  790. ParamType.String,
  791. isList: true,
  792. link:
  793. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  794. name: 'String',
  795. nullable: false,
  796. );
  797. debugLogWidgetClass(_model);
  798. return Wrap(
  799. spacing: 0.0,
  800. runSpacing: 0.0,
  801. alignment: WrapAlignment.start,
  802. crossAxisAlignment:
  803. WrapCrossAlignment.start,
  804. direction: Axis.horizontal,
  805. runAlignment: WrapAlignment.start,
  806. verticalDirection:
  807. VerticalDirection.down,
  808. clipBehavior: Clip.none,
  809. children: List.generate(
  810. cryptocoins.length,
  811. (cryptocoinsIndex) {
  812. final cryptocoinsItem =
  813. cryptocoins[cryptocoinsIndex];
  814. return Text(
  815. cryptocoinsItem,
  816. style:
  817. FlutterFlowTheme.of(context)
  818. .bodyMedium
  819. .override(
  820. font:
  821. GoogleFonts.inter(
  822. fontWeight:
  823. FlutterFlowTheme.of(
  824. context)
  825. .bodyMedium
  826. .fontWeight,
  827. fontStyle:
  828. FlutterFlowTheme.of(
  829. context)
  830. .bodyMedium
  831. .fontStyle,
  832. ),
  833. letterSpacing: 0.0,
  834. fontWeight:
  835. FlutterFlowTheme.of(
  836. context)
  837. .bodyMedium
  838. .fontWeight,
  839. fontStyle:
  840. FlutterFlowTheme.of(
  841. context)
  842. .bodyMedium
  843. .fontStyle,
  844. ),
  845. );
  846. }),
  847. );
  848. },
  849. ),
  850. ],
  851. ),
  852. Column(
  853. mainAxisSize: MainAxisSize.max,
  854. children: [
  855. if (getJsonField(
  856. horecagelegenheidCurrentEstablishmentInfoResponse
  857. .jsonBody,
  858. r'''$[:].inhoud''',
  859. ) !=
  860. null)
  861. Container(
  862. width:
  863. MediaQuery.sizeOf(context).width *
  864. 0.7,
  865. height: MediaQuery.sizeOf(context)
  866. .height *
  867. 0.2,
  868. child: custom_widgets.FromHTML(
  869. width: MediaQuery.sizeOf(context)
  870. .width *
  871. 0.7,
  872. height: MediaQuery.sizeOf(context)
  873. .height *
  874. 0.2,
  875. HTMLParameter:
  876. valueOrDefault<String>(
  877. EstablishmentInfoCall
  878. .establshmentInhoud(
  879. horecagelegenheidCurrentEstablishmentInfoResponse
  880. .jsonBody,
  881. ),
  882. 'content',
  883. ),
  884. ),
  885. ),
  886. ],
  887. ),
  888. ],
  889. ),
  890. Column(
  891. mainAxisSize: MainAxisSize.max,
  892. children: [
  893. if (EstablishmentInfoCall
  894. .establishmentWebsite(
  895. horecagelegenheidCurrentEstablishmentInfoResponse
  896. .jsonBody,
  897. ) !=
  898. null &&
  899. EstablishmentInfoCall
  900. .establishmentWebsite(
  901. horecagelegenheidCurrentEstablishmentInfoResponse
  902. .jsonBody,
  903. ) !=
  904. '')
  905. InkWell(
  906. splashColor: Colors.transparent,
  907. focusColor: Colors.transparent,
  908. hoverColor: Colors.transparent,
  909. highlightColor: Colors.transparent,
  910. onTap: () async {
  911. await launchURL(getJsonField(
  912. horecagelegenheidCurrentEstablishmentInfoResponse
  913. .jsonBody,
  914. r'''$[:].website''',
  915. ).toString());
  916. },
  917. child: Text(
  918. getJsonField(
  919. horecagelegenheidCurrentEstablishmentInfoResponse
  920. .jsonBody,
  921. r'''$[:].website''',
  922. ).toString(),
  923. style: FlutterFlowTheme.of(context)
  924. .bodyMedium
  925. .override(
  926. font: GoogleFonts.inter(
  927. fontWeight:
  928. FlutterFlowTheme.of(context)
  929. .bodyMedium
  930. .fontWeight,
  931. fontStyle:
  932. FlutterFlowTheme.of(context)
  933. .bodyMedium
  934. .fontStyle,
  935. ),
  936. letterSpacing: 0.0,
  937. fontWeight:
  938. FlutterFlowTheme.of(context)
  939. .bodyMedium
  940. .fontWeight,
  941. fontStyle:
  942. FlutterFlowTheme.of(context)
  943. .bodyMedium
  944. .fontStyle,
  945. ),
  946. ),
  947. ),
  948. if (EstablishmentInfoCall
  949. .establishmentMenukaart(
  950. horecagelegenheidCurrentEstablishmentInfoResponse
  951. .jsonBody,
  952. ) !=
  953. null &&
  954. EstablishmentInfoCall
  955. .establishmentMenukaart(
  956. horecagelegenheidCurrentEstablishmentInfoResponse
  957. .jsonBody,
  958. ) !=
  959. '')
  960. InkWell(
  961. splashColor: Colors.transparent,
  962. focusColor: Colors.transparent,
  963. hoverColor: Colors.transparent,
  964. highlightColor: Colors.transparent,
  965. onTap: () async {
  966. await launchURL(getJsonField(
  967. horecagelegenheidCurrentEstablishmentInfoResponse
  968. .jsonBody,
  969. r'''$[:].menukaart''',
  970. ).toString());
  971. },
  972. child: Text(
  973. getJsonField(
  974. horecagelegenheidCurrentEstablishmentInfoResponse
  975. .jsonBody,
  976. r'''$[:].menukaart''',
  977. ).toString(),
  978. style: FlutterFlowTheme.of(context)
  979. .bodyMedium
  980. .override(
  981. font: GoogleFonts.inter(
  982. fontWeight:
  983. FlutterFlowTheme.of(context)
  984. .bodyMedium
  985. .fontWeight,
  986. fontStyle:
  987. FlutterFlowTheme.of(context)
  988. .bodyMedium
  989. .fontStyle,
  990. ),
  991. letterSpacing: 0.0,
  992. fontWeight:
  993. FlutterFlowTheme.of(context)
  994. .bodyMedium
  995. .fontWeight,
  996. fontStyle:
  997. FlutterFlowTheme.of(context)
  998. .bodyMedium
  999. .fontStyle,
  1000. ),
  1001. ),
  1002. ),
  1003. if (EstablishmentInfoCall
  1004. .establishmentFacebook(
  1005. horecagelegenheidCurrentEstablishmentInfoResponse
  1006. .jsonBody,
  1007. ) !=
  1008. null &&
  1009. EstablishmentInfoCall
  1010. .establishmentFacebook(
  1011. horecagelegenheidCurrentEstablishmentInfoResponse
  1012. .jsonBody,
  1013. ) !=
  1014. '')
  1015. InkWell(
  1016. splashColor: Colors.transparent,
  1017. focusColor: Colors.transparent,
  1018. hoverColor: Colors.transparent,
  1019. highlightColor: Colors.transparent,
  1020. onTap: () async {
  1021. await launchURL(getJsonField(
  1022. horecagelegenheidCurrentEstablishmentInfoResponse
  1023. .jsonBody,
  1024. r'''$[:].facebook''',
  1025. ).toString());
  1026. },
  1027. child: Text(
  1028. getJsonField(
  1029. horecagelegenheidCurrentEstablishmentInfoResponse
  1030. .jsonBody,
  1031. r'''$[:].facebook''',
  1032. ).toString(),
  1033. style: FlutterFlowTheme.of(context)
  1034. .bodyMedium
  1035. .override(
  1036. font: GoogleFonts.inter(
  1037. fontWeight:
  1038. FlutterFlowTheme.of(context)
  1039. .bodyMedium
  1040. .fontWeight,
  1041. fontStyle:
  1042. FlutterFlowTheme.of(context)
  1043. .bodyMedium
  1044. .fontStyle,
  1045. ),
  1046. letterSpacing: 0.0,
  1047. fontWeight:
  1048. FlutterFlowTheme.of(context)
  1049. .bodyMedium
  1050. .fontWeight,
  1051. fontStyle:
  1052. FlutterFlowTheme.of(context)
  1053. .bodyMedium
  1054. .fontStyle,
  1055. ),
  1056. ),
  1057. ),
  1058. if (EstablishmentInfoCall
  1059. .establishmentTwitter(
  1060. horecagelegenheidCurrentEstablishmentInfoResponse
  1061. .jsonBody,
  1062. ) !=
  1063. null &&
  1064. EstablishmentInfoCall
  1065. .establishmentTwitter(
  1066. horecagelegenheidCurrentEstablishmentInfoResponse
  1067. .jsonBody,
  1068. ) !=
  1069. '')
  1070. InkWell(
  1071. splashColor: Colors.transparent,
  1072. focusColor: Colors.transparent,
  1073. hoverColor: Colors.transparent,
  1074. highlightColor: Colors.transparent,
  1075. onTap: () async {
  1076. await launchURL(getJsonField(
  1077. horecagelegenheidCurrentEstablishmentInfoResponse
  1078. .jsonBody,
  1079. r'''$[:].twitter''',
  1080. ).toString());
  1081. },
  1082. child: Text(
  1083. getJsonField(
  1084. horecagelegenheidCurrentEstablishmentInfoResponse
  1085. .jsonBody,
  1086. r'''$[:].twitter''',
  1087. ).toString(),
  1088. style: FlutterFlowTheme.of(context)
  1089. .bodyMedium
  1090. .override(
  1091. font: GoogleFonts.inter(
  1092. fontWeight:
  1093. FlutterFlowTheme.of(context)
  1094. .bodyMedium
  1095. .fontWeight,
  1096. fontStyle:
  1097. FlutterFlowTheme.of(context)
  1098. .bodyMedium
  1099. .fontStyle,
  1100. ),
  1101. letterSpacing: 0.0,
  1102. fontWeight:
  1103. FlutterFlowTheme.of(context)
  1104. .bodyMedium
  1105. .fontWeight,
  1106. fontStyle:
  1107. FlutterFlowTheme.of(context)
  1108. .bodyMedium
  1109. .fontStyle,
  1110. ),
  1111. ),
  1112. ),
  1113. if (EstablishmentInfoCall
  1114. .establishmentInstagram(
  1115. horecagelegenheidCurrentEstablishmentInfoResponse
  1116. .jsonBody,
  1117. ) !=
  1118. null &&
  1119. EstablishmentInfoCall
  1120. .establishmentInstagram(
  1121. horecagelegenheidCurrentEstablishmentInfoResponse
  1122. .jsonBody,
  1123. ) !=
  1124. '')
  1125. InkWell(
  1126. splashColor: Colors.transparent,
  1127. focusColor: Colors.transparent,
  1128. hoverColor: Colors.transparent,
  1129. highlightColor: Colors.transparent,
  1130. onTap: () async {
  1131. await launchURL(getJsonField(
  1132. horecagelegenheidCurrentEstablishmentInfoResponse
  1133. .jsonBody,
  1134. r'''$[:].instagram''',
  1135. ).toString());
  1136. },
  1137. child: Text(
  1138. getJsonField(
  1139. horecagelegenheidCurrentEstablishmentInfoResponse
  1140. .jsonBody,
  1141. r'''$[:].instagram''',
  1142. ).toString(),
  1143. style: FlutterFlowTheme.of(context)
  1144. .bodyMedium
  1145. .override(
  1146. font: GoogleFonts.inter(
  1147. fontWeight:
  1148. FlutterFlowTheme.of(context)
  1149. .bodyMedium
  1150. .fontWeight,
  1151. fontStyle:
  1152. FlutterFlowTheme.of(context)
  1153. .bodyMedium
  1154. .fontStyle,
  1155. ),
  1156. letterSpacing: 0.0,
  1157. fontWeight:
  1158. FlutterFlowTheme.of(context)
  1159. .bodyMedium
  1160. .fontWeight,
  1161. fontStyle:
  1162. FlutterFlowTheme.of(context)
  1163. .bodyMedium
  1164. .fontStyle,
  1165. ),
  1166. ),
  1167. ),
  1168. ],
  1169. ),
  1170. Column(
  1171. mainAxisSize: MainAxisSize.max,
  1172. children: [
  1173. Text(
  1174. getJsonField(
  1175. horecagelegenheidCurrentEstablishmentInfoResponse
  1176. .jsonBody,
  1177. r'''$[:].afhaalopties''',
  1178. ).toString(),
  1179. style: FlutterFlowTheme.of(context)
  1180. .bodyMedium
  1181. .override(
  1182. font: GoogleFonts.inter(
  1183. fontWeight:
  1184. FlutterFlowTheme.of(context)
  1185. .bodyMedium
  1186. .fontWeight,
  1187. fontStyle:
  1188. FlutterFlowTheme.of(context)
  1189. .bodyMedium
  1190. .fontStyle,
  1191. ),
  1192. letterSpacing: 0.0,
  1193. fontWeight:
  1194. FlutterFlowTheme.of(context)
  1195. .bodyMedium
  1196. .fontWeight,
  1197. fontStyle:
  1198. FlutterFlowTheme.of(context)
  1199. .bodyMedium
  1200. .fontStyle,
  1201. ),
  1202. ),
  1203. if (EstablishmentInfoCall
  1204. .establshmentBestellink(
  1205. horecagelegenheidCurrentEstablishmentInfoResponse
  1206. .jsonBody,
  1207. ) !=
  1208. null &&
  1209. EstablishmentInfoCall
  1210. .establshmentBestellink(
  1211. horecagelegenheidCurrentEstablishmentInfoResponse
  1212. .jsonBody,
  1213. ) !=
  1214. '')
  1215. InkWell(
  1216. splashColor: Colors.transparent,
  1217. focusColor: Colors.transparent,
  1218. hoverColor: Colors.transparent,
  1219. highlightColor: Colors.transparent,
  1220. onTap: () async {
  1221. await launchURL(getJsonField(
  1222. horecagelegenheidCurrentEstablishmentInfoResponse
  1223. .jsonBody,
  1224. r'''$[:].bestellink''',
  1225. ).toString());
  1226. },
  1227. child: Text(
  1228. getJsonField(
  1229. horecagelegenheidCurrentEstablishmentInfoResponse
  1230. .jsonBody,
  1231. r'''$[:].bestellink''',
  1232. ).toString(),
  1233. style: FlutterFlowTheme.of(context)
  1234. .bodyMedium
  1235. .override(
  1236. font: GoogleFonts.inter(
  1237. fontWeight:
  1238. FlutterFlowTheme.of(context)
  1239. .bodyMedium
  1240. .fontWeight,
  1241. fontStyle:
  1242. FlutterFlowTheme.of(context)
  1243. .bodyMedium
  1244. .fontStyle,
  1245. ),
  1246. letterSpacing: 0.0,
  1247. fontWeight:
  1248. FlutterFlowTheme.of(context)
  1249. .bodyMedium
  1250. .fontWeight,
  1251. fontStyle:
  1252. FlutterFlowTheme.of(context)
  1253. .bodyMedium
  1254. .fontStyle,
  1255. ),
  1256. ),
  1257. ),
  1258. if (EstablishmentInfoCall
  1259. .establishmentbezorgtijden(
  1260. horecagelegenheidCurrentEstablishmentInfoResponse
  1261. .jsonBody,
  1262. ) !=
  1263. null &&
  1264. EstablishmentInfoCall
  1265. .establishmentbezorgtijden(
  1266. horecagelegenheidCurrentEstablishmentInfoResponse
  1267. .jsonBody,
  1268. ) !=
  1269. '')
  1270. Text(
  1271. getJsonField(
  1272. horecagelegenheidCurrentEstablishmentInfoResponse
  1273. .jsonBody,
  1274. r'''$[:].bezorgtijden''',
  1275. ).toString(),
  1276. style: FlutterFlowTheme.of(context)
  1277. .bodyMedium
  1278. .override(
  1279. font: GoogleFonts.inter(
  1280. fontWeight:
  1281. FlutterFlowTheme.of(context)
  1282. .bodyMedium
  1283. .fontWeight,
  1284. fontStyle:
  1285. FlutterFlowTheme.of(context)
  1286. .bodyMedium
  1287. .fontStyle,
  1288. ),
  1289. letterSpacing: 0.0,
  1290. fontWeight:
  1291. FlutterFlowTheme.of(context)
  1292. .bodyMedium
  1293. .fontWeight,
  1294. fontStyle:
  1295. FlutterFlowTheme.of(context)
  1296. .bodyMedium
  1297. .fontStyle,
  1298. ),
  1299. ),
  1300. if (EstablishmentInfoCall
  1301. .establishmentBezorgkosten(
  1302. horecagelegenheidCurrentEstablishmentInfoResponse
  1303. .jsonBody,
  1304. ) !=
  1305. null &&
  1306. EstablishmentInfoCall
  1307. .establishmentBezorgkosten(
  1308. horecagelegenheidCurrentEstablishmentInfoResponse
  1309. .jsonBody,
  1310. ) !=
  1311. '')
  1312. Text(
  1313. getJsonField(
  1314. horecagelegenheidCurrentEstablishmentInfoResponse
  1315. .jsonBody,
  1316. r'''$[:].bezorgkosten''',
  1317. ).toString(),
  1318. style: FlutterFlowTheme.of(context)
  1319. .bodyMedium
  1320. .override(
  1321. font: GoogleFonts.inter(
  1322. fontWeight:
  1323. FlutterFlowTheme.of(context)
  1324. .bodyMedium
  1325. .fontWeight,
  1326. fontStyle:
  1327. FlutterFlowTheme.of(context)
  1328. .bodyMedium
  1329. .fontStyle,
  1330. ),
  1331. letterSpacing: 0.0,
  1332. fontWeight:
  1333. FlutterFlowTheme.of(context)
  1334. .bodyMedium
  1335. .fontWeight,
  1336. fontStyle:
  1337. FlutterFlowTheme.of(context)
  1338. .bodyMedium
  1339. .fontStyle,
  1340. ),
  1341. ),
  1342. if (EstablishmentInfoCall
  1343. .establishmentMinimaleorder(
  1344. horecagelegenheidCurrentEstablishmentInfoResponse
  1345. .jsonBody,
  1346. ) !=
  1347. null &&
  1348. EstablishmentInfoCall
  1349. .establishmentMinimaleorder(
  1350. horecagelegenheidCurrentEstablishmentInfoResponse
  1351. .jsonBody,
  1352. ) !=
  1353. '')
  1354. Text(
  1355. getJsonField(
  1356. horecagelegenheidCurrentEstablishmentInfoResponse
  1357. .jsonBody,
  1358. r'''$[:].minimaleorder''',
  1359. ).toString(),
  1360. style: FlutterFlowTheme.of(context)
  1361. .bodyMedium
  1362. .override(
  1363. font: GoogleFonts.inter(
  1364. fontWeight:
  1365. FlutterFlowTheme.of(context)
  1366. .bodyMedium
  1367. .fontWeight,
  1368. fontStyle:
  1369. FlutterFlowTheme.of(context)
  1370. .bodyMedium
  1371. .fontStyle,
  1372. ),
  1373. letterSpacing: 0.0,
  1374. fontWeight:
  1375. FlutterFlowTheme.of(context)
  1376. .bodyMedium
  1377. .fontWeight,
  1378. fontStyle:
  1379. FlutterFlowTheme.of(context)
  1380. .bodyMedium
  1381. .fontStyle,
  1382. ),
  1383. ),
  1384. if (getJsonField(
  1385. horecagelegenheidCurrentEstablishmentInfoResponse
  1386. .jsonBody,
  1387. r'''$[:].thuisbezorgtbetaalopties''',
  1388. ) !=
  1389. null)
  1390. Text(
  1391. getJsonField(
  1392. horecagelegenheidCurrentEstablishmentInfoResponse
  1393. .jsonBody,
  1394. r'''$[:].thuisbezorgtbetaalopties''',
  1395. ).toString(),
  1396. style: FlutterFlowTheme.of(context)
  1397. .bodyMedium
  1398. .override(
  1399. font: GoogleFonts.inter(
  1400. fontWeight:
  1401. FlutterFlowTheme.of(context)
  1402. .bodyMedium
  1403. .fontWeight,
  1404. fontStyle:
  1405. FlutterFlowTheme.of(context)
  1406. .bodyMedium
  1407. .fontStyle,
  1408. ),
  1409. letterSpacing: 0.0,
  1410. fontWeight:
  1411. FlutterFlowTheme.of(context)
  1412. .bodyMedium
  1413. .fontWeight,
  1414. fontStyle:
  1415. FlutterFlowTheme.of(context)
  1416. .bodyMedium
  1417. .fontStyle,
  1418. ),
  1419. ),
  1420. Text(
  1421. getJsonField(
  1422. horecagelegenheidCurrentEstablishmentInfoResponse
  1423. .jsonBody,
  1424. r'''$[:].bezorgdin''',
  1425. ).toString(),
  1426. style: FlutterFlowTheme.of(context)
  1427. .bodyMedium
  1428. .override(
  1429. font: GoogleFonts.inter(
  1430. fontWeight:
  1431. FlutterFlowTheme.of(context)
  1432. .bodyMedium
  1433. .fontWeight,
  1434. fontStyle:
  1435. FlutterFlowTheme.of(context)
  1436. .bodyMedium
  1437. .fontStyle,
  1438. ),
  1439. letterSpacing: 0.0,
  1440. fontWeight:
  1441. FlutterFlowTheme.of(context)
  1442. .bodyMedium
  1443. .fontWeight,
  1444. fontStyle:
  1445. FlutterFlowTheme.of(context)
  1446. .bodyMedium
  1447. .fontStyle,
  1448. ),
  1449. ),
  1450. ],
  1451. ),
  1452. ],
  1453. ),
  1454. ),
  1455. ],
  1456. ),
  1457. ),
  1458. Expanded(
  1459. child: Container(
  1460. width: 462.72,
  1461. height: 100.0,
  1462. decoration: BoxDecoration(
  1463. color: FlutterFlowTheme.of(context).secondaryBackground,
  1464. ),
  1465. child: Column(
  1466. mainAxisSize: MainAxisSize.max,
  1467. children: [
  1468. Expanded(
  1469. child: wrapWithModel(
  1470. model: _model
  1471. .horecagelegenheidEventTabelComponentCopyModel,
  1472. updateCallback: () => safeSetState(() {}),
  1473. child: Builder(builder: (_) {
  1474. return DebugFlutterFlowModelContext(
  1475. rootModel: _model.rootModel,
  1476. child:
  1477. HorecagelegenheidEventTabelComponentCopyWidget(
  1478. nid: widget!.nid!,
  1479. horecaid: widget!.nid,
  1480. ),
  1481. );
  1482. }),
  1483. ),
  1484. ),
  1485. ],
  1486. ),
  1487. ),
  1488. ),
  1489. FFButtonWidget(
  1490. onPressed: () async {
  1491. context.pushNamed(
  1492. HorecagelegenhedenOverzichtWidget.routeName,
  1493. queryParameters: {
  1494. 'plaats': serializeParam(
  1495. FFAppState().gemeenteSelectId,
  1496. ParamType.String,
  1497. ),
  1498. }.withoutNulls,
  1499. );
  1500. },
  1501. text: FFLocalizations.of(context).getText(
  1502. 'ukbd1ac9' /* Alle horecagelegenheden */,
  1503. ),
  1504. options: FFButtonOptions(
  1505. height: 40.0,
  1506. padding:
  1507. EdgeInsetsDirectional.fromSTEB(16.0, 0.0, 16.0, 0.0),
  1508. iconPadding:
  1509. EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
  1510. color: FlutterFlowTheme.of(context).primary,
  1511. textStyle:
  1512. FlutterFlowTheme.of(context).titleSmall.override(
  1513. font: GoogleFonts.interTight(
  1514. fontWeight: FlutterFlowTheme.of(context)
  1515. .titleSmall
  1516. .fontWeight,
  1517. fontStyle: FlutterFlowTheme.of(context)
  1518. .titleSmall
  1519. .fontStyle,
  1520. ),
  1521. color: Colors.white,
  1522. letterSpacing: 0.0,
  1523. fontWeight: FlutterFlowTheme.of(context)
  1524. .titleSmall
  1525. .fontWeight,
  1526. fontStyle: FlutterFlowTheme.of(context)
  1527. .titleSmall
  1528. .fontStyle,
  1529. ),
  1530. elevation: 0.0,
  1531. borderRadius: BorderRadius.circular(8.0),
  1532. ),
  1533. ),
  1534. ],
  1535. ),
  1536. ),
  1537. ),
  1538. );
  1539. },
  1540. );
  1541. }
  1542. }