horecagelegenheid_current_widget.dart 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/components/google_maps_icon_button_widget.dart';
  3. import '/components/header_buttons_component_widget.dart';
  4. import '/flutter_flow/flutter_flow_ad_banner.dart';
  5. import '/flutter_flow/flutter_flow_icon_button.dart';
  6. import '/flutter_flow/flutter_flow_theme.dart';
  7. import '/flutter_flow/flutter_flow_util.dart';
  8. import '/flutter_flow/flutter_flow_widgets.dart';
  9. import '/horecagelegenhedenoverzicht/horecagelegenheid_event_tabel_component_copy/horecagelegenheid_event_tabel_component_copy_widget.dart';
  10. import '/shared/drawer_component/drawer_component_widget.dart';
  11. import 'dart:ui';
  12. import '/custom_code/actions/index.dart' as actions;
  13. import '/flutter_flow/custom_functions.dart' as functions;
  14. import '/index.dart';
  15. import 'package:aligned_tooltip/aligned_tooltip.dart';
  16. import 'package:carousel_slider/carousel_slider.dart';
  17. import 'package:cached_network_image/cached_network_image.dart';
  18. import 'package:flutter/material.dart';
  19. import 'package:flutter_blurhash/flutter_blurhash.dart';
  20. import 'package:flutter_spinkit/flutter_spinkit.dart';
  21. import 'package:google_fonts/google_fonts.dart';
  22. import 'package:octo_image/octo_image.dart';
  23. import 'package:provider/provider.dart';
  24. import 'horecagelegenheid_current_model.dart';
  25. export 'horecagelegenheid_current_model.dart';
  26. /// Establishment
  27. class HorecagelegenheidCurrentWidget extends StatefulWidget {
  28. const HorecagelegenheidCurrentWidget({
  29. super.key,
  30. required this.nid,
  31. });
  32. /// establishment nid
  33. final String? nid;
  34. static String routeName = 'horecagelegenheidCurrent';
  35. static String routePath = '/horecagelegenheidCurrent';
  36. @override
  37. State<HorecagelegenheidCurrentWidget> createState() =>
  38. _HorecagelegenheidCurrentWidgetState();
  39. }
  40. class _HorecagelegenheidCurrentWidgetState
  41. extends State<HorecagelegenheidCurrentWidget>
  42. with TickerProviderStateMixin, RouteAware {
  43. late HorecagelegenheidCurrentModel _model;
  44. final scaffoldKey = GlobalKey<ScaffoldState>();
  45. @override
  46. void initState() {
  47. super.initState();
  48. _model = createModel(context, () => HorecagelegenheidCurrentModel());
  49. _model.tabBarController = TabController(
  50. vsync: this,
  51. length: 3,
  52. initialIndex: 0,
  53. )
  54. ..addListener(() => safeSetState(() {}))
  55. ..addListener(() {
  56. debugLogWidgetClass(_model);
  57. });
  58. }
  59. @override
  60. void dispose() {
  61. routeObserver.unsubscribe(this);
  62. _model.dispose();
  63. super.dispose();
  64. }
  65. @override
  66. void didUpdateWidget(HorecagelegenheidCurrentWidget oldWidget) {
  67. super.didUpdateWidget(oldWidget);
  68. _model.widget = widget;
  69. }
  70. @override
  71. void didChangeDependencies() {
  72. super.didChangeDependencies();
  73. final route = DebugModalRoute.of(context);
  74. if (route != null) {
  75. routeObserver.subscribe(this, route);
  76. }
  77. debugLogGlobalProperty(context);
  78. }
  79. @override
  80. void didPopNext() {
  81. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  82. setState(() => _model.isRouteVisible = true);
  83. debugLogWidgetClass(_model);
  84. }
  85. }
  86. @override
  87. void didPush() {
  88. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  89. setState(() => _model.isRouteVisible = true);
  90. debugLogWidgetClass(_model);
  91. }
  92. }
  93. @override
  94. void didPop() {
  95. _model.isRouteVisible = false;
  96. }
  97. @override
  98. void didPushNext() {
  99. _model.isRouteVisible = false;
  100. }
  101. @override
  102. Widget build(BuildContext context) {
  103. DebugFlutterFlowModelContext.maybeOf(context)
  104. ?.parentModelCallback
  105. ?.call(_model);
  106. context.watch<FFAppState>();
  107. return FutureBuilder<ApiCallResponse>(
  108. future: EstablishmentInfoCall.call(
  109. nid: widget!.nid,
  110. ),
  111. builder: (context, snapshot) {
  112. // Customize what your widget looks like when it's loading.
  113. if (!snapshot.hasData) {
  114. return Scaffold(
  115. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  116. body: Center(
  117. child: SizedBox(
  118. width: 80.0,
  119. height: 80.0,
  120. child: SpinKitFadingCircle(
  121. color: Color(0xFFB1061E),
  122. size: 80.0,
  123. ),
  124. ),
  125. ),
  126. );
  127. }
  128. final horecagelegenheidCurrentEstablishmentInfoResponse =
  129. snapshot.data!;
  130. _model.debugBackendQueries[
  131. 'EstablishmentInfoCall_statusCode_Scaffold_m8hqnbgb'] =
  132. debugSerializeParam(
  133. horecagelegenheidCurrentEstablishmentInfoResponse.statusCode,
  134. ParamType.int,
  135. link:
  136. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  137. name: 'int',
  138. nullable: false,
  139. );
  140. _model.debugBackendQueries[
  141. 'EstablishmentInfoCall_responseBody_Scaffold_m8hqnbgb'] =
  142. debugSerializeParam(
  143. horecagelegenheidCurrentEstablishmentInfoResponse.bodyText,
  144. ParamType.String,
  145. link:
  146. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  147. name: 'String',
  148. nullable: false,
  149. );
  150. debugLogWidgetClass(_model);
  151. return GestureDetector(
  152. onTap: () {
  153. FocusScope.of(context).unfocus();
  154. FocusManager.instance.primaryFocus?.unfocus();
  155. },
  156. child: Scaffold(
  157. key: scaffoldKey,
  158. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  159. drawer: Drawer(
  160. elevation: 16.0,
  161. child: wrapWithModel(
  162. model: _model.drawerComponentModel,
  163. updateCallback: () => safeSetState(() {}),
  164. child: Builder(builder: (_) {
  165. return DebugFlutterFlowModelContext(
  166. rootModel: _model.rootModel,
  167. child: DrawerComponentWidget(),
  168. );
  169. }),
  170. ),
  171. ),
  172. appBar: PreferredSize(
  173. preferredSize: Size.fromHeight(80.0),
  174. child: AppBar(
  175. backgroundColor: FlutterFlowTheme.of(context).info,
  176. iconTheme: IconThemeData(color: Color(0xFFB12727)),
  177. automaticallyImplyLeading: false,
  178. actions: [],
  179. flexibleSpace: FlexibleSpaceBar(
  180. background: Row(
  181. mainAxisSize: MainAxisSize.max,
  182. children: [
  183. wrapWithModel(
  184. model: _model.headerButtonsComponentModel,
  185. updateCallback: () => safeSetState(() {}),
  186. child: Builder(builder: (_) {
  187. return DebugFlutterFlowModelContext(
  188. rootModel: _model.rootModel,
  189. child: HeaderButtonsComponentWidget(),
  190. );
  191. }),
  192. ),
  193. ],
  194. ),
  195. centerTitle: true,
  196. expandedTitleScale: 1.0,
  197. ),
  198. bottom: PreferredSize(
  199. preferredSize: Size.fromHeight(70.0),
  200. child: Container(),
  201. ),
  202. toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
  203. elevation: 2.0,
  204. ),
  205. ),
  206. body: SafeArea(
  207. top: true,
  208. child: Column(
  209. mainAxisSize: MainAxisSize.max,
  210. children: [
  211. Stack(
  212. children: [
  213. Container(
  214. width: 366.1,
  215. height: 281.5,
  216. decoration: BoxDecoration(
  217. color:
  218. FlutterFlowTheme.of(context).secondaryBackground,
  219. ),
  220. child: Builder(
  221. builder: (context) {
  222. final fotoos =
  223. EstablishmentInfoCall.establishmentFotoos(
  224. horecagelegenheidCurrentEstablishmentInfoResponse
  225. .jsonBody,
  226. )?.toList() ??
  227. [];
  228. if (fotoos.isEmpty) {
  229. return Image.asset(
  230. 'assets/images/logo800px.png',
  231. );
  232. }
  233. _model.debugGeneratorVariables[
  234. 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
  235. debugSerializeParam(
  236. fotoos.take(100),
  237. ParamType.String,
  238. isList: true,
  239. link:
  240. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  241. name: 'String',
  242. nullable: false,
  243. );
  244. debugLogWidgetClass(_model);
  245. return Container(
  246. width: double.infinity,
  247. height: 200.0,
  248. child: CarouselSlider.builder(
  249. itemCount: fotoos.length,
  250. itemBuilder: (context, fotoosIndex, _) {
  251. final fotoosItem = fotoos[fotoosIndex];
  252. return Builder(
  253. builder: (context) {
  254. if (fotoosItem != null &&
  255. fotoosItem != '') {
  256. return ClipRRect(
  257. borderRadius:
  258. BorderRadius.circular(8.0),
  259. child: OctoImage(
  260. placeholderBuilder: (_) {
  261. final blurHash =
  262. 'L6PZfSi_.AyE_3t7t7R**0o#DgR4';
  263. if (!validateBlurhash(blurHash)) {
  264. return const SizedBox.shrink();
  265. }
  266. return SizedBox.expand(
  267. child: Image(
  268. image:
  269. BlurHashImage(blurHash),
  270. fit: BoxFit.cover,
  271. ),
  272. );
  273. },
  274. image: CachedNetworkImageProvider(
  275. fotoosItem,
  276. ),
  277. width: 200.0,
  278. height: 200.0,
  279. fit: BoxFit.fitWidth,
  280. ),
  281. );
  282. } else {
  283. return Icon(
  284. Icons.image_not_supported,
  285. color: FlutterFlowTheme.of(context)
  286. .primaryText,
  287. size: 24.0,
  288. );
  289. }
  290. },
  291. );
  292. },
  293. carouselController:
  294. _model.carouselController ??=
  295. CarouselSliderController(),
  296. options: CarouselOptions(
  297. initialPage:
  298. max(0, min(1, fotoos.length - 1)),
  299. viewportFraction: 0.5,
  300. disableCenter: true,
  301. enlargeCenterPage: true,
  302. enlargeFactor: 0.25,
  303. enableInfiniteScroll: true,
  304. scrollDirection: Axis.horizontal,
  305. autoPlay: false,
  306. onPageChanged: (index, _) =>
  307. _model.carouselCurrentIndex = index,
  308. ),
  309. ),
  310. );
  311. },
  312. ),
  313. ),
  314. Align(
  315. alignment: AlignmentDirectional(1.0, 0.0),
  316. child: AlignedTooltip(
  317. content: Padding(
  318. padding: EdgeInsets.all(4.0),
  319. child: Text(
  320. FFLocalizations.of(context).getText(
  321. 'gh9ciiqo' /* Favoriet */,
  322. ),
  323. style: FlutterFlowTheme.of(context)
  324. .bodyLarge
  325. .override(
  326. font: GoogleFonts.inter(
  327. fontWeight: FlutterFlowTheme.of(context)
  328. .bodyLarge
  329. .fontWeight,
  330. fontStyle: FlutterFlowTheme.of(context)
  331. .bodyLarge
  332. .fontStyle,
  333. ),
  334. letterSpacing: 0.0,
  335. fontWeight: FlutterFlowTheme.of(context)
  336. .bodyLarge
  337. .fontWeight,
  338. fontStyle: FlutterFlowTheme.of(context)
  339. .bodyLarge
  340. .fontStyle,
  341. ),
  342. ),
  343. ),
  344. offset: 4.0,
  345. preferredDirection: AxisDirection.down,
  346. borderRadius: BorderRadius.circular(8.0),
  347. backgroundColor:
  348. FlutterFlowTheme.of(context).secondaryBackground,
  349. elevation: 4.0,
  350. tailBaseWidth: 24.0,
  351. tailLength: 12.0,
  352. waitDuration: Duration(milliseconds: 100),
  353. showDuration: Duration(milliseconds: 1500),
  354. triggerMode: TooltipTriggerMode.tap,
  355. child: Builder(
  356. builder: (context) {
  357. if (FFAppState()
  358. .favorieteHorecaNids
  359. .contains(widget!.nid)) {
  360. return FlutterFlowIconButton(
  361. borderRadius: 8.0,
  362. buttonSize: 32.0,
  363. fillColor: Colors.white,
  364. icon: Icon(
  365. Icons.favorite,
  366. color: Color(0xFFB50808),
  367. size: 24.0,
  368. ),
  369. onPressed: () async {
  370. FFAppState().removeFromFavorieteHorecaNids(
  371. widget!.nid!);
  372. safeSetState(() {});
  373. await actions.drupalRequest(
  374. 'POST',
  375. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/unflag.json',
  376. FFAppState().userSessionname,
  377. FFAppState().userSessionid,
  378. FFAppState().userToken,
  379. functions
  380. .favorietenBodyNode(widget!.nid!)!,
  381. );
  382. },
  383. );
  384. } else {
  385. return FlutterFlowIconButton(
  386. borderRadius: 8.0,
  387. buttonSize: 32.0,
  388. fillColor: Colors.white,
  389. icon: Icon(
  390. Icons.favorite_border,
  391. color: Color(0xFFB50808),
  392. size: 24.0,
  393. ),
  394. onPressed: () async {
  395. FFAppState()
  396. .addToFavorieteHorecaNids(widget!.nid!);
  397. safeSetState(() {});
  398. await actions.drupalRequest(
  399. 'POST',
  400. 'https://uitgaanskrant.com/nl/flutterdrup/favorieten/flag.json',
  401. FFAppState().userSessionname,
  402. FFAppState().userSessionid,
  403. FFAppState().userToken,
  404. functions
  405. .favorietenBodyNode(widget!.nid!)!,
  406. );
  407. },
  408. );
  409. }
  410. },
  411. ),
  412. ),
  413. ),
  414. ],
  415. ),
  416. if (getJsonField(
  417. horecagelegenheidCurrentEstablishmentInfoResponse
  418. .jsonBody,
  419. r'''$[:].titel''',
  420. ) !=
  421. null)
  422. Text(
  423. valueOrDefault<String>(
  424. EstablishmentInfoCall.establshmentTitel(
  425. horecagelegenheidCurrentEstablishmentInfoResponse
  426. .jsonBody,
  427. ),
  428. 'title',
  429. ),
  430. style:
  431. FlutterFlowTheme.of(context).headlineMedium.override(
  432. font: GoogleFonts.interTight(
  433. fontWeight: FlutterFlowTheme.of(context)
  434. .headlineMedium
  435. .fontWeight,
  436. fontStyle: FlutterFlowTheme.of(context)
  437. .headlineMedium
  438. .fontStyle,
  439. ),
  440. letterSpacing: 0.0,
  441. fontWeight: FlutterFlowTheme.of(context)
  442. .headlineMedium
  443. .fontWeight,
  444. fontStyle: FlutterFlowTheme.of(context)
  445. .headlineMedium
  446. .fontStyle,
  447. shadows: [
  448. Shadow(
  449. color: FlutterFlowTheme.of(context).secondaryText,
  450. offset: Offset(2.0, 2.0),
  451. blurRadius: 2.0,
  452. )
  453. ],
  454. ),
  455. ),
  456. Padding(
  457. padding:
  458. EdgeInsetsDirectional.fromSTEB(0.0, 15.0, 0.0, 0.0),
  459. child: FlutterFlowAdBanner(
  460. showsTestAd: true,
  461. iOSAdUnitID: 'ca-app-pub-2431417692812232/5511582981',
  462. androidAdUnitID: 'ca-app-pub-2431417692812232/6657143691',
  463. ),
  464. ),
  465. Expanded(
  466. child: Column(
  467. children: [
  468. Align(
  469. alignment: Alignment(0.0, 0),
  470. child: TabBar(
  471. labelColor:
  472. FlutterFlowTheme.of(context).primaryText,
  473. unselectedLabelColor:
  474. FlutterFlowTheme.of(context).secondaryText,
  475. labelStyle: FlutterFlowTheme.of(context)
  476. .titleMedium
  477. .override(
  478. font: GoogleFonts.interTight(
  479. fontWeight: FlutterFlowTheme.of(context)
  480. .titleMedium
  481. .fontWeight,
  482. fontStyle: FlutterFlowTheme.of(context)
  483. .titleMedium
  484. .fontStyle,
  485. ),
  486. letterSpacing: 0.0,
  487. fontWeight: FlutterFlowTheme.of(context)
  488. .titleMedium
  489. .fontWeight,
  490. fontStyle: FlutterFlowTheme.of(context)
  491. .titleMedium
  492. .fontStyle,
  493. ),
  494. unselectedLabelStyle: FlutterFlowTheme.of(context)
  495. .titleMedium
  496. .override(
  497. font: GoogleFonts.interTight(
  498. fontWeight: FlutterFlowTheme.of(context)
  499. .titleMedium
  500. .fontWeight,
  501. fontStyle: FlutterFlowTheme.of(context)
  502. .titleMedium
  503. .fontStyle,
  504. ),
  505. letterSpacing: 0.0,
  506. fontWeight: FlutterFlowTheme.of(context)
  507. .titleMedium
  508. .fontWeight,
  509. fontStyle: FlutterFlowTheme.of(context)
  510. .titleMedium
  511. .fontStyle,
  512. ),
  513. indicatorColor:
  514. FlutterFlowTheme.of(context).primary,
  515. tabs: [
  516. Tab(
  517. text: FFLocalizations.of(context).getText(
  518. 'pedeshok' /* Info */,
  519. ),
  520. ),
  521. Tab(
  522. text: FFLocalizations.of(context).getText(
  523. 'q5nwrlms' /* Links */,
  524. ),
  525. ),
  526. Tab(
  527. text: FFLocalizations.of(context).getText(
  528. 's1b6yp7v' /* Bezorgen */,
  529. ),
  530. ),
  531. ],
  532. controller: _model.tabBarController,
  533. onTap: (i) async {
  534. [() async {}, () async {}, () async {}][i]();
  535. },
  536. ),
  537. ),
  538. Expanded(
  539. child: TabBarView(
  540. controller: _model.tabBarController,
  541. children: [
  542. Column(
  543. mainAxisSize: MainAxisSize.max,
  544. children: [
  545. if (getJsonField(
  546. horecagelegenheidCurrentEstablishmentInfoResponse
  547. .jsonBody,
  548. r'''$[:].logo''',
  549. ) !=
  550. null)
  551. ClipRRect(
  552. borderRadius: BorderRadius.circular(8.0),
  553. child: CachedNetworkImage(
  554. fadeInDuration:
  555. Duration(milliseconds: 500),
  556. fadeOutDuration:
  557. Duration(milliseconds: 500),
  558. imageUrl: valueOrDefault<String>(
  559. EstablishmentInfoCall
  560. .establshmentLogo(
  561. horecagelegenheidCurrentEstablishmentInfoResponse
  562. .jsonBody,
  563. ),
  564. 'logo',
  565. ),
  566. width: 200.0,
  567. height: 200.0,
  568. fit: BoxFit.cover,
  569. ),
  570. ),
  571. if (EstablishmentInfoCall.establishmentAdres(
  572. horecagelegenheidCurrentEstablishmentInfoResponse
  573. .jsonBody,
  574. ) !=
  575. null &&
  576. EstablishmentInfoCall.establishmentAdres(
  577. horecagelegenheidCurrentEstablishmentInfoResponse
  578. .jsonBody,
  579. ) !=
  580. '')
  581. Text(
  582. getJsonField(
  583. horecagelegenheidCurrentEstablishmentInfoResponse
  584. .jsonBody,
  585. r'''$[:].adres''',
  586. ).toString(),
  587. style: FlutterFlowTheme.of(context)
  588. .bodyMedium
  589. .override(
  590. font: GoogleFonts.inter(
  591. fontWeight:
  592. FlutterFlowTheme.of(context)
  593. .bodyMedium
  594. .fontWeight,
  595. fontStyle:
  596. FlutterFlowTheme.of(context)
  597. .bodyMedium
  598. .fontStyle,
  599. ),
  600. letterSpacing: 0.0,
  601. fontWeight:
  602. FlutterFlowTheme.of(context)
  603. .bodyMedium
  604. .fontWeight,
  605. fontStyle:
  606. FlutterFlowTheme.of(context)
  607. .bodyMedium
  608. .fontStyle,
  609. ),
  610. ),
  611. if (EstablishmentInfoCall.establishmentPlaats(
  612. horecagelegenheidCurrentEstablishmentInfoResponse
  613. .jsonBody,
  614. ) !=
  615. null &&
  616. EstablishmentInfoCall.establishmentPlaats(
  617. horecagelegenheidCurrentEstablishmentInfoResponse
  618. .jsonBody,
  619. ) !=
  620. '')
  621. Text(
  622. getJsonField(
  623. horecagelegenheidCurrentEstablishmentInfoResponse
  624. .jsonBody,
  625. r'''$[:].plaats''',
  626. ).toString(),
  627. style: FlutterFlowTheme.of(context)
  628. .bodyMedium
  629. .override(
  630. font: GoogleFonts.inter(
  631. fontWeight:
  632. FlutterFlowTheme.of(context)
  633. .bodyMedium
  634. .fontWeight,
  635. fontStyle:
  636. FlutterFlowTheme.of(context)
  637. .bodyMedium
  638. .fontStyle,
  639. ),
  640. letterSpacing: 0.0,
  641. fontWeight:
  642. FlutterFlowTheme.of(context)
  643. .bodyMedium
  644. .fontWeight,
  645. fontStyle:
  646. FlutterFlowTheme.of(context)
  647. .bodyMedium
  648. .fontStyle,
  649. ),
  650. ),
  651. if (EstablishmentInfoCall
  652. .establishmentTelefoonnummer(
  653. horecagelegenheidCurrentEstablishmentInfoResponse
  654. .jsonBody,
  655. ) !=
  656. null &&
  657. EstablishmentInfoCall
  658. .establishmentTelefoonnummer(
  659. horecagelegenheidCurrentEstablishmentInfoResponse
  660. .jsonBody,
  661. ) !=
  662. '')
  663. Text(
  664. getJsonField(
  665. horecagelegenheidCurrentEstablishmentInfoResponse
  666. .jsonBody,
  667. r'''$[:].telefoonnummer''',
  668. ).toString(),
  669. style: FlutterFlowTheme.of(context)
  670. .bodyMedium
  671. .override(
  672. font: GoogleFonts.inter(
  673. fontWeight:
  674. FlutterFlowTheme.of(context)
  675. .bodyMedium
  676. .fontWeight,
  677. fontStyle:
  678. FlutterFlowTheme.of(context)
  679. .bodyMedium
  680. .fontStyle,
  681. ),
  682. letterSpacing: 0.0,
  683. fontWeight:
  684. FlutterFlowTheme.of(context)
  685. .bodyMedium
  686. .fontWeight,
  687. fontStyle:
  688. FlutterFlowTheme.of(context)
  689. .bodyMedium
  690. .fontStyle,
  691. ),
  692. ),
  693. if (EstablishmentInfoCall.establishmentEmail(
  694. horecagelegenheidCurrentEstablishmentInfoResponse
  695. .jsonBody,
  696. ) !=
  697. null &&
  698. EstablishmentInfoCall.establishmentEmail(
  699. horecagelegenheidCurrentEstablishmentInfoResponse
  700. .jsonBody,
  701. ) !=
  702. '')
  703. Text(
  704. getJsonField(
  705. horecagelegenheidCurrentEstablishmentInfoResponse
  706. .jsonBody,
  707. r'''$[:].email''',
  708. ).toString(),
  709. style: FlutterFlowTheme.of(context)
  710. .bodyMedium
  711. .override(
  712. font: GoogleFonts.inter(
  713. fontWeight:
  714. FlutterFlowTheme.of(context)
  715. .bodyMedium
  716. .fontWeight,
  717. fontStyle:
  718. FlutterFlowTheme.of(context)
  719. .bodyMedium
  720. .fontStyle,
  721. ),
  722. letterSpacing: 0.0,
  723. fontWeight:
  724. FlutterFlowTheme.of(context)
  725. .bodyMedium
  726. .fontWeight,
  727. fontStyle:
  728. FlutterFlowTheme.of(context)
  729. .bodyMedium
  730. .fontStyle,
  731. ),
  732. ),
  733. if (EstablishmentInfoCall.establshmentKvk(
  734. horecagelegenheidCurrentEstablishmentInfoResponse
  735. .jsonBody,
  736. ) !=
  737. null &&
  738. EstablishmentInfoCall.establshmentKvk(
  739. horecagelegenheidCurrentEstablishmentInfoResponse
  740. .jsonBody,
  741. ) !=
  742. '')
  743. Text(
  744. getJsonField(
  745. horecagelegenheidCurrentEstablishmentInfoResponse
  746. .jsonBody,
  747. r'''$[:].kvk''',
  748. ).toString(),
  749. style: FlutterFlowTheme.of(context)
  750. .bodyMedium
  751. .override(
  752. font: GoogleFonts.inter(
  753. fontWeight:
  754. FlutterFlowTheme.of(context)
  755. .bodyMedium
  756. .fontWeight,
  757. fontStyle:
  758. FlutterFlowTheme.of(context)
  759. .bodyMedium
  760. .fontStyle,
  761. ),
  762. letterSpacing: 0.0,
  763. fontWeight:
  764. FlutterFlowTheme.of(context)
  765. .bodyMedium
  766. .fontWeight,
  767. fontStyle:
  768. FlutterFlowTheme.of(context)
  769. .bodyMedium
  770. .fontStyle,
  771. ),
  772. ),
  773. Builder(
  774. builder: (context) {
  775. final cryptocoins = EstablishmentInfoCall
  776. .establishmentCryptocoins(
  777. horecagelegenheidCurrentEstablishmentInfoResponse
  778. .jsonBody,
  779. )?.toList() ??
  780. [];
  781. _model.debugGeneratorVariables[
  782. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  783. debugSerializeParam(
  784. cryptocoins.take(100),
  785. ParamType.String,
  786. isList: true,
  787. link:
  788. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  789. name: 'String',
  790. nullable: false,
  791. );
  792. debugLogWidgetClass(_model);
  793. return Wrap(
  794. spacing: 0.0,
  795. runSpacing: 0.0,
  796. alignment: WrapAlignment.start,
  797. crossAxisAlignment:
  798. WrapCrossAlignment.start,
  799. direction: Axis.horizontal,
  800. runAlignment: WrapAlignment.start,
  801. verticalDirection:
  802. VerticalDirection.down,
  803. clipBehavior: Clip.none,
  804. children:
  805. List.generate(cryptocoins.length,
  806. (cryptocoinsIndex) {
  807. final cryptocoinsItem =
  808. cryptocoins[cryptocoinsIndex];
  809. return Text(
  810. cryptocoinsItem,
  811. style: FlutterFlowTheme.of(context)
  812. .bodyMedium
  813. .override(
  814. font: GoogleFonts.inter(
  815. fontWeight:
  816. FlutterFlowTheme.of(
  817. context)
  818. .bodyMedium
  819. .fontWeight,
  820. fontStyle:
  821. FlutterFlowTheme.of(
  822. context)
  823. .bodyMedium
  824. .fontStyle,
  825. ),
  826. letterSpacing: 0.0,
  827. fontWeight:
  828. FlutterFlowTheme.of(
  829. context)
  830. .bodyMedium
  831. .fontWeight,
  832. fontStyle:
  833. FlutterFlowTheme.of(
  834. context)
  835. .bodyMedium
  836. .fontStyle,
  837. ),
  838. );
  839. }),
  840. );
  841. },
  842. ),
  843. wrapWithModel(
  844. model: _model.googleMapsIconButtonModel,
  845. updateCallback: () => safeSetState(() {}),
  846. child: Builder(builder: (_) {
  847. return DebugFlutterFlowModelContext(
  848. rootModel: _model.rootModel,
  849. child: GoogleMapsIconButtonWidget(
  850. adres: EstablishmentInfoCall
  851. .establishmentAdres(
  852. horecagelegenheidCurrentEstablishmentInfoResponse
  853. .jsonBody,
  854. )!,
  855. plaats: EstablishmentInfoCall
  856. .establishmentPlaats(
  857. horecagelegenheidCurrentEstablishmentInfoResponse
  858. .jsonBody,
  859. )!,
  860. ),
  861. );
  862. }),
  863. ),
  864. ],
  865. ),
  866. Column(
  867. mainAxisSize: MainAxisSize.max,
  868. children: [
  869. if (EstablishmentInfoCall
  870. .establishmentWebsite(
  871. horecagelegenheidCurrentEstablishmentInfoResponse
  872. .jsonBody,
  873. ) !=
  874. null &&
  875. EstablishmentInfoCall
  876. .establishmentWebsite(
  877. horecagelegenheidCurrentEstablishmentInfoResponse
  878. .jsonBody,
  879. ) !=
  880. '')
  881. InkWell(
  882. splashColor: Colors.transparent,
  883. focusColor: Colors.transparent,
  884. hoverColor: Colors.transparent,
  885. highlightColor: Colors.transparent,
  886. onTap: () async {
  887. await launchURL(getJsonField(
  888. horecagelegenheidCurrentEstablishmentInfoResponse
  889. .jsonBody,
  890. r'''$[:].website''',
  891. ).toString());
  892. },
  893. child: Text(
  894. getJsonField(
  895. horecagelegenheidCurrentEstablishmentInfoResponse
  896. .jsonBody,
  897. r'''$[:].website''',
  898. ).toString(),
  899. style: FlutterFlowTheme.of(context)
  900. .bodyMedium
  901. .override(
  902. font: GoogleFonts.inter(
  903. fontWeight:
  904. FlutterFlowTheme.of(context)
  905. .bodyMedium
  906. .fontWeight,
  907. fontStyle:
  908. FlutterFlowTheme.of(context)
  909. .bodyMedium
  910. .fontStyle,
  911. ),
  912. letterSpacing: 0.0,
  913. fontWeight:
  914. FlutterFlowTheme.of(context)
  915. .bodyMedium
  916. .fontWeight,
  917. fontStyle:
  918. FlutterFlowTheme.of(context)
  919. .bodyMedium
  920. .fontStyle,
  921. ),
  922. ),
  923. ),
  924. if (EstablishmentInfoCall
  925. .establishmentMenukaart(
  926. horecagelegenheidCurrentEstablishmentInfoResponse
  927. .jsonBody,
  928. ) !=
  929. null &&
  930. EstablishmentInfoCall
  931. .establishmentMenukaart(
  932. horecagelegenheidCurrentEstablishmentInfoResponse
  933. .jsonBody,
  934. ) !=
  935. '')
  936. InkWell(
  937. splashColor: Colors.transparent,
  938. focusColor: Colors.transparent,
  939. hoverColor: Colors.transparent,
  940. highlightColor: Colors.transparent,
  941. onTap: () async {
  942. await launchURL(getJsonField(
  943. horecagelegenheidCurrentEstablishmentInfoResponse
  944. .jsonBody,
  945. r'''$[:].menukaart''',
  946. ).toString());
  947. },
  948. child: Text(
  949. getJsonField(
  950. horecagelegenheidCurrentEstablishmentInfoResponse
  951. .jsonBody,
  952. r'''$[:].menukaart''',
  953. ).toString(),
  954. style: FlutterFlowTheme.of(context)
  955. .bodyMedium
  956. .override(
  957. font: GoogleFonts.inter(
  958. fontWeight:
  959. FlutterFlowTheme.of(context)
  960. .bodyMedium
  961. .fontWeight,
  962. fontStyle:
  963. FlutterFlowTheme.of(context)
  964. .bodyMedium
  965. .fontStyle,
  966. ),
  967. letterSpacing: 0.0,
  968. fontWeight:
  969. FlutterFlowTheme.of(context)
  970. .bodyMedium
  971. .fontWeight,
  972. fontStyle:
  973. FlutterFlowTheme.of(context)
  974. .bodyMedium
  975. .fontStyle,
  976. ),
  977. ),
  978. ),
  979. if (EstablishmentInfoCall
  980. .establishmentFacebook(
  981. horecagelegenheidCurrentEstablishmentInfoResponse
  982. .jsonBody,
  983. ) !=
  984. null &&
  985. EstablishmentInfoCall
  986. .establishmentFacebook(
  987. horecagelegenheidCurrentEstablishmentInfoResponse
  988. .jsonBody,
  989. ) !=
  990. '')
  991. InkWell(
  992. splashColor: Colors.transparent,
  993. focusColor: Colors.transparent,
  994. hoverColor: Colors.transparent,
  995. highlightColor: Colors.transparent,
  996. onTap: () async {
  997. await launchURL(getJsonField(
  998. horecagelegenheidCurrentEstablishmentInfoResponse
  999. .jsonBody,
  1000. r'''$[:].facebook''',
  1001. ).toString());
  1002. },
  1003. child: Text(
  1004. getJsonField(
  1005. horecagelegenheidCurrentEstablishmentInfoResponse
  1006. .jsonBody,
  1007. r'''$[:].facebook''',
  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. ),
  1034. if (EstablishmentInfoCall
  1035. .establishmentTwitter(
  1036. horecagelegenheidCurrentEstablishmentInfoResponse
  1037. .jsonBody,
  1038. ) !=
  1039. null &&
  1040. EstablishmentInfoCall
  1041. .establishmentTwitter(
  1042. horecagelegenheidCurrentEstablishmentInfoResponse
  1043. .jsonBody,
  1044. ) !=
  1045. '')
  1046. InkWell(
  1047. splashColor: Colors.transparent,
  1048. focusColor: Colors.transparent,
  1049. hoverColor: Colors.transparent,
  1050. highlightColor: Colors.transparent,
  1051. onTap: () async {
  1052. await launchURL(getJsonField(
  1053. horecagelegenheidCurrentEstablishmentInfoResponse
  1054. .jsonBody,
  1055. r'''$[:].twitter''',
  1056. ).toString());
  1057. },
  1058. child: Text(
  1059. getJsonField(
  1060. horecagelegenheidCurrentEstablishmentInfoResponse
  1061. .jsonBody,
  1062. r'''$[:].twitter''',
  1063. ).toString(),
  1064. style: FlutterFlowTheme.of(context)
  1065. .bodyMedium
  1066. .override(
  1067. font: GoogleFonts.inter(
  1068. fontWeight:
  1069. FlutterFlowTheme.of(context)
  1070. .bodyMedium
  1071. .fontWeight,
  1072. fontStyle:
  1073. FlutterFlowTheme.of(context)
  1074. .bodyMedium
  1075. .fontStyle,
  1076. ),
  1077. letterSpacing: 0.0,
  1078. fontWeight:
  1079. FlutterFlowTheme.of(context)
  1080. .bodyMedium
  1081. .fontWeight,
  1082. fontStyle:
  1083. FlutterFlowTheme.of(context)
  1084. .bodyMedium
  1085. .fontStyle,
  1086. ),
  1087. ),
  1088. ),
  1089. if (EstablishmentInfoCall
  1090. .establishmentInstagram(
  1091. horecagelegenheidCurrentEstablishmentInfoResponse
  1092. .jsonBody,
  1093. ) !=
  1094. null &&
  1095. EstablishmentInfoCall
  1096. .establishmentInstagram(
  1097. horecagelegenheidCurrentEstablishmentInfoResponse
  1098. .jsonBody,
  1099. ) !=
  1100. '')
  1101. InkWell(
  1102. splashColor: Colors.transparent,
  1103. focusColor: Colors.transparent,
  1104. hoverColor: Colors.transparent,
  1105. highlightColor: Colors.transparent,
  1106. onTap: () async {
  1107. await launchURL(getJsonField(
  1108. horecagelegenheidCurrentEstablishmentInfoResponse
  1109. .jsonBody,
  1110. r'''$[:].instagram''',
  1111. ).toString());
  1112. },
  1113. child: Text(
  1114. getJsonField(
  1115. horecagelegenheidCurrentEstablishmentInfoResponse
  1116. .jsonBody,
  1117. r'''$[:].instagram''',
  1118. ).toString(),
  1119. style: FlutterFlowTheme.of(context)
  1120. .bodyMedium
  1121. .override(
  1122. font: GoogleFonts.inter(
  1123. fontWeight:
  1124. FlutterFlowTheme.of(context)
  1125. .bodyMedium
  1126. .fontWeight,
  1127. fontStyle:
  1128. FlutterFlowTheme.of(context)
  1129. .bodyMedium
  1130. .fontStyle,
  1131. ),
  1132. letterSpacing: 0.0,
  1133. fontWeight:
  1134. FlutterFlowTheme.of(context)
  1135. .bodyMedium
  1136. .fontWeight,
  1137. fontStyle:
  1138. FlutterFlowTheme.of(context)
  1139. .bodyMedium
  1140. .fontStyle,
  1141. ),
  1142. ),
  1143. ),
  1144. ],
  1145. ),
  1146. Column(
  1147. mainAxisSize: MainAxisSize.max,
  1148. children: [
  1149. Text(
  1150. getJsonField(
  1151. horecagelegenheidCurrentEstablishmentInfoResponse
  1152. .jsonBody,
  1153. r'''$[:].afhaalopties''',
  1154. ).toString(),
  1155. style: FlutterFlowTheme.of(context)
  1156. .bodyMedium
  1157. .override(
  1158. font: GoogleFonts.inter(
  1159. fontWeight:
  1160. FlutterFlowTheme.of(context)
  1161. .bodyMedium
  1162. .fontWeight,
  1163. fontStyle:
  1164. FlutterFlowTheme.of(context)
  1165. .bodyMedium
  1166. .fontStyle,
  1167. ),
  1168. letterSpacing: 0.0,
  1169. fontWeight:
  1170. FlutterFlowTheme.of(context)
  1171. .bodyMedium
  1172. .fontWeight,
  1173. fontStyle:
  1174. FlutterFlowTheme.of(context)
  1175. .bodyMedium
  1176. .fontStyle,
  1177. ),
  1178. ),
  1179. if (EstablishmentInfoCall
  1180. .establshmentBestellink(
  1181. horecagelegenheidCurrentEstablishmentInfoResponse
  1182. .jsonBody,
  1183. ) !=
  1184. null &&
  1185. EstablishmentInfoCall
  1186. .establshmentBestellink(
  1187. horecagelegenheidCurrentEstablishmentInfoResponse
  1188. .jsonBody,
  1189. ) !=
  1190. '')
  1191. InkWell(
  1192. splashColor: Colors.transparent,
  1193. focusColor: Colors.transparent,
  1194. hoverColor: Colors.transparent,
  1195. highlightColor: Colors.transparent,
  1196. onTap: () async {
  1197. await launchURL(getJsonField(
  1198. horecagelegenheidCurrentEstablishmentInfoResponse
  1199. .jsonBody,
  1200. r'''$[:].bestellink''',
  1201. ).toString());
  1202. },
  1203. child: Text(
  1204. getJsonField(
  1205. horecagelegenheidCurrentEstablishmentInfoResponse
  1206. .jsonBody,
  1207. r'''$[:].bestellink''',
  1208. ).toString(),
  1209. style: FlutterFlowTheme.of(context)
  1210. .bodyMedium
  1211. .override(
  1212. font: GoogleFonts.inter(
  1213. fontWeight:
  1214. FlutterFlowTheme.of(context)
  1215. .bodyMedium
  1216. .fontWeight,
  1217. fontStyle:
  1218. FlutterFlowTheme.of(context)
  1219. .bodyMedium
  1220. .fontStyle,
  1221. ),
  1222. letterSpacing: 0.0,
  1223. fontWeight:
  1224. FlutterFlowTheme.of(context)
  1225. .bodyMedium
  1226. .fontWeight,
  1227. fontStyle:
  1228. FlutterFlowTheme.of(context)
  1229. .bodyMedium
  1230. .fontStyle,
  1231. ),
  1232. ),
  1233. ),
  1234. if (EstablishmentInfoCall
  1235. .establishmentbezorgtijden(
  1236. horecagelegenheidCurrentEstablishmentInfoResponse
  1237. .jsonBody,
  1238. ) !=
  1239. null &&
  1240. EstablishmentInfoCall
  1241. .establishmentbezorgtijden(
  1242. horecagelegenheidCurrentEstablishmentInfoResponse
  1243. .jsonBody,
  1244. ) !=
  1245. '')
  1246. Text(
  1247. getJsonField(
  1248. horecagelegenheidCurrentEstablishmentInfoResponse
  1249. .jsonBody,
  1250. r'''$[:].bezorgtijden''',
  1251. ).toString(),
  1252. style: FlutterFlowTheme.of(context)
  1253. .bodyMedium
  1254. .override(
  1255. font: GoogleFonts.inter(
  1256. fontWeight:
  1257. FlutterFlowTheme.of(context)
  1258. .bodyMedium
  1259. .fontWeight,
  1260. fontStyle:
  1261. FlutterFlowTheme.of(context)
  1262. .bodyMedium
  1263. .fontStyle,
  1264. ),
  1265. letterSpacing: 0.0,
  1266. fontWeight:
  1267. FlutterFlowTheme.of(context)
  1268. .bodyMedium
  1269. .fontWeight,
  1270. fontStyle:
  1271. FlutterFlowTheme.of(context)
  1272. .bodyMedium
  1273. .fontStyle,
  1274. ),
  1275. ),
  1276. if (EstablishmentInfoCall
  1277. .establishmentBezorgkosten(
  1278. horecagelegenheidCurrentEstablishmentInfoResponse
  1279. .jsonBody,
  1280. ) !=
  1281. null &&
  1282. EstablishmentInfoCall
  1283. .establishmentBezorgkosten(
  1284. horecagelegenheidCurrentEstablishmentInfoResponse
  1285. .jsonBody,
  1286. ) !=
  1287. '')
  1288. Text(
  1289. getJsonField(
  1290. horecagelegenheidCurrentEstablishmentInfoResponse
  1291. .jsonBody,
  1292. r'''$[:].bezorgkosten''',
  1293. ).toString(),
  1294. style: FlutterFlowTheme.of(context)
  1295. .bodyMedium
  1296. .override(
  1297. font: GoogleFonts.inter(
  1298. fontWeight:
  1299. FlutterFlowTheme.of(context)
  1300. .bodyMedium
  1301. .fontWeight,
  1302. fontStyle:
  1303. FlutterFlowTheme.of(context)
  1304. .bodyMedium
  1305. .fontStyle,
  1306. ),
  1307. letterSpacing: 0.0,
  1308. fontWeight:
  1309. FlutterFlowTheme.of(context)
  1310. .bodyMedium
  1311. .fontWeight,
  1312. fontStyle:
  1313. FlutterFlowTheme.of(context)
  1314. .bodyMedium
  1315. .fontStyle,
  1316. ),
  1317. ),
  1318. if (EstablishmentInfoCall
  1319. .establishmentMinimaleorder(
  1320. horecagelegenheidCurrentEstablishmentInfoResponse
  1321. .jsonBody,
  1322. ) !=
  1323. null &&
  1324. EstablishmentInfoCall
  1325. .establishmentMinimaleorder(
  1326. horecagelegenheidCurrentEstablishmentInfoResponse
  1327. .jsonBody,
  1328. ) !=
  1329. '')
  1330. Text(
  1331. getJsonField(
  1332. horecagelegenheidCurrentEstablishmentInfoResponse
  1333. .jsonBody,
  1334. r'''$[:].minimaleorder''',
  1335. ).toString(),
  1336. style: FlutterFlowTheme.of(context)
  1337. .bodyMedium
  1338. .override(
  1339. font: GoogleFonts.inter(
  1340. fontWeight:
  1341. FlutterFlowTheme.of(context)
  1342. .bodyMedium
  1343. .fontWeight,
  1344. fontStyle:
  1345. FlutterFlowTheme.of(context)
  1346. .bodyMedium
  1347. .fontStyle,
  1348. ),
  1349. letterSpacing: 0.0,
  1350. fontWeight:
  1351. FlutterFlowTheme.of(context)
  1352. .bodyMedium
  1353. .fontWeight,
  1354. fontStyle:
  1355. FlutterFlowTheme.of(context)
  1356. .bodyMedium
  1357. .fontStyle,
  1358. ),
  1359. ),
  1360. if (getJsonField(
  1361. horecagelegenheidCurrentEstablishmentInfoResponse
  1362. .jsonBody,
  1363. r'''$[:].thuisbezorgtbetaalopties''',
  1364. ) !=
  1365. null)
  1366. Text(
  1367. getJsonField(
  1368. horecagelegenheidCurrentEstablishmentInfoResponse
  1369. .jsonBody,
  1370. r'''$[:].thuisbezorgtbetaalopties''',
  1371. ).toString(),
  1372. style: FlutterFlowTheme.of(context)
  1373. .bodyMedium
  1374. .override(
  1375. font: GoogleFonts.inter(
  1376. fontWeight:
  1377. FlutterFlowTheme.of(context)
  1378. .bodyMedium
  1379. .fontWeight,
  1380. fontStyle:
  1381. FlutterFlowTheme.of(context)
  1382. .bodyMedium
  1383. .fontStyle,
  1384. ),
  1385. letterSpacing: 0.0,
  1386. fontWeight:
  1387. FlutterFlowTheme.of(context)
  1388. .bodyMedium
  1389. .fontWeight,
  1390. fontStyle:
  1391. FlutterFlowTheme.of(context)
  1392. .bodyMedium
  1393. .fontStyle,
  1394. ),
  1395. ),
  1396. Text(
  1397. getJsonField(
  1398. horecagelegenheidCurrentEstablishmentInfoResponse
  1399. .jsonBody,
  1400. r'''$[:].bezorgdin''',
  1401. ).toString(),
  1402. style: FlutterFlowTheme.of(context)
  1403. .bodyMedium
  1404. .override(
  1405. font: GoogleFonts.inter(
  1406. fontWeight:
  1407. FlutterFlowTheme.of(context)
  1408. .bodyMedium
  1409. .fontWeight,
  1410. fontStyle:
  1411. FlutterFlowTheme.of(context)
  1412. .bodyMedium
  1413. .fontStyle,
  1414. ),
  1415. letterSpacing: 0.0,
  1416. fontWeight:
  1417. FlutterFlowTheme.of(context)
  1418. .bodyMedium
  1419. .fontWeight,
  1420. fontStyle:
  1421. FlutterFlowTheme.of(context)
  1422. .bodyMedium
  1423. .fontStyle,
  1424. ),
  1425. ),
  1426. ],
  1427. ),
  1428. ],
  1429. ),
  1430. ),
  1431. ],
  1432. ),
  1433. ),
  1434. Expanded(
  1435. child: Container(
  1436. width: 462.72,
  1437. height: 100.0,
  1438. decoration: BoxDecoration(
  1439. color: FlutterFlowTheme.of(context).secondaryBackground,
  1440. ),
  1441. child: Column(
  1442. mainAxisSize: MainAxisSize.max,
  1443. children: [
  1444. Expanded(
  1445. child: wrapWithModel(
  1446. model: _model
  1447. .horecagelegenheidEventTabelComponentCopyModel,
  1448. updateCallback: () => safeSetState(() {}),
  1449. child: Builder(builder: (_) {
  1450. return DebugFlutterFlowModelContext(
  1451. rootModel: _model.rootModel,
  1452. child:
  1453. HorecagelegenheidEventTabelComponentCopyWidget(
  1454. nid: widget!.nid!,
  1455. horecaid: widget!.nid,
  1456. ),
  1457. );
  1458. }),
  1459. ),
  1460. ),
  1461. ],
  1462. ),
  1463. ),
  1464. ),
  1465. FFButtonWidget(
  1466. onPressed: () async {
  1467. context.pushNamed(
  1468. HorecagelegenhedenOverzichtWidget.routeName,
  1469. queryParameters: {
  1470. 'plaats': serializeParam(
  1471. FFAppState().gemeenteSelectId,
  1472. ParamType.String,
  1473. ),
  1474. }.withoutNulls,
  1475. );
  1476. },
  1477. text: FFLocalizations.of(context).getText(
  1478. 'ukbd1ac9' /* Alle horecagelegenheden */,
  1479. ),
  1480. options: FFButtonOptions(
  1481. height: 40.0,
  1482. padding:
  1483. EdgeInsetsDirectional.fromSTEB(16.0, 0.0, 16.0, 0.0),
  1484. iconPadding:
  1485. EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
  1486. color: FlutterFlowTheme.of(context).primary,
  1487. textStyle:
  1488. FlutterFlowTheme.of(context).titleSmall.override(
  1489. font: GoogleFonts.interTight(
  1490. fontWeight: FlutterFlowTheme.of(context)
  1491. .titleSmall
  1492. .fontWeight,
  1493. fontStyle: FlutterFlowTheme.of(context)
  1494. .titleSmall
  1495. .fontStyle,
  1496. ),
  1497. color: Colors.white,
  1498. letterSpacing: 0.0,
  1499. fontWeight: FlutterFlowTheme.of(context)
  1500. .titleSmall
  1501. .fontWeight,
  1502. fontStyle: FlutterFlowTheme.of(context)
  1503. .titleSmall
  1504. .fontStyle,
  1505. ),
  1506. elevation: 0.0,
  1507. borderRadius: BorderRadius.circular(8.0),
  1508. ),
  1509. ),
  1510. ],
  1511. ),
  1512. ),
  1513. ),
  1514. );
  1515. },
  1516. );
  1517. }
  1518. }