horecagelegenheid_current_widget.dart 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/components/header_buttons_component_widget.dart';
  3. import '/flutter_flow/flutter_flow_theme.dart';
  4. import '/flutter_flow/flutter_flow_util.dart';
  5. import '/flutter_flow/flutter_flow_widgets.dart';
  6. import '/horecagelegenhedenoverzicht/horecagelegenheid_event_tabel_component_copy/horecagelegenheid_event_tabel_component_copy_widget.dart';
  7. import '/shared/drawer_component/drawer_component_widget.dart';
  8. import 'dart:ui';
  9. import '/custom_code/widgets/index.dart' as custom_widgets;
  10. import 'package:carousel_slider/carousel_slider.dart';
  11. import 'package:cached_network_image/cached_network_image.dart';
  12. import 'package:flutter/material.dart';
  13. import 'package:flutter_spinkit/flutter_spinkit.dart';
  14. import 'package:google_fonts/google_fonts.dart';
  15. import 'package:provider/provider.dart';
  16. import 'horecagelegenheid_current_model.dart';
  17. export 'horecagelegenheid_current_model.dart';
  18. /// Establishment
  19. class HorecagelegenheidCurrentWidget extends StatefulWidget {
  20. const HorecagelegenheidCurrentWidget({
  21. super.key,
  22. required this.nid,
  23. });
  24. /// establishment nid
  25. final String? nid;
  26. static String routeName = 'horecagelegenheidCurrent';
  27. static String routePath = '/horecagelegenheidCurrent';
  28. @override
  29. State<HorecagelegenheidCurrentWidget> createState() =>
  30. _HorecagelegenheidCurrentWidgetState();
  31. }
  32. class _HorecagelegenheidCurrentWidgetState
  33. extends State<HorecagelegenheidCurrentWidget>
  34. with TickerProviderStateMixin, RouteAware {
  35. late HorecagelegenheidCurrentModel _model;
  36. final scaffoldKey = GlobalKey<ScaffoldState>();
  37. @override
  38. void initState() {
  39. super.initState();
  40. _model = createModel(context, () => HorecagelegenheidCurrentModel());
  41. _model.tabBarController = TabController(
  42. vsync: this,
  43. length: 3,
  44. initialIndex: 0,
  45. )
  46. ..addListener(() => safeSetState(() {}))
  47. ..addListener(() {
  48. debugLogWidgetClass(_model);
  49. });
  50. }
  51. @override
  52. void dispose() {
  53. routeObserver.unsubscribe(this);
  54. _model.dispose();
  55. super.dispose();
  56. }
  57. @override
  58. void didUpdateWidget(HorecagelegenheidCurrentWidget oldWidget) {
  59. super.didUpdateWidget(oldWidget);
  60. _model.widget = widget;
  61. }
  62. @override
  63. void didChangeDependencies() {
  64. super.didChangeDependencies();
  65. final route = DebugModalRoute.of(context);
  66. if (route != null) {
  67. routeObserver.subscribe(this, route);
  68. }
  69. debugLogGlobalProperty(context);
  70. }
  71. @override
  72. void didPopNext() {
  73. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  74. setState(() => _model.isRouteVisible = true);
  75. debugLogWidgetClass(_model);
  76. }
  77. }
  78. @override
  79. void didPush() {
  80. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  81. setState(() => _model.isRouteVisible = true);
  82. debugLogWidgetClass(_model);
  83. }
  84. }
  85. @override
  86. void didPop() {
  87. _model.isRouteVisible = false;
  88. }
  89. @override
  90. void didPushNext() {
  91. _model.isRouteVisible = false;
  92. }
  93. @override
  94. Widget build(BuildContext context) {
  95. DebugFlutterFlowModelContext.maybeOf(context)
  96. ?.parentModelCallback
  97. ?.call(_model);
  98. return FutureBuilder<ApiCallResponse>(
  99. future: EstablishmentInfoCall.call(
  100. nid: widget!.nid,
  101. ),
  102. builder: (context, snapshot) {
  103. // Customize what your widget looks like when it's loading.
  104. if (!snapshot.hasData) {
  105. return Scaffold(
  106. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  107. body: Center(
  108. child: SizedBox(
  109. width: 80.0,
  110. height: 80.0,
  111. child: SpinKitFadingCircle(
  112. color: Color(0xFFB1061E),
  113. size: 80.0,
  114. ),
  115. ),
  116. ),
  117. );
  118. }
  119. final horecagelegenheidCurrentEstablishmentInfoResponse =
  120. snapshot.data!;
  121. _model.debugBackendQueries[
  122. 'EstablishmentInfoCall_statusCode_Scaffold_m8hqnbgb'] =
  123. debugSerializeParam(
  124. horecagelegenheidCurrentEstablishmentInfoResponse.statusCode,
  125. ParamType.int,
  126. link:
  127. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  128. name: 'int',
  129. nullable: false,
  130. );
  131. _model.debugBackendQueries[
  132. 'EstablishmentInfoCall_responseBody_Scaffold_m8hqnbgb'] =
  133. debugSerializeParam(
  134. horecagelegenheidCurrentEstablishmentInfoResponse.bodyText,
  135. ParamType.String,
  136. link:
  137. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  138. name: 'String',
  139. nullable: false,
  140. );
  141. debugLogWidgetClass(_model);
  142. return GestureDetector(
  143. onTap: () {
  144. FocusScope.of(context).unfocus();
  145. FocusManager.instance.primaryFocus?.unfocus();
  146. },
  147. child: Scaffold(
  148. key: scaffoldKey,
  149. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  150. drawer: Drawer(
  151. elevation: 16.0,
  152. child: wrapWithModel(
  153. model: _model.drawerComponentModel,
  154. updateCallback: () => safeSetState(() {}),
  155. child: Builder(builder: (_) {
  156. return DebugFlutterFlowModelContext(
  157. rootModel: _model.rootModel,
  158. child: DrawerComponentWidget(),
  159. );
  160. }),
  161. ),
  162. ),
  163. appBar: PreferredSize(
  164. preferredSize: Size.fromHeight(80.0),
  165. child: AppBar(
  166. backgroundColor: FlutterFlowTheme.of(context).info,
  167. iconTheme: IconThemeData(color: Color(0xFFB12727)),
  168. automaticallyImplyLeading: false,
  169. actions: [],
  170. flexibleSpace: FlexibleSpaceBar(
  171. background: wrapWithModel(
  172. model: _model.headerButtonsComponentModel,
  173. updateCallback: () => safeSetState(() {}),
  174. child: Builder(builder: (_) {
  175. return DebugFlutterFlowModelContext(
  176. rootModel: _model.rootModel,
  177. child: HeaderButtonsComponentWidget(),
  178. );
  179. }),
  180. ),
  181. centerTitle: true,
  182. expandedTitleScale: 1.0,
  183. ),
  184. bottom: PreferredSize(
  185. preferredSize: Size.fromHeight(70.0),
  186. child: Container(),
  187. ),
  188. toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
  189. elevation: 2.0,
  190. ),
  191. ),
  192. body: SafeArea(
  193. top: true,
  194. child: Column(
  195. mainAxisSize: MainAxisSize.max,
  196. children: [
  197. Container(
  198. width: 366.1,
  199. height: 281.5,
  200. decoration: BoxDecoration(
  201. color: FlutterFlowTheme.of(context).secondaryBackground,
  202. ),
  203. child: Builder(
  204. builder: (context) {
  205. final fotoos =
  206. EstablishmentInfoCall.establishmentFotoos(
  207. horecagelegenheidCurrentEstablishmentInfoResponse
  208. .jsonBody,
  209. )?.toList() ??
  210. [];
  211. _model.debugGeneratorVariables[
  212. 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
  213. debugSerializeParam(
  214. fotoos.take(100),
  215. ParamType.String,
  216. isList: true,
  217. link:
  218. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  219. name: 'String',
  220. nullable: false,
  221. );
  222. debugLogWidgetClass(_model);
  223. return Container(
  224. width: double.infinity,
  225. height: 200.0,
  226. child: CarouselSlider.builder(
  227. itemCount: fotoos.length,
  228. itemBuilder: (context, fotoosIndex, _) {
  229. final fotoosItem = fotoos[fotoosIndex];
  230. return ClipRRect(
  231. borderRadius: BorderRadius.circular(8.0),
  232. child: CachedNetworkImage(
  233. fadeInDuration: Duration(milliseconds: 500),
  234. fadeOutDuration: Duration(milliseconds: 500),
  235. imageUrl: fotoosItem,
  236. width: 200.0,
  237. height: 200.0,
  238. fit: BoxFit.cover,
  239. ),
  240. );
  241. },
  242. carouselController: _model.carouselController ??=
  243. CarouselSliderController(),
  244. options: CarouselOptions(
  245. initialPage: max(0, min(1, fotoos.length - 1)),
  246. viewportFraction: 0.5,
  247. disableCenter: true,
  248. enlargeCenterPage: true,
  249. enlargeFactor: 0.25,
  250. enableInfiniteScroll: true,
  251. scrollDirection: Axis.horizontal,
  252. autoPlay: false,
  253. onPageChanged: (index, _) =>
  254. _model.carouselCurrentIndex = index,
  255. ),
  256. ),
  257. );
  258. },
  259. ),
  260. ),
  261. Text(
  262. valueOrDefault<String>(
  263. EstablishmentInfoCall.establshmentTitel(
  264. horecagelegenheidCurrentEstablishmentInfoResponse
  265. .jsonBody,
  266. ),
  267. 'title',
  268. ),
  269. style: FlutterFlowTheme.of(context).headlineMedium.override(
  270. font: GoogleFonts.interTight(
  271. fontWeight: FlutterFlowTheme.of(context)
  272. .headlineMedium
  273. .fontWeight,
  274. fontStyle: FlutterFlowTheme.of(context)
  275. .headlineMedium
  276. .fontStyle,
  277. ),
  278. letterSpacing: 0.0,
  279. fontWeight: FlutterFlowTheme.of(context)
  280. .headlineMedium
  281. .fontWeight,
  282. fontStyle:
  283. FlutterFlowTheme.of(context).headlineMedium.fontStyle,
  284. shadows: [
  285. Shadow(
  286. color: FlutterFlowTheme.of(context).secondaryText,
  287. offset: Offset(2.0, 2.0),
  288. blurRadius: 2.0,
  289. )
  290. ],
  291. ),
  292. ),
  293. Expanded(
  294. child: Column(
  295. children: [
  296. Align(
  297. alignment: Alignment(0.0, 0),
  298. child: TabBar(
  299. labelColor:
  300. FlutterFlowTheme.of(context).primaryText,
  301. unselectedLabelColor:
  302. FlutterFlowTheme.of(context).secondaryText,
  303. labelStyle: FlutterFlowTheme.of(context)
  304. .titleMedium
  305. .override(
  306. font: GoogleFonts.interTight(
  307. fontWeight: FlutterFlowTheme.of(context)
  308. .titleMedium
  309. .fontWeight,
  310. fontStyle: FlutterFlowTheme.of(context)
  311. .titleMedium
  312. .fontStyle,
  313. ),
  314. letterSpacing: 0.0,
  315. fontWeight: FlutterFlowTheme.of(context)
  316. .titleMedium
  317. .fontWeight,
  318. fontStyle: FlutterFlowTheme.of(context)
  319. .titleMedium
  320. .fontStyle,
  321. ),
  322. unselectedLabelStyle: FlutterFlowTheme.of(context)
  323. .titleMedium
  324. .override(
  325. font: GoogleFonts.interTight(
  326. fontWeight: FlutterFlowTheme.of(context)
  327. .titleMedium
  328. .fontWeight,
  329. fontStyle: FlutterFlowTheme.of(context)
  330. .titleMedium
  331. .fontStyle,
  332. ),
  333. letterSpacing: 0.0,
  334. fontWeight: FlutterFlowTheme.of(context)
  335. .titleMedium
  336. .fontWeight,
  337. fontStyle: FlutterFlowTheme.of(context)
  338. .titleMedium
  339. .fontStyle,
  340. ),
  341. indicatorColor:
  342. FlutterFlowTheme.of(context).primary,
  343. tabs: [
  344. Tab(
  345. text: FFLocalizations.of(context).getText(
  346. 'pedeshok' /* Info */,
  347. ),
  348. ),
  349. Tab(
  350. text: FFLocalizations.of(context).getText(
  351. 'q5nwrlms' /* Links */,
  352. ),
  353. ),
  354. Tab(
  355. text: FFLocalizations.of(context).getText(
  356. 's1b6yp7v' /* Bezorgen */,
  357. ),
  358. ),
  359. ],
  360. controller: _model.tabBarController,
  361. onTap: (i) async {
  362. [() async {}, () async {}, () async {}][i]();
  363. },
  364. ),
  365. ),
  366. Expanded(
  367. child: TabBarView(
  368. controller: _model.tabBarController,
  369. children: [
  370. Row(
  371. mainAxisSize: MainAxisSize.max,
  372. children: [
  373. Column(
  374. mainAxisSize: MainAxisSize.max,
  375. children: [
  376. ClipRRect(
  377. borderRadius:
  378. BorderRadius.circular(8.0),
  379. child: CachedNetworkImage(
  380. fadeInDuration:
  381. Duration(milliseconds: 500),
  382. fadeOutDuration:
  383. Duration(milliseconds: 500),
  384. imageUrl: valueOrDefault<String>(
  385. EstablishmentInfoCall
  386. .establshmentLogo(
  387. horecagelegenheidCurrentEstablishmentInfoResponse
  388. .jsonBody,
  389. ),
  390. 'logo',
  391. ),
  392. width: 200.0,
  393. height: 200.0,
  394. fit: BoxFit.cover,
  395. ),
  396. ),
  397. Text(
  398. getJsonField(
  399. horecagelegenheidCurrentEstablishmentInfoResponse
  400. .jsonBody,
  401. r'''$[:].adres''',
  402. ).toString(),
  403. style: FlutterFlowTheme.of(context)
  404. .bodyMedium
  405. .override(
  406. font: GoogleFonts.inter(
  407. fontWeight:
  408. FlutterFlowTheme.of(context)
  409. .bodyMedium
  410. .fontWeight,
  411. fontStyle:
  412. FlutterFlowTheme.of(context)
  413. .bodyMedium
  414. .fontStyle,
  415. ),
  416. letterSpacing: 0.0,
  417. fontWeight:
  418. FlutterFlowTheme.of(context)
  419. .bodyMedium
  420. .fontWeight,
  421. fontStyle:
  422. FlutterFlowTheme.of(context)
  423. .bodyMedium
  424. .fontStyle,
  425. ),
  426. ),
  427. Text(
  428. getJsonField(
  429. horecagelegenheidCurrentEstablishmentInfoResponse
  430. .jsonBody,
  431. r'''$[:].plaats''',
  432. ).toString(),
  433. style: FlutterFlowTheme.of(context)
  434. .bodyMedium
  435. .override(
  436. font: GoogleFonts.inter(
  437. fontWeight:
  438. FlutterFlowTheme.of(context)
  439. .bodyMedium
  440. .fontWeight,
  441. fontStyle:
  442. FlutterFlowTheme.of(context)
  443. .bodyMedium
  444. .fontStyle,
  445. ),
  446. letterSpacing: 0.0,
  447. fontWeight:
  448. FlutterFlowTheme.of(context)
  449. .bodyMedium
  450. .fontWeight,
  451. fontStyle:
  452. FlutterFlowTheme.of(context)
  453. .bodyMedium
  454. .fontStyle,
  455. ),
  456. ),
  457. Text(
  458. getJsonField(
  459. horecagelegenheidCurrentEstablishmentInfoResponse
  460. .jsonBody,
  461. r'''$[:].telefoonnummer''',
  462. ).toString(),
  463. style: FlutterFlowTheme.of(context)
  464. .bodyMedium
  465. .override(
  466. font: GoogleFonts.inter(
  467. fontWeight:
  468. FlutterFlowTheme.of(context)
  469. .bodyMedium
  470. .fontWeight,
  471. fontStyle:
  472. FlutterFlowTheme.of(context)
  473. .bodyMedium
  474. .fontStyle,
  475. ),
  476. letterSpacing: 0.0,
  477. fontWeight:
  478. FlutterFlowTheme.of(context)
  479. .bodyMedium
  480. .fontWeight,
  481. fontStyle:
  482. FlutterFlowTheme.of(context)
  483. .bodyMedium
  484. .fontStyle,
  485. ),
  486. ),
  487. Text(
  488. getJsonField(
  489. horecagelegenheidCurrentEstablishmentInfoResponse
  490. .jsonBody,
  491. r'''$[:].email''',
  492. ).toString(),
  493. style: FlutterFlowTheme.of(context)
  494. .bodyMedium
  495. .override(
  496. font: GoogleFonts.inter(
  497. fontWeight:
  498. FlutterFlowTheme.of(context)
  499. .bodyMedium
  500. .fontWeight,
  501. fontStyle:
  502. FlutterFlowTheme.of(context)
  503. .bodyMedium
  504. .fontStyle,
  505. ),
  506. letterSpacing: 0.0,
  507. fontWeight:
  508. FlutterFlowTheme.of(context)
  509. .bodyMedium
  510. .fontWeight,
  511. fontStyle:
  512. FlutterFlowTheme.of(context)
  513. .bodyMedium
  514. .fontStyle,
  515. ),
  516. ),
  517. Text(
  518. getJsonField(
  519. horecagelegenheidCurrentEstablishmentInfoResponse
  520. .jsonBody,
  521. r'''$[:].kvk''',
  522. ).toString(),
  523. style: FlutterFlowTheme.of(context)
  524. .bodyMedium
  525. .override(
  526. font: GoogleFonts.inter(
  527. fontWeight:
  528. FlutterFlowTheme.of(context)
  529. .bodyMedium
  530. .fontWeight,
  531. fontStyle:
  532. FlutterFlowTheme.of(context)
  533. .bodyMedium
  534. .fontStyle,
  535. ),
  536. letterSpacing: 0.0,
  537. fontWeight:
  538. FlutterFlowTheme.of(context)
  539. .bodyMedium
  540. .fontWeight,
  541. fontStyle:
  542. FlutterFlowTheme.of(context)
  543. .bodyMedium
  544. .fontStyle,
  545. ),
  546. ),
  547. Builder(
  548. builder: (context) {
  549. final cryptocoins =
  550. EstablishmentInfoCall
  551. .establishmentCryptocoins(
  552. horecagelegenheidCurrentEstablishmentInfoResponse
  553. .jsonBody,
  554. )?.toList() ??
  555. [];
  556. _model.debugGeneratorVariables[
  557. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  558. debugSerializeParam(
  559. cryptocoins.take(100),
  560. ParamType.String,
  561. isList: true,
  562. link:
  563. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  564. name: 'String',
  565. nullable: false,
  566. );
  567. debugLogWidgetClass(_model);
  568. return Row(
  569. mainAxisSize: MainAxisSize.max,
  570. children: List.generate(
  571. cryptocoins.length,
  572. (cryptocoinsIndex) {
  573. final cryptocoinsItem =
  574. cryptocoins[cryptocoinsIndex];
  575. return Text(
  576. cryptocoinsItem,
  577. style:
  578. FlutterFlowTheme.of(context)
  579. .bodyMedium
  580. .override(
  581. font:
  582. GoogleFonts.inter(
  583. fontWeight:
  584. FlutterFlowTheme.of(
  585. context)
  586. .bodyMedium
  587. .fontWeight,
  588. fontStyle:
  589. FlutterFlowTheme.of(
  590. context)
  591. .bodyMedium
  592. .fontStyle,
  593. ),
  594. letterSpacing: 0.0,
  595. fontWeight:
  596. FlutterFlowTheme.of(
  597. context)
  598. .bodyMedium
  599. .fontWeight,
  600. fontStyle:
  601. FlutterFlowTheme.of(
  602. context)
  603. .bodyMedium
  604. .fontStyle,
  605. ),
  606. );
  607. }),
  608. );
  609. },
  610. ),
  611. ],
  612. ),
  613. Column(
  614. mainAxisSize: MainAxisSize.max,
  615. children: [
  616. Container(
  617. width:
  618. MediaQuery.sizeOf(context).width *
  619. 0.7,
  620. height:
  621. MediaQuery.sizeOf(context).height *
  622. 0.2,
  623. child: custom_widgets.FromHTML(
  624. width:
  625. MediaQuery.sizeOf(context).width *
  626. 0.7,
  627. height: MediaQuery.sizeOf(context)
  628. .height *
  629. 0.2,
  630. HTMLParameter: valueOrDefault<String>(
  631. EstablishmentInfoCall
  632. .establshmentInhoud(
  633. horecagelegenheidCurrentEstablishmentInfoResponse
  634. .jsonBody,
  635. ),
  636. 'content',
  637. ),
  638. ),
  639. ),
  640. ],
  641. ),
  642. ],
  643. ),
  644. Column(
  645. mainAxisSize: MainAxisSize.max,
  646. children: [
  647. Text(
  648. getJsonField(
  649. horecagelegenheidCurrentEstablishmentInfoResponse
  650. .jsonBody,
  651. r'''$[:].website''',
  652. ).toString(),
  653. style: FlutterFlowTheme.of(context)
  654. .bodyMedium
  655. .override(
  656. font: GoogleFonts.inter(
  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. Text(
  678. getJsonField(
  679. horecagelegenheidCurrentEstablishmentInfoResponse
  680. .jsonBody,
  681. r'''$[:].menukaart''',
  682. ).toString(),
  683. style: FlutterFlowTheme.of(context)
  684. .bodyMedium
  685. .override(
  686. font: GoogleFonts.inter(
  687. fontWeight:
  688. FlutterFlowTheme.of(context)
  689. .bodyMedium
  690. .fontWeight,
  691. fontStyle:
  692. FlutterFlowTheme.of(context)
  693. .bodyMedium
  694. .fontStyle,
  695. ),
  696. letterSpacing: 0.0,
  697. fontWeight:
  698. FlutterFlowTheme.of(context)
  699. .bodyMedium
  700. .fontWeight,
  701. fontStyle:
  702. FlutterFlowTheme.of(context)
  703. .bodyMedium
  704. .fontStyle,
  705. ),
  706. ),
  707. Text(
  708. getJsonField(
  709. horecagelegenheidCurrentEstablishmentInfoResponse
  710. .jsonBody,
  711. r'''$[:].facebook''',
  712. ).toString(),
  713. style: FlutterFlowTheme.of(context)
  714. .bodyMedium
  715. .override(
  716. font: GoogleFonts.inter(
  717. fontWeight:
  718. FlutterFlowTheme.of(context)
  719. .bodyMedium
  720. .fontWeight,
  721. fontStyle:
  722. FlutterFlowTheme.of(context)
  723. .bodyMedium
  724. .fontStyle,
  725. ),
  726. letterSpacing: 0.0,
  727. fontWeight:
  728. FlutterFlowTheme.of(context)
  729. .bodyMedium
  730. .fontWeight,
  731. fontStyle:
  732. FlutterFlowTheme.of(context)
  733. .bodyMedium
  734. .fontStyle,
  735. ),
  736. ),
  737. Text(
  738. getJsonField(
  739. horecagelegenheidCurrentEstablishmentInfoResponse
  740. .jsonBody,
  741. r'''$[:].twitter''',
  742. ).toString(),
  743. style: FlutterFlowTheme.of(context)
  744. .bodyMedium
  745. .override(
  746. font: GoogleFonts.inter(
  747. fontWeight:
  748. FlutterFlowTheme.of(context)
  749. .bodyMedium
  750. .fontWeight,
  751. fontStyle:
  752. FlutterFlowTheme.of(context)
  753. .bodyMedium
  754. .fontStyle,
  755. ),
  756. letterSpacing: 0.0,
  757. fontWeight:
  758. FlutterFlowTheme.of(context)
  759. .bodyMedium
  760. .fontWeight,
  761. fontStyle:
  762. FlutterFlowTheme.of(context)
  763. .bodyMedium
  764. .fontStyle,
  765. ),
  766. ),
  767. Text(
  768. getJsonField(
  769. horecagelegenheidCurrentEstablishmentInfoResponse
  770. .jsonBody,
  771. r'''$[:].instagram''',
  772. ).toString(),
  773. style: FlutterFlowTheme.of(context)
  774. .bodyMedium
  775. .override(
  776. font: GoogleFonts.inter(
  777. fontWeight:
  778. FlutterFlowTheme.of(context)
  779. .bodyMedium
  780. .fontWeight,
  781. fontStyle:
  782. FlutterFlowTheme.of(context)
  783. .bodyMedium
  784. .fontStyle,
  785. ),
  786. letterSpacing: 0.0,
  787. fontWeight:
  788. FlutterFlowTheme.of(context)
  789. .bodyMedium
  790. .fontWeight,
  791. fontStyle:
  792. FlutterFlowTheme.of(context)
  793. .bodyMedium
  794. .fontStyle,
  795. ),
  796. ),
  797. ],
  798. ),
  799. Column(
  800. mainAxisSize: MainAxisSize.max,
  801. children: [
  802. Text(
  803. getJsonField(
  804. horecagelegenheidCurrentEstablishmentInfoResponse
  805. .jsonBody,
  806. r'''$[:].afhaalopties''',
  807. ).toString(),
  808. style: FlutterFlowTheme.of(context)
  809. .bodyMedium
  810. .override(
  811. font: GoogleFonts.inter(
  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. Text(
  833. getJsonField(
  834. horecagelegenheidCurrentEstablishmentInfoResponse
  835. .jsonBody,
  836. r'''$[:].bestellink''',
  837. ).toString(),
  838. style: FlutterFlowTheme.of(context)
  839. .bodyMedium
  840. .override(
  841. font: GoogleFonts.inter(
  842. fontWeight:
  843. FlutterFlowTheme.of(context)
  844. .bodyMedium
  845. .fontWeight,
  846. fontStyle:
  847. FlutterFlowTheme.of(context)
  848. .bodyMedium
  849. .fontStyle,
  850. ),
  851. letterSpacing: 0.0,
  852. fontWeight:
  853. FlutterFlowTheme.of(context)
  854. .bodyMedium
  855. .fontWeight,
  856. fontStyle:
  857. FlutterFlowTheme.of(context)
  858. .bodyMedium
  859. .fontStyle,
  860. ),
  861. ),
  862. Text(
  863. getJsonField(
  864. horecagelegenheidCurrentEstablishmentInfoResponse
  865. .jsonBody,
  866. r'''$[:].bezorgtijden''',
  867. ).toString(),
  868. style: FlutterFlowTheme.of(context)
  869. .bodyMedium
  870. .override(
  871. font: GoogleFonts.inter(
  872. fontWeight:
  873. FlutterFlowTheme.of(context)
  874. .bodyMedium
  875. .fontWeight,
  876. fontStyle:
  877. FlutterFlowTheme.of(context)
  878. .bodyMedium
  879. .fontStyle,
  880. ),
  881. letterSpacing: 0.0,
  882. fontWeight:
  883. FlutterFlowTheme.of(context)
  884. .bodyMedium
  885. .fontWeight,
  886. fontStyle:
  887. FlutterFlowTheme.of(context)
  888. .bodyMedium
  889. .fontStyle,
  890. ),
  891. ),
  892. Text(
  893. getJsonField(
  894. horecagelegenheidCurrentEstablishmentInfoResponse
  895. .jsonBody,
  896. r'''$[:].bezorgkosten''',
  897. ).toString(),
  898. style: FlutterFlowTheme.of(context)
  899. .bodyMedium
  900. .override(
  901. font: GoogleFonts.inter(
  902. fontWeight:
  903. FlutterFlowTheme.of(context)
  904. .bodyMedium
  905. .fontWeight,
  906. fontStyle:
  907. FlutterFlowTheme.of(context)
  908. .bodyMedium
  909. .fontStyle,
  910. ),
  911. letterSpacing: 0.0,
  912. fontWeight:
  913. FlutterFlowTheme.of(context)
  914. .bodyMedium
  915. .fontWeight,
  916. fontStyle:
  917. FlutterFlowTheme.of(context)
  918. .bodyMedium
  919. .fontStyle,
  920. ),
  921. ),
  922. Text(
  923. getJsonField(
  924. horecagelegenheidCurrentEstablishmentInfoResponse
  925. .jsonBody,
  926. r'''$[:].minimaleorder''',
  927. ).toString(),
  928. style: FlutterFlowTheme.of(context)
  929. .bodyMedium
  930. .override(
  931. font: GoogleFonts.inter(
  932. fontWeight:
  933. FlutterFlowTheme.of(context)
  934. .bodyMedium
  935. .fontWeight,
  936. fontStyle:
  937. FlutterFlowTheme.of(context)
  938. .bodyMedium
  939. .fontStyle,
  940. ),
  941. letterSpacing: 0.0,
  942. fontWeight:
  943. FlutterFlowTheme.of(context)
  944. .bodyMedium
  945. .fontWeight,
  946. fontStyle:
  947. FlutterFlowTheme.of(context)
  948. .bodyMedium
  949. .fontStyle,
  950. ),
  951. ),
  952. Text(
  953. getJsonField(
  954. horecagelegenheidCurrentEstablishmentInfoResponse
  955. .jsonBody,
  956. r'''$[:].thuisbezorgtbetaalopties''',
  957. ).toString(),
  958. style: FlutterFlowTheme.of(context)
  959. .bodyMedium
  960. .override(
  961. font: GoogleFonts.inter(
  962. fontWeight:
  963. FlutterFlowTheme.of(context)
  964. .bodyMedium
  965. .fontWeight,
  966. fontStyle:
  967. FlutterFlowTheme.of(context)
  968. .bodyMedium
  969. .fontStyle,
  970. ),
  971. letterSpacing: 0.0,
  972. fontWeight:
  973. FlutterFlowTheme.of(context)
  974. .bodyMedium
  975. .fontWeight,
  976. fontStyle:
  977. FlutterFlowTheme.of(context)
  978. .bodyMedium
  979. .fontStyle,
  980. ),
  981. ),
  982. Text(
  983. getJsonField(
  984. horecagelegenheidCurrentEstablishmentInfoResponse
  985. .jsonBody,
  986. r'''$[:].bezorgdin''',
  987. ).toString(),
  988. style: FlutterFlowTheme.of(context)
  989. .bodyMedium
  990. .override(
  991. font: GoogleFonts.inter(
  992. fontWeight:
  993. FlutterFlowTheme.of(context)
  994. .bodyMedium
  995. .fontWeight,
  996. fontStyle:
  997. FlutterFlowTheme.of(context)
  998. .bodyMedium
  999. .fontStyle,
  1000. ),
  1001. letterSpacing: 0.0,
  1002. fontWeight:
  1003. FlutterFlowTheme.of(context)
  1004. .bodyMedium
  1005. .fontWeight,
  1006. fontStyle:
  1007. FlutterFlowTheme.of(context)
  1008. .bodyMedium
  1009. .fontStyle,
  1010. ),
  1011. ),
  1012. ],
  1013. ),
  1014. ],
  1015. ),
  1016. ),
  1017. ],
  1018. ),
  1019. ),
  1020. Expanded(
  1021. child: Container(
  1022. width: 462.72,
  1023. height: 100.0,
  1024. decoration: BoxDecoration(
  1025. color: FlutterFlowTheme.of(context).secondaryBackground,
  1026. ),
  1027. child: Column(
  1028. mainAxisSize: MainAxisSize.max,
  1029. children: [
  1030. Expanded(
  1031. child: wrapWithModel(
  1032. model: _model
  1033. .horecagelegenheidEventTabelComponentCopyModel,
  1034. updateCallback: () => safeSetState(() {}),
  1035. child: Builder(builder: (_) {
  1036. return DebugFlutterFlowModelContext(
  1037. rootModel: _model.rootModel,
  1038. child:
  1039. HorecagelegenheidEventTabelComponentCopyWidget(
  1040. nid: widget!.nid!,
  1041. horecaid: widget!.nid,
  1042. ),
  1043. );
  1044. }),
  1045. ),
  1046. ),
  1047. ],
  1048. ),
  1049. ),
  1050. ),
  1051. ],
  1052. ),
  1053. ),
  1054. ),
  1055. );
  1056. },
  1057. );
  1058. }
  1059. }