horecagelegenheid_current_widget.dart 55 KB

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