horecagelegenheid_current_widget.dart 82 KB

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