horecagelegenheid_current_widget.dart 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/flutter_flow/flutter_flow_icon_button.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. title: Align(
  171. alignment: AlignmentDirectional(0.0, 0.0),
  172. child: Row(
  173. mainAxisSize: MainAxisSize.max,
  174. children: [
  175. FlutterFlowIconButton(
  176. borderRadius: 8.0,
  177. buttonSize: 40.0,
  178. fillColor: Color(0xFFB50808),
  179. icon: Icon(
  180. Icons.dehaze_outlined,
  181. color: FlutterFlowTheme.of(context).info,
  182. size: 24.0,
  183. ),
  184. onPressed: () async {
  185. scaffoldKey.currentState!.openDrawer();
  186. },
  187. ),
  188. Padding(
  189. padding: EdgeInsetsDirectional.fromSTEB(
  190. 4.0, 0.0, 0.0, 0.0),
  191. child: FlutterFlowIconButton(
  192. borderColor: Color(0x00FF0000),
  193. borderRadius: 30.0,
  194. borderWidth: 1.0,
  195. buttonSize: 50.0,
  196. fillColor: Color(0xFFB50808),
  197. icon: Icon(
  198. Icons.arrow_back_outlined,
  199. color: Colors.white,
  200. size: 30.0,
  201. ),
  202. onPressed: () async {
  203. context.pop();
  204. },
  205. ),
  206. ),
  207. ],
  208. ),
  209. ),
  210. background: Align(
  211. alignment: AlignmentDirectional(0.0, 0.0),
  212. child: Padding(
  213. padding:
  214. EdgeInsetsDirectional.fromSTEB(60.0, 0.0, 5.0, 0.0),
  215. child: ClipRRect(
  216. borderRadius: BorderRadius.circular(8.0),
  217. child: Image.asset(
  218. 'assets/images/logo800px.png',
  219. width: () {
  220. if (MediaQuery.sizeOf(context).width <
  221. kBreakpointSmall) {
  222. return 200.0;
  223. } else if (MediaQuery.sizeOf(context).width <
  224. kBreakpointMedium) {
  225. return 250.0;
  226. } else if (MediaQuery.sizeOf(context).width <
  227. kBreakpointLarge) {
  228. return 350.0;
  229. } else {
  230. return 400.0;
  231. }
  232. }(),
  233. fit: BoxFit.fitWidth,
  234. ),
  235. ),
  236. ),
  237. ),
  238. centerTitle: true,
  239. expandedTitleScale: 1.0,
  240. ),
  241. bottom: PreferredSize(
  242. preferredSize: Size.fromHeight(70.0),
  243. child: Container(),
  244. ),
  245. toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
  246. elevation: 2.0,
  247. ),
  248. ),
  249. body: SafeArea(
  250. top: true,
  251. child: Column(
  252. mainAxisSize: MainAxisSize.max,
  253. children: [
  254. Container(
  255. width: 366.1,
  256. height: 281.5,
  257. decoration: BoxDecoration(
  258. color: FlutterFlowTheme.of(context).secondaryBackground,
  259. ),
  260. child: Builder(
  261. builder: (context) {
  262. final fotoos =
  263. EstablishmentInfoCall.establishmentFotoos(
  264. horecagelegenheidCurrentEstablishmentInfoResponse
  265. .jsonBody,
  266. )?.toList() ??
  267. [];
  268. _model.debugGeneratorVariables[
  269. 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
  270. debugSerializeParam(
  271. fotoos.take(100),
  272. ParamType.String,
  273. isList: true,
  274. link:
  275. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  276. name: 'String',
  277. nullable: false,
  278. );
  279. debugLogWidgetClass(_model);
  280. return Container(
  281. width: double.infinity,
  282. height: 200.0,
  283. child: CarouselSlider.builder(
  284. itemCount: fotoos.length,
  285. itemBuilder: (context, fotoosIndex, _) {
  286. final fotoosItem = fotoos[fotoosIndex];
  287. return ClipRRect(
  288. borderRadius: BorderRadius.circular(8.0),
  289. child: Image.network(
  290. fotoosItem,
  291. width: 200.0,
  292. height: 200.0,
  293. fit: BoxFit.cover,
  294. ),
  295. );
  296. },
  297. carouselController: _model.carouselController ??=
  298. CarouselSliderController(),
  299. options: CarouselOptions(
  300. initialPage: max(0, min(1, fotoos.length - 1)),
  301. viewportFraction: 0.5,
  302. disableCenter: true,
  303. enlargeCenterPage: true,
  304. enlargeFactor: 0.25,
  305. enableInfiniteScroll: true,
  306. scrollDirection: Axis.horizontal,
  307. autoPlay: false,
  308. onPageChanged: (index, _) =>
  309. _model.carouselCurrentIndex = index,
  310. ),
  311. ),
  312. );
  313. },
  314. ),
  315. ),
  316. Text(
  317. valueOrDefault<String>(
  318. EstablishmentInfoCall.establshmentTitel(
  319. horecagelegenheidCurrentEstablishmentInfoResponse
  320. .jsonBody,
  321. ),
  322. 'title',
  323. ),
  324. style: FlutterFlowTheme.of(context).headlineMedium.override(
  325. font: GoogleFonts.interTight(
  326. fontWeight: FlutterFlowTheme.of(context)
  327. .headlineMedium
  328. .fontWeight,
  329. fontStyle: FlutterFlowTheme.of(context)
  330. .headlineMedium
  331. .fontStyle,
  332. ),
  333. letterSpacing: 0.0,
  334. fontWeight: FlutterFlowTheme.of(context)
  335. .headlineMedium
  336. .fontWeight,
  337. fontStyle:
  338. FlutterFlowTheme.of(context).headlineMedium.fontStyle,
  339. shadows: [
  340. Shadow(
  341. color: FlutterFlowTheme.of(context).secondaryText,
  342. offset: Offset(2.0, 2.0),
  343. blurRadius: 2.0,
  344. )
  345. ],
  346. ),
  347. ),
  348. Expanded(
  349. child: Column(
  350. children: [
  351. Align(
  352. alignment: Alignment(0.0, 0),
  353. child: TabBar(
  354. labelColor:
  355. FlutterFlowTheme.of(context).primaryText,
  356. unselectedLabelColor:
  357. FlutterFlowTheme.of(context).secondaryText,
  358. labelStyle: FlutterFlowTheme.of(context)
  359. .titleMedium
  360. .override(
  361. font: GoogleFonts.interTight(
  362. fontWeight: FlutterFlowTheme.of(context)
  363. .titleMedium
  364. .fontWeight,
  365. fontStyle: FlutterFlowTheme.of(context)
  366. .titleMedium
  367. .fontStyle,
  368. ),
  369. letterSpacing: 0.0,
  370. fontWeight: FlutterFlowTheme.of(context)
  371. .titleMedium
  372. .fontWeight,
  373. fontStyle: FlutterFlowTheme.of(context)
  374. .titleMedium
  375. .fontStyle,
  376. ),
  377. unselectedLabelStyle: FlutterFlowTheme.of(context)
  378. .titleMedium
  379. .override(
  380. font: GoogleFonts.interTight(
  381. fontWeight: FlutterFlowTheme.of(context)
  382. .titleMedium
  383. .fontWeight,
  384. fontStyle: FlutterFlowTheme.of(context)
  385. .titleMedium
  386. .fontStyle,
  387. ),
  388. letterSpacing: 0.0,
  389. fontWeight: FlutterFlowTheme.of(context)
  390. .titleMedium
  391. .fontWeight,
  392. fontStyle: FlutterFlowTheme.of(context)
  393. .titleMedium
  394. .fontStyle,
  395. ),
  396. indicatorColor:
  397. FlutterFlowTheme.of(context).primary,
  398. tabs: [
  399. Tab(
  400. text: FFLocalizations.of(context).getText(
  401. 'pedeshok' /* Info */,
  402. ),
  403. ),
  404. Tab(
  405. text: FFLocalizations.of(context).getText(
  406. 'q5nwrlms' /* Links */,
  407. ),
  408. ),
  409. Tab(
  410. text: FFLocalizations.of(context).getText(
  411. 's1b6yp7v' /* Bezorgen */,
  412. ),
  413. ),
  414. ],
  415. controller: _model.tabBarController,
  416. onTap: (i) async {
  417. [() async {}, () async {}, () async {}][i]();
  418. },
  419. ),
  420. ),
  421. Expanded(
  422. child: TabBarView(
  423. controller: _model.tabBarController,
  424. children: [
  425. Row(
  426. mainAxisSize: MainAxisSize.max,
  427. children: [
  428. Column(
  429. mainAxisSize: MainAxisSize.max,
  430. children: [
  431. ClipRRect(
  432. borderRadius:
  433. BorderRadius.circular(8.0),
  434. child: Image.network(
  435. valueOrDefault<String>(
  436. EstablishmentInfoCall
  437. .establshmentLogo(
  438. horecagelegenheidCurrentEstablishmentInfoResponse
  439. .jsonBody,
  440. ),
  441. 'logo',
  442. ),
  443. width: 200.0,
  444. height: 200.0,
  445. fit: BoxFit.cover,
  446. ),
  447. ),
  448. Text(
  449. getJsonField(
  450. horecagelegenheidCurrentEstablishmentInfoResponse
  451. .jsonBody,
  452. r'''$[:].adres''',
  453. ).toString(),
  454. style: FlutterFlowTheme.of(context)
  455. .bodyMedium
  456. .override(
  457. font: GoogleFonts.inter(
  458. fontWeight:
  459. FlutterFlowTheme.of(context)
  460. .bodyMedium
  461. .fontWeight,
  462. fontStyle:
  463. FlutterFlowTheme.of(context)
  464. .bodyMedium
  465. .fontStyle,
  466. ),
  467. letterSpacing: 0.0,
  468. fontWeight:
  469. FlutterFlowTheme.of(context)
  470. .bodyMedium
  471. .fontWeight,
  472. fontStyle:
  473. FlutterFlowTheme.of(context)
  474. .bodyMedium
  475. .fontStyle,
  476. ),
  477. ),
  478. Text(
  479. getJsonField(
  480. horecagelegenheidCurrentEstablishmentInfoResponse
  481. .jsonBody,
  482. r'''$[:].plaats''',
  483. ).toString(),
  484. style: FlutterFlowTheme.of(context)
  485. .bodyMedium
  486. .override(
  487. font: GoogleFonts.inter(
  488. fontWeight:
  489. FlutterFlowTheme.of(context)
  490. .bodyMedium
  491. .fontWeight,
  492. fontStyle:
  493. FlutterFlowTheme.of(context)
  494. .bodyMedium
  495. .fontStyle,
  496. ),
  497. letterSpacing: 0.0,
  498. fontWeight:
  499. FlutterFlowTheme.of(context)
  500. .bodyMedium
  501. .fontWeight,
  502. fontStyle:
  503. FlutterFlowTheme.of(context)
  504. .bodyMedium
  505. .fontStyle,
  506. ),
  507. ),
  508. Text(
  509. getJsonField(
  510. horecagelegenheidCurrentEstablishmentInfoResponse
  511. .jsonBody,
  512. r'''$[:].telefoonnummer''',
  513. ).toString(),
  514. style: FlutterFlowTheme.of(context)
  515. .bodyMedium
  516. .override(
  517. font: GoogleFonts.inter(
  518. fontWeight:
  519. FlutterFlowTheme.of(context)
  520. .bodyMedium
  521. .fontWeight,
  522. fontStyle:
  523. FlutterFlowTheme.of(context)
  524. .bodyMedium
  525. .fontStyle,
  526. ),
  527. letterSpacing: 0.0,
  528. fontWeight:
  529. FlutterFlowTheme.of(context)
  530. .bodyMedium
  531. .fontWeight,
  532. fontStyle:
  533. FlutterFlowTheme.of(context)
  534. .bodyMedium
  535. .fontStyle,
  536. ),
  537. ),
  538. Text(
  539. getJsonField(
  540. horecagelegenheidCurrentEstablishmentInfoResponse
  541. .jsonBody,
  542. r'''$[:].email''',
  543. ).toString(),
  544. style: FlutterFlowTheme.of(context)
  545. .bodyMedium
  546. .override(
  547. font: GoogleFonts.inter(
  548. fontWeight:
  549. FlutterFlowTheme.of(context)
  550. .bodyMedium
  551. .fontWeight,
  552. fontStyle:
  553. FlutterFlowTheme.of(context)
  554. .bodyMedium
  555. .fontStyle,
  556. ),
  557. letterSpacing: 0.0,
  558. fontWeight:
  559. FlutterFlowTheme.of(context)
  560. .bodyMedium
  561. .fontWeight,
  562. fontStyle:
  563. FlutterFlowTheme.of(context)
  564. .bodyMedium
  565. .fontStyle,
  566. ),
  567. ),
  568. Text(
  569. getJsonField(
  570. horecagelegenheidCurrentEstablishmentInfoResponse
  571. .jsonBody,
  572. r'''$[:].kvk''',
  573. ).toString(),
  574. style: FlutterFlowTheme.of(context)
  575. .bodyMedium
  576. .override(
  577. font: GoogleFonts.inter(
  578. fontWeight:
  579. FlutterFlowTheme.of(context)
  580. .bodyMedium
  581. .fontWeight,
  582. fontStyle:
  583. FlutterFlowTheme.of(context)
  584. .bodyMedium
  585. .fontStyle,
  586. ),
  587. letterSpacing: 0.0,
  588. fontWeight:
  589. FlutterFlowTheme.of(context)
  590. .bodyMedium
  591. .fontWeight,
  592. fontStyle:
  593. FlutterFlowTheme.of(context)
  594. .bodyMedium
  595. .fontStyle,
  596. ),
  597. ),
  598. Builder(
  599. builder: (context) {
  600. final cryptocoins =
  601. EstablishmentInfoCall
  602. .establishmentCryptocoins(
  603. horecagelegenheidCurrentEstablishmentInfoResponse
  604. .jsonBody,
  605. )?.toList() ??
  606. [];
  607. _model.debugGeneratorVariables[
  608. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  609. debugSerializeParam(
  610. cryptocoins.take(100),
  611. ParamType.String,
  612. isList: true,
  613. link:
  614. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  615. name: 'String',
  616. nullable: false,
  617. );
  618. debugLogWidgetClass(_model);
  619. return Row(
  620. mainAxisSize: MainAxisSize.max,
  621. children: List.generate(
  622. cryptocoins.length,
  623. (cryptocoinsIndex) {
  624. final cryptocoinsItem =
  625. cryptocoins[cryptocoinsIndex];
  626. return Text(
  627. cryptocoinsItem,
  628. style:
  629. FlutterFlowTheme.of(context)
  630. .bodyMedium
  631. .override(
  632. font:
  633. GoogleFonts.inter(
  634. fontWeight:
  635. FlutterFlowTheme.of(
  636. context)
  637. .bodyMedium
  638. .fontWeight,
  639. fontStyle:
  640. FlutterFlowTheme.of(
  641. context)
  642. .bodyMedium
  643. .fontStyle,
  644. ),
  645. letterSpacing: 0.0,
  646. fontWeight:
  647. FlutterFlowTheme.of(
  648. context)
  649. .bodyMedium
  650. .fontWeight,
  651. fontStyle:
  652. FlutterFlowTheme.of(
  653. context)
  654. .bodyMedium
  655. .fontStyle,
  656. ),
  657. );
  658. }),
  659. );
  660. },
  661. ),
  662. ],
  663. ),
  664. Column(
  665. mainAxisSize: MainAxisSize.max,
  666. children: [
  667. Container(
  668. width:
  669. MediaQuery.sizeOf(context).width *
  670. 0.7,
  671. height:
  672. MediaQuery.sizeOf(context).height *
  673. 0.2,
  674. child: custom_widgets.FromHTML(
  675. width:
  676. MediaQuery.sizeOf(context).width *
  677. 0.7,
  678. height: MediaQuery.sizeOf(context)
  679. .height *
  680. 0.2,
  681. HTMLParameter: valueOrDefault<String>(
  682. EstablishmentInfoCall
  683. .establshmentInhoud(
  684. horecagelegenheidCurrentEstablishmentInfoResponse
  685. .jsonBody,
  686. ),
  687. 'content',
  688. ),
  689. ),
  690. ),
  691. ],
  692. ),
  693. ],
  694. ),
  695. Column(
  696. mainAxisSize: MainAxisSize.max,
  697. children: [
  698. Text(
  699. getJsonField(
  700. horecagelegenheidCurrentEstablishmentInfoResponse
  701. .jsonBody,
  702. r'''$[:].website''',
  703. ).toString(),
  704. style: FlutterFlowTheme.of(context)
  705. .bodyMedium
  706. .override(
  707. font: GoogleFonts.inter(
  708. fontWeight:
  709. FlutterFlowTheme.of(context)
  710. .bodyMedium
  711. .fontWeight,
  712. fontStyle:
  713. FlutterFlowTheme.of(context)
  714. .bodyMedium
  715. .fontStyle,
  716. ),
  717. letterSpacing: 0.0,
  718. fontWeight:
  719. FlutterFlowTheme.of(context)
  720. .bodyMedium
  721. .fontWeight,
  722. fontStyle:
  723. FlutterFlowTheme.of(context)
  724. .bodyMedium
  725. .fontStyle,
  726. ),
  727. ),
  728. Text(
  729. getJsonField(
  730. horecagelegenheidCurrentEstablishmentInfoResponse
  731. .jsonBody,
  732. r'''$[:].menukaart''',
  733. ).toString(),
  734. style: FlutterFlowTheme.of(context)
  735. .bodyMedium
  736. .override(
  737. font: GoogleFonts.inter(
  738. fontWeight:
  739. FlutterFlowTheme.of(context)
  740. .bodyMedium
  741. .fontWeight,
  742. fontStyle:
  743. FlutterFlowTheme.of(context)
  744. .bodyMedium
  745. .fontStyle,
  746. ),
  747. letterSpacing: 0.0,
  748. fontWeight:
  749. FlutterFlowTheme.of(context)
  750. .bodyMedium
  751. .fontWeight,
  752. fontStyle:
  753. FlutterFlowTheme.of(context)
  754. .bodyMedium
  755. .fontStyle,
  756. ),
  757. ),
  758. Text(
  759. getJsonField(
  760. horecagelegenheidCurrentEstablishmentInfoResponse
  761. .jsonBody,
  762. r'''$[:].facebook''',
  763. ).toString(),
  764. style: FlutterFlowTheme.of(context)
  765. .bodyMedium
  766. .override(
  767. font: GoogleFonts.inter(
  768. fontWeight:
  769. FlutterFlowTheme.of(context)
  770. .bodyMedium
  771. .fontWeight,
  772. fontStyle:
  773. FlutterFlowTheme.of(context)
  774. .bodyMedium
  775. .fontStyle,
  776. ),
  777. letterSpacing: 0.0,
  778. fontWeight:
  779. FlutterFlowTheme.of(context)
  780. .bodyMedium
  781. .fontWeight,
  782. fontStyle:
  783. FlutterFlowTheme.of(context)
  784. .bodyMedium
  785. .fontStyle,
  786. ),
  787. ),
  788. Text(
  789. getJsonField(
  790. horecagelegenheidCurrentEstablishmentInfoResponse
  791. .jsonBody,
  792. r'''$[:].twitter''',
  793. ).toString(),
  794. style: FlutterFlowTheme.of(context)
  795. .bodyMedium
  796. .override(
  797. font: GoogleFonts.inter(
  798. fontWeight:
  799. FlutterFlowTheme.of(context)
  800. .bodyMedium
  801. .fontWeight,
  802. fontStyle:
  803. FlutterFlowTheme.of(context)
  804. .bodyMedium
  805. .fontStyle,
  806. ),
  807. letterSpacing: 0.0,
  808. fontWeight:
  809. FlutterFlowTheme.of(context)
  810. .bodyMedium
  811. .fontWeight,
  812. fontStyle:
  813. FlutterFlowTheme.of(context)
  814. .bodyMedium
  815. .fontStyle,
  816. ),
  817. ),
  818. Text(
  819. getJsonField(
  820. horecagelegenheidCurrentEstablishmentInfoResponse
  821. .jsonBody,
  822. r'''$[:].instagram''',
  823. ).toString(),
  824. style: FlutterFlowTheme.of(context)
  825. .bodyMedium
  826. .override(
  827. font: GoogleFonts.inter(
  828. fontWeight:
  829. FlutterFlowTheme.of(context)
  830. .bodyMedium
  831. .fontWeight,
  832. fontStyle:
  833. FlutterFlowTheme.of(context)
  834. .bodyMedium
  835. .fontStyle,
  836. ),
  837. letterSpacing: 0.0,
  838. fontWeight:
  839. FlutterFlowTheme.of(context)
  840. .bodyMedium
  841. .fontWeight,
  842. fontStyle:
  843. FlutterFlowTheme.of(context)
  844. .bodyMedium
  845. .fontStyle,
  846. ),
  847. ),
  848. ],
  849. ),
  850. Column(
  851. mainAxisSize: MainAxisSize.max,
  852. children: [
  853. Text(
  854. getJsonField(
  855. horecagelegenheidCurrentEstablishmentInfoResponse
  856. .jsonBody,
  857. r'''$[:].afhaalopties''',
  858. ).toString(),
  859. style: FlutterFlowTheme.of(context)
  860. .bodyMedium
  861. .override(
  862. font: GoogleFonts.inter(
  863. fontWeight:
  864. FlutterFlowTheme.of(context)
  865. .bodyMedium
  866. .fontWeight,
  867. fontStyle:
  868. FlutterFlowTheme.of(context)
  869. .bodyMedium
  870. .fontStyle,
  871. ),
  872. letterSpacing: 0.0,
  873. fontWeight:
  874. FlutterFlowTheme.of(context)
  875. .bodyMedium
  876. .fontWeight,
  877. fontStyle:
  878. FlutterFlowTheme.of(context)
  879. .bodyMedium
  880. .fontStyle,
  881. ),
  882. ),
  883. Text(
  884. getJsonField(
  885. horecagelegenheidCurrentEstablishmentInfoResponse
  886. .jsonBody,
  887. r'''$[:].bestellink''',
  888. ).toString(),
  889. style: FlutterFlowTheme.of(context)
  890. .bodyMedium
  891. .override(
  892. font: GoogleFonts.inter(
  893. fontWeight:
  894. FlutterFlowTheme.of(context)
  895. .bodyMedium
  896. .fontWeight,
  897. fontStyle:
  898. FlutterFlowTheme.of(context)
  899. .bodyMedium
  900. .fontStyle,
  901. ),
  902. letterSpacing: 0.0,
  903. fontWeight:
  904. FlutterFlowTheme.of(context)
  905. .bodyMedium
  906. .fontWeight,
  907. fontStyle:
  908. FlutterFlowTheme.of(context)
  909. .bodyMedium
  910. .fontStyle,
  911. ),
  912. ),
  913. Text(
  914. getJsonField(
  915. horecagelegenheidCurrentEstablishmentInfoResponse
  916. .jsonBody,
  917. r'''$[:].bezorgtijden''',
  918. ).toString(),
  919. style: FlutterFlowTheme.of(context)
  920. .bodyMedium
  921. .override(
  922. font: GoogleFonts.inter(
  923. fontWeight:
  924. FlutterFlowTheme.of(context)
  925. .bodyMedium
  926. .fontWeight,
  927. fontStyle:
  928. FlutterFlowTheme.of(context)
  929. .bodyMedium
  930. .fontStyle,
  931. ),
  932. letterSpacing: 0.0,
  933. fontWeight:
  934. FlutterFlowTheme.of(context)
  935. .bodyMedium
  936. .fontWeight,
  937. fontStyle:
  938. FlutterFlowTheme.of(context)
  939. .bodyMedium
  940. .fontStyle,
  941. ),
  942. ),
  943. Text(
  944. getJsonField(
  945. horecagelegenheidCurrentEstablishmentInfoResponse
  946. .jsonBody,
  947. r'''$[:].bezorgkosten''',
  948. ).toString(),
  949. style: FlutterFlowTheme.of(context)
  950. .bodyMedium
  951. .override(
  952. font: GoogleFonts.inter(
  953. fontWeight:
  954. FlutterFlowTheme.of(context)
  955. .bodyMedium
  956. .fontWeight,
  957. fontStyle:
  958. FlutterFlowTheme.of(context)
  959. .bodyMedium
  960. .fontStyle,
  961. ),
  962. letterSpacing: 0.0,
  963. fontWeight:
  964. FlutterFlowTheme.of(context)
  965. .bodyMedium
  966. .fontWeight,
  967. fontStyle:
  968. FlutterFlowTheme.of(context)
  969. .bodyMedium
  970. .fontStyle,
  971. ),
  972. ),
  973. Text(
  974. getJsonField(
  975. horecagelegenheidCurrentEstablishmentInfoResponse
  976. .jsonBody,
  977. r'''$[:].minimaleorder''',
  978. ).toString(),
  979. style: FlutterFlowTheme.of(context)
  980. .bodyMedium
  981. .override(
  982. font: GoogleFonts.inter(
  983. fontWeight:
  984. FlutterFlowTheme.of(context)
  985. .bodyMedium
  986. .fontWeight,
  987. fontStyle:
  988. FlutterFlowTheme.of(context)
  989. .bodyMedium
  990. .fontStyle,
  991. ),
  992. letterSpacing: 0.0,
  993. fontWeight:
  994. FlutterFlowTheme.of(context)
  995. .bodyMedium
  996. .fontWeight,
  997. fontStyle:
  998. FlutterFlowTheme.of(context)
  999. .bodyMedium
  1000. .fontStyle,
  1001. ),
  1002. ),
  1003. Text(
  1004. getJsonField(
  1005. horecagelegenheidCurrentEstablishmentInfoResponse
  1006. .jsonBody,
  1007. r'''$[:].thuisbezorgtbetaalopties''',
  1008. ).toString(),
  1009. style: FlutterFlowTheme.of(context)
  1010. .bodyMedium
  1011. .override(
  1012. font: GoogleFonts.inter(
  1013. fontWeight:
  1014. FlutterFlowTheme.of(context)
  1015. .bodyMedium
  1016. .fontWeight,
  1017. fontStyle:
  1018. FlutterFlowTheme.of(context)
  1019. .bodyMedium
  1020. .fontStyle,
  1021. ),
  1022. letterSpacing: 0.0,
  1023. fontWeight:
  1024. FlutterFlowTheme.of(context)
  1025. .bodyMedium
  1026. .fontWeight,
  1027. fontStyle:
  1028. FlutterFlowTheme.of(context)
  1029. .bodyMedium
  1030. .fontStyle,
  1031. ),
  1032. ),
  1033. Text(
  1034. getJsonField(
  1035. horecagelegenheidCurrentEstablishmentInfoResponse
  1036. .jsonBody,
  1037. r'''$[:].bezorgdin''',
  1038. ).toString(),
  1039. style: FlutterFlowTheme.of(context)
  1040. .bodyMedium
  1041. .override(
  1042. font: GoogleFonts.inter(
  1043. fontWeight:
  1044. FlutterFlowTheme.of(context)
  1045. .bodyMedium
  1046. .fontWeight,
  1047. fontStyle:
  1048. FlutterFlowTheme.of(context)
  1049. .bodyMedium
  1050. .fontStyle,
  1051. ),
  1052. letterSpacing: 0.0,
  1053. fontWeight:
  1054. FlutterFlowTheme.of(context)
  1055. .bodyMedium
  1056. .fontWeight,
  1057. fontStyle:
  1058. FlutterFlowTheme.of(context)
  1059. .bodyMedium
  1060. .fontStyle,
  1061. ),
  1062. ),
  1063. ],
  1064. ),
  1065. ],
  1066. ),
  1067. ),
  1068. ],
  1069. ),
  1070. ),
  1071. Expanded(
  1072. child: Container(
  1073. width: 462.72,
  1074. height: 100.0,
  1075. decoration: BoxDecoration(
  1076. color: FlutterFlowTheme.of(context).secondaryBackground,
  1077. ),
  1078. child: Column(
  1079. mainAxisSize: MainAxisSize.max,
  1080. children: [
  1081. Expanded(
  1082. child: wrapWithModel(
  1083. model: _model
  1084. .horecagelegenheidEventTabelComponentCopyModel,
  1085. updateCallback: () => safeSetState(() {}),
  1086. child: Builder(builder: (_) {
  1087. return DebugFlutterFlowModelContext(
  1088. rootModel: _model.rootModel,
  1089. child:
  1090. HorecagelegenheidEventTabelComponentCopyWidget(
  1091. nid: widget!.nid!,
  1092. horecaid: widget!.nid,
  1093. ),
  1094. );
  1095. }),
  1096. ),
  1097. ),
  1098. ],
  1099. ),
  1100. ),
  1101. ),
  1102. ],
  1103. ),
  1104. ),
  1105. ),
  1106. );
  1107. },
  1108. );
  1109. }
  1110. }