horecagelegenheid_current_widget.dart 60 KB

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