horecagelegenheid_current_widget.dart 83 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536
  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. if (getJsonField(
  382. horecagelegenheidCurrentEstablishmentInfoResponse
  383. .jsonBody,
  384. r'''$[:].titel''',
  385. ) !=
  386. null)
  387. Text(
  388. valueOrDefault<String>(
  389. EstablishmentInfoCall.establshmentTitel(
  390. horecagelegenheidCurrentEstablishmentInfoResponse
  391. .jsonBody,
  392. ),
  393. 'title',
  394. ),
  395. style:
  396. FlutterFlowTheme.of(context).headlineMedium.override(
  397. font: GoogleFonts.interTight(
  398. fontWeight: FlutterFlowTheme.of(context)
  399. .headlineMedium
  400. .fontWeight,
  401. fontStyle: FlutterFlowTheme.of(context)
  402. .headlineMedium
  403. .fontStyle,
  404. ),
  405. letterSpacing: 0.0,
  406. fontWeight: FlutterFlowTheme.of(context)
  407. .headlineMedium
  408. .fontWeight,
  409. fontStyle: FlutterFlowTheme.of(context)
  410. .headlineMedium
  411. .fontStyle,
  412. shadows: [
  413. Shadow(
  414. color: FlutterFlowTheme.of(context).secondaryText,
  415. offset: Offset(2.0, 2.0),
  416. blurRadius: 2.0,
  417. )
  418. ],
  419. ),
  420. ),
  421. Expanded(
  422. child: Column(
  423. children: [
  424. Align(
  425. alignment: Alignment(0.0, 0),
  426. child: TabBar(
  427. labelColor:
  428. FlutterFlowTheme.of(context).primaryText,
  429. unselectedLabelColor:
  430. FlutterFlowTheme.of(context).secondaryText,
  431. labelStyle: FlutterFlowTheme.of(context)
  432. .titleMedium
  433. .override(
  434. font: GoogleFonts.interTight(
  435. fontWeight: FlutterFlowTheme.of(context)
  436. .titleMedium
  437. .fontWeight,
  438. fontStyle: FlutterFlowTheme.of(context)
  439. .titleMedium
  440. .fontStyle,
  441. ),
  442. letterSpacing: 0.0,
  443. fontWeight: FlutterFlowTheme.of(context)
  444. .titleMedium
  445. .fontWeight,
  446. fontStyle: FlutterFlowTheme.of(context)
  447. .titleMedium
  448. .fontStyle,
  449. ),
  450. unselectedLabelStyle: FlutterFlowTheme.of(context)
  451. .titleMedium
  452. .override(
  453. font: GoogleFonts.interTight(
  454. fontWeight: FlutterFlowTheme.of(context)
  455. .titleMedium
  456. .fontWeight,
  457. fontStyle: FlutterFlowTheme.of(context)
  458. .titleMedium
  459. .fontStyle,
  460. ),
  461. letterSpacing: 0.0,
  462. fontWeight: FlutterFlowTheme.of(context)
  463. .titleMedium
  464. .fontWeight,
  465. fontStyle: FlutterFlowTheme.of(context)
  466. .titleMedium
  467. .fontStyle,
  468. ),
  469. indicatorColor:
  470. FlutterFlowTheme.of(context).primary,
  471. tabs: [
  472. Tab(
  473. text: FFLocalizations.of(context).getText(
  474. 'pedeshok' /* Info */,
  475. ),
  476. ),
  477. Tab(
  478. text: FFLocalizations.of(context).getText(
  479. 'q5nwrlms' /* Links */,
  480. ),
  481. ),
  482. Tab(
  483. text: FFLocalizations.of(context).getText(
  484. 's1b6yp7v' /* Bezorgen */,
  485. ),
  486. ),
  487. ],
  488. controller: _model.tabBarController,
  489. onTap: (i) async {
  490. [() async {}, () async {}, () async {}][i]();
  491. },
  492. ),
  493. ),
  494. Expanded(
  495. child: TabBarView(
  496. controller: _model.tabBarController,
  497. children: [
  498. Row(
  499. mainAxisSize: MainAxisSize.max,
  500. children: [
  501. Column(
  502. mainAxisSize: MainAxisSize.max,
  503. children: [
  504. if (getJsonField(
  505. horecagelegenheidCurrentEstablishmentInfoResponse
  506. .jsonBody,
  507. r'''$[:].logo''',
  508. ) !=
  509. null)
  510. ClipRRect(
  511. borderRadius:
  512. BorderRadius.circular(8.0),
  513. child: CachedNetworkImage(
  514. fadeInDuration:
  515. Duration(milliseconds: 500),
  516. fadeOutDuration:
  517. Duration(milliseconds: 500),
  518. imageUrl: valueOrDefault<String>(
  519. EstablishmentInfoCall
  520. .establshmentLogo(
  521. horecagelegenheidCurrentEstablishmentInfoResponse
  522. .jsonBody,
  523. ),
  524. 'logo',
  525. ),
  526. width: 200.0,
  527. height: 200.0,
  528. fit: BoxFit.cover,
  529. ),
  530. ),
  531. if (EstablishmentInfoCall
  532. .establishmentAdres(
  533. horecagelegenheidCurrentEstablishmentInfoResponse
  534. .jsonBody,
  535. ) !=
  536. null &&
  537. EstablishmentInfoCall
  538. .establishmentAdres(
  539. horecagelegenheidCurrentEstablishmentInfoResponse
  540. .jsonBody,
  541. ) !=
  542. '')
  543. Text(
  544. getJsonField(
  545. horecagelegenheidCurrentEstablishmentInfoResponse
  546. .jsonBody,
  547. r'''$[:].adres''',
  548. ).toString(),
  549. style: FlutterFlowTheme.of(context)
  550. .bodyMedium
  551. .override(
  552. font: GoogleFonts.inter(
  553. fontWeight:
  554. FlutterFlowTheme.of(
  555. context)
  556. .bodyMedium
  557. .fontWeight,
  558. fontStyle:
  559. FlutterFlowTheme.of(
  560. context)
  561. .bodyMedium
  562. .fontStyle,
  563. ),
  564. letterSpacing: 0.0,
  565. fontWeight:
  566. FlutterFlowTheme.of(context)
  567. .bodyMedium
  568. .fontWeight,
  569. fontStyle:
  570. FlutterFlowTheme.of(context)
  571. .bodyMedium
  572. .fontStyle,
  573. ),
  574. ),
  575. if (EstablishmentInfoCall
  576. .establishmentPlaats(
  577. horecagelegenheidCurrentEstablishmentInfoResponse
  578. .jsonBody,
  579. ) !=
  580. null &&
  581. EstablishmentInfoCall
  582. .establishmentPlaats(
  583. horecagelegenheidCurrentEstablishmentInfoResponse
  584. .jsonBody,
  585. ) !=
  586. '')
  587. Text(
  588. getJsonField(
  589. horecagelegenheidCurrentEstablishmentInfoResponse
  590. .jsonBody,
  591. r'''$[:].plaats''',
  592. ).toString(),
  593. style: FlutterFlowTheme.of(context)
  594. .bodyMedium
  595. .override(
  596. font: GoogleFonts.inter(
  597. fontWeight:
  598. FlutterFlowTheme.of(
  599. context)
  600. .bodyMedium
  601. .fontWeight,
  602. fontStyle:
  603. FlutterFlowTheme.of(
  604. context)
  605. .bodyMedium
  606. .fontStyle,
  607. ),
  608. letterSpacing: 0.0,
  609. fontWeight:
  610. FlutterFlowTheme.of(context)
  611. .bodyMedium
  612. .fontWeight,
  613. fontStyle:
  614. FlutterFlowTheme.of(context)
  615. .bodyMedium
  616. .fontStyle,
  617. ),
  618. ),
  619. if (EstablishmentInfoCall
  620. .establishmentTelefoonnummer(
  621. horecagelegenheidCurrentEstablishmentInfoResponse
  622. .jsonBody,
  623. ) !=
  624. null &&
  625. EstablishmentInfoCall
  626. .establishmentTelefoonnummer(
  627. horecagelegenheidCurrentEstablishmentInfoResponse
  628. .jsonBody,
  629. ) !=
  630. '')
  631. Text(
  632. getJsonField(
  633. horecagelegenheidCurrentEstablishmentInfoResponse
  634. .jsonBody,
  635. r'''$[:].telefoonnummer''',
  636. ).toString(),
  637. style: FlutterFlowTheme.of(context)
  638. .bodyMedium
  639. .override(
  640. font: GoogleFonts.inter(
  641. fontWeight:
  642. FlutterFlowTheme.of(
  643. context)
  644. .bodyMedium
  645. .fontWeight,
  646. fontStyle:
  647. FlutterFlowTheme.of(
  648. context)
  649. .bodyMedium
  650. .fontStyle,
  651. ),
  652. letterSpacing: 0.0,
  653. fontWeight:
  654. FlutterFlowTheme.of(context)
  655. .bodyMedium
  656. .fontWeight,
  657. fontStyle:
  658. FlutterFlowTheme.of(context)
  659. .bodyMedium
  660. .fontStyle,
  661. ),
  662. ),
  663. if (EstablishmentInfoCall
  664. .establishmentEmail(
  665. horecagelegenheidCurrentEstablishmentInfoResponse
  666. .jsonBody,
  667. ) !=
  668. null &&
  669. EstablishmentInfoCall
  670. .establishmentEmail(
  671. horecagelegenheidCurrentEstablishmentInfoResponse
  672. .jsonBody,
  673. ) !=
  674. '')
  675. Text(
  676. getJsonField(
  677. horecagelegenheidCurrentEstablishmentInfoResponse
  678. .jsonBody,
  679. r'''$[:].email''',
  680. ).toString(),
  681. style: FlutterFlowTheme.of(context)
  682. .bodyMedium
  683. .override(
  684. font: GoogleFonts.inter(
  685. fontWeight:
  686. FlutterFlowTheme.of(
  687. context)
  688. .bodyMedium
  689. .fontWeight,
  690. fontStyle:
  691. FlutterFlowTheme.of(
  692. context)
  693. .bodyMedium
  694. .fontStyle,
  695. ),
  696. letterSpacing: 0.0,
  697. fontWeight:
  698. FlutterFlowTheme.of(context)
  699. .bodyMedium
  700. .fontWeight,
  701. fontStyle:
  702. FlutterFlowTheme.of(context)
  703. .bodyMedium
  704. .fontStyle,
  705. ),
  706. ),
  707. if (EstablishmentInfoCall.establshmentKvk(
  708. horecagelegenheidCurrentEstablishmentInfoResponse
  709. .jsonBody,
  710. ) !=
  711. null &&
  712. EstablishmentInfoCall.establshmentKvk(
  713. horecagelegenheidCurrentEstablishmentInfoResponse
  714. .jsonBody,
  715. ) !=
  716. '')
  717. Text(
  718. getJsonField(
  719. horecagelegenheidCurrentEstablishmentInfoResponse
  720. .jsonBody,
  721. r'''$[:].kvk''',
  722. ).toString(),
  723. style: FlutterFlowTheme.of(context)
  724. .bodyMedium
  725. .override(
  726. font: GoogleFonts.inter(
  727. fontWeight:
  728. FlutterFlowTheme.of(
  729. context)
  730. .bodyMedium
  731. .fontWeight,
  732. fontStyle:
  733. FlutterFlowTheme.of(
  734. context)
  735. .bodyMedium
  736. .fontStyle,
  737. ),
  738. letterSpacing: 0.0,
  739. fontWeight:
  740. FlutterFlowTheme.of(context)
  741. .bodyMedium
  742. .fontWeight,
  743. fontStyle:
  744. FlutterFlowTheme.of(context)
  745. .bodyMedium
  746. .fontStyle,
  747. ),
  748. ),
  749. Builder(
  750. builder: (context) {
  751. final cryptocoins =
  752. EstablishmentInfoCall
  753. .establishmentCryptocoins(
  754. horecagelegenheidCurrentEstablishmentInfoResponse
  755. .jsonBody,
  756. )?.toList() ??
  757. [];
  758. _model.debugGeneratorVariables[
  759. 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
  760. debugSerializeParam(
  761. cryptocoins.take(100),
  762. ParamType.String,
  763. isList: true,
  764. link:
  765. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
  766. name: 'String',
  767. nullable: false,
  768. );
  769. debugLogWidgetClass(_model);
  770. return Wrap(
  771. spacing: 0.0,
  772. runSpacing: 0.0,
  773. alignment: WrapAlignment.start,
  774. crossAxisAlignment:
  775. WrapCrossAlignment.start,
  776. direction: Axis.horizontal,
  777. runAlignment: WrapAlignment.start,
  778. verticalDirection:
  779. VerticalDirection.down,
  780. clipBehavior: Clip.none,
  781. children: List.generate(
  782. cryptocoins.length,
  783. (cryptocoinsIndex) {
  784. final cryptocoinsItem =
  785. cryptocoins[cryptocoinsIndex];
  786. return Text(
  787. cryptocoinsItem,
  788. style:
  789. FlutterFlowTheme.of(context)
  790. .bodyMedium
  791. .override(
  792. font:
  793. GoogleFonts.inter(
  794. fontWeight:
  795. FlutterFlowTheme.of(
  796. context)
  797. .bodyMedium
  798. .fontWeight,
  799. fontStyle:
  800. FlutterFlowTheme.of(
  801. context)
  802. .bodyMedium
  803. .fontStyle,
  804. ),
  805. letterSpacing: 0.0,
  806. fontWeight:
  807. FlutterFlowTheme.of(
  808. context)
  809. .bodyMedium
  810. .fontWeight,
  811. fontStyle:
  812. FlutterFlowTheme.of(
  813. context)
  814. .bodyMedium
  815. .fontStyle,
  816. ),
  817. );
  818. }),
  819. );
  820. },
  821. ),
  822. ],
  823. ),
  824. Column(
  825. mainAxisSize: MainAxisSize.max,
  826. children: [
  827. if (getJsonField(
  828. horecagelegenheidCurrentEstablishmentInfoResponse
  829. .jsonBody,
  830. r'''$[:].inhoud''',
  831. ) !=
  832. null)
  833. Container(
  834. width:
  835. MediaQuery.sizeOf(context).width *
  836. 0.7,
  837. height: MediaQuery.sizeOf(context)
  838. .height *
  839. 0.2,
  840. child: custom_widgets.FromHTML(
  841. width: MediaQuery.sizeOf(context)
  842. .width *
  843. 0.7,
  844. height: MediaQuery.sizeOf(context)
  845. .height *
  846. 0.2,
  847. HTMLParameter:
  848. valueOrDefault<String>(
  849. EstablishmentInfoCall
  850. .establshmentInhoud(
  851. horecagelegenheidCurrentEstablishmentInfoResponse
  852. .jsonBody,
  853. ),
  854. 'content',
  855. ),
  856. ),
  857. ),
  858. ],
  859. ),
  860. ],
  861. ),
  862. Column(
  863. mainAxisSize: MainAxisSize.max,
  864. children: [
  865. if (EstablishmentInfoCall
  866. .establishmentWebsite(
  867. horecagelegenheidCurrentEstablishmentInfoResponse
  868. .jsonBody,
  869. ) !=
  870. null &&
  871. EstablishmentInfoCall
  872. .establishmentWebsite(
  873. horecagelegenheidCurrentEstablishmentInfoResponse
  874. .jsonBody,
  875. ) !=
  876. '')
  877. InkWell(
  878. splashColor: Colors.transparent,
  879. focusColor: Colors.transparent,
  880. hoverColor: Colors.transparent,
  881. highlightColor: Colors.transparent,
  882. onTap: () async {
  883. await launchURL(getJsonField(
  884. horecagelegenheidCurrentEstablishmentInfoResponse
  885. .jsonBody,
  886. r'''$[:].website''',
  887. ).toString());
  888. },
  889. child: Text(
  890. getJsonField(
  891. horecagelegenheidCurrentEstablishmentInfoResponse
  892. .jsonBody,
  893. r'''$[:].website''',
  894. ).toString(),
  895. style: FlutterFlowTheme.of(context)
  896. .bodyMedium
  897. .override(
  898. font: GoogleFonts.inter(
  899. fontWeight:
  900. FlutterFlowTheme.of(context)
  901. .bodyMedium
  902. .fontWeight,
  903. fontStyle:
  904. FlutterFlowTheme.of(context)
  905. .bodyMedium
  906. .fontStyle,
  907. ),
  908. letterSpacing: 0.0,
  909. fontWeight:
  910. FlutterFlowTheme.of(context)
  911. .bodyMedium
  912. .fontWeight,
  913. fontStyle:
  914. FlutterFlowTheme.of(context)
  915. .bodyMedium
  916. .fontStyle,
  917. ),
  918. ),
  919. ),
  920. if (EstablishmentInfoCall
  921. .establishmentMenukaart(
  922. horecagelegenheidCurrentEstablishmentInfoResponse
  923. .jsonBody,
  924. ) !=
  925. null &&
  926. EstablishmentInfoCall
  927. .establishmentMenukaart(
  928. horecagelegenheidCurrentEstablishmentInfoResponse
  929. .jsonBody,
  930. ) !=
  931. '')
  932. InkWell(
  933. splashColor: Colors.transparent,
  934. focusColor: Colors.transparent,
  935. hoverColor: Colors.transparent,
  936. highlightColor: Colors.transparent,
  937. onTap: () async {
  938. await launchURL(getJsonField(
  939. horecagelegenheidCurrentEstablishmentInfoResponse
  940. .jsonBody,
  941. r'''$[:].menukaart''',
  942. ).toString());
  943. },
  944. child: Text(
  945. getJsonField(
  946. horecagelegenheidCurrentEstablishmentInfoResponse
  947. .jsonBody,
  948. r'''$[:].menukaart''',
  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. ),
  975. if (EstablishmentInfoCall
  976. .establishmentFacebook(
  977. horecagelegenheidCurrentEstablishmentInfoResponse
  978. .jsonBody,
  979. ) !=
  980. null &&
  981. EstablishmentInfoCall
  982. .establishmentFacebook(
  983. horecagelegenheidCurrentEstablishmentInfoResponse
  984. .jsonBody,
  985. ) !=
  986. '')
  987. InkWell(
  988. splashColor: Colors.transparent,
  989. focusColor: Colors.transparent,
  990. hoverColor: Colors.transparent,
  991. highlightColor: Colors.transparent,
  992. onTap: () async {
  993. await launchURL(getJsonField(
  994. horecagelegenheidCurrentEstablishmentInfoResponse
  995. .jsonBody,
  996. r'''$[:].facebook''',
  997. ).toString());
  998. },
  999. child: Text(
  1000. getJsonField(
  1001. horecagelegenheidCurrentEstablishmentInfoResponse
  1002. .jsonBody,
  1003. r'''$[:].facebook''',
  1004. ).toString(),
  1005. style: FlutterFlowTheme.of(context)
  1006. .bodyMedium
  1007. .override(
  1008. font: GoogleFonts.inter(
  1009. fontWeight:
  1010. FlutterFlowTheme.of(context)
  1011. .bodyMedium
  1012. .fontWeight,
  1013. fontStyle:
  1014. FlutterFlowTheme.of(context)
  1015. .bodyMedium
  1016. .fontStyle,
  1017. ),
  1018. letterSpacing: 0.0,
  1019. fontWeight:
  1020. FlutterFlowTheme.of(context)
  1021. .bodyMedium
  1022. .fontWeight,
  1023. fontStyle:
  1024. FlutterFlowTheme.of(context)
  1025. .bodyMedium
  1026. .fontStyle,
  1027. ),
  1028. ),
  1029. ),
  1030. if (EstablishmentInfoCall
  1031. .establishmentTwitter(
  1032. horecagelegenheidCurrentEstablishmentInfoResponse
  1033. .jsonBody,
  1034. ) !=
  1035. null &&
  1036. EstablishmentInfoCall
  1037. .establishmentTwitter(
  1038. horecagelegenheidCurrentEstablishmentInfoResponse
  1039. .jsonBody,
  1040. ) !=
  1041. '')
  1042. InkWell(
  1043. splashColor: Colors.transparent,
  1044. focusColor: Colors.transparent,
  1045. hoverColor: Colors.transparent,
  1046. highlightColor: Colors.transparent,
  1047. onTap: () async {
  1048. await launchURL(getJsonField(
  1049. horecagelegenheidCurrentEstablishmentInfoResponse
  1050. .jsonBody,
  1051. r'''$[:].twitter''',
  1052. ).toString());
  1053. },
  1054. child: Text(
  1055. getJsonField(
  1056. horecagelegenheidCurrentEstablishmentInfoResponse
  1057. .jsonBody,
  1058. r'''$[:].twitter''',
  1059. ).toString(),
  1060. style: FlutterFlowTheme.of(context)
  1061. .bodyMedium
  1062. .override(
  1063. font: GoogleFonts.inter(
  1064. fontWeight:
  1065. FlutterFlowTheme.of(context)
  1066. .bodyMedium
  1067. .fontWeight,
  1068. fontStyle:
  1069. FlutterFlowTheme.of(context)
  1070. .bodyMedium
  1071. .fontStyle,
  1072. ),
  1073. letterSpacing: 0.0,
  1074. fontWeight:
  1075. FlutterFlowTheme.of(context)
  1076. .bodyMedium
  1077. .fontWeight,
  1078. fontStyle:
  1079. FlutterFlowTheme.of(context)
  1080. .bodyMedium
  1081. .fontStyle,
  1082. ),
  1083. ),
  1084. ),
  1085. if (EstablishmentInfoCall
  1086. .establishmentInstagram(
  1087. horecagelegenheidCurrentEstablishmentInfoResponse
  1088. .jsonBody,
  1089. ) !=
  1090. null &&
  1091. EstablishmentInfoCall
  1092. .establishmentInstagram(
  1093. horecagelegenheidCurrentEstablishmentInfoResponse
  1094. .jsonBody,
  1095. ) !=
  1096. '')
  1097. InkWell(
  1098. splashColor: Colors.transparent,
  1099. focusColor: Colors.transparent,
  1100. hoverColor: Colors.transparent,
  1101. highlightColor: Colors.transparent,
  1102. onTap: () async {
  1103. await launchURL(getJsonField(
  1104. horecagelegenheidCurrentEstablishmentInfoResponse
  1105. .jsonBody,
  1106. r'''$[:].instagram''',
  1107. ).toString());
  1108. },
  1109. child: Text(
  1110. getJsonField(
  1111. horecagelegenheidCurrentEstablishmentInfoResponse
  1112. .jsonBody,
  1113. r'''$[:].instagram''',
  1114. ).toString(),
  1115. style: FlutterFlowTheme.of(context)
  1116. .bodyMedium
  1117. .override(
  1118. font: GoogleFonts.inter(
  1119. fontWeight:
  1120. FlutterFlowTheme.of(context)
  1121. .bodyMedium
  1122. .fontWeight,
  1123. fontStyle:
  1124. FlutterFlowTheme.of(context)
  1125. .bodyMedium
  1126. .fontStyle,
  1127. ),
  1128. letterSpacing: 0.0,
  1129. fontWeight:
  1130. FlutterFlowTheme.of(context)
  1131. .bodyMedium
  1132. .fontWeight,
  1133. fontStyle:
  1134. FlutterFlowTheme.of(context)
  1135. .bodyMedium
  1136. .fontStyle,
  1137. ),
  1138. ),
  1139. ),
  1140. ],
  1141. ),
  1142. Column(
  1143. mainAxisSize: MainAxisSize.max,
  1144. children: [
  1145. Text(
  1146. getJsonField(
  1147. horecagelegenheidCurrentEstablishmentInfoResponse
  1148. .jsonBody,
  1149. r'''$[:].afhaalopties''',
  1150. ).toString(),
  1151. style: FlutterFlowTheme.of(context)
  1152. .bodyMedium
  1153. .override(
  1154. font: GoogleFonts.inter(
  1155. fontWeight:
  1156. FlutterFlowTheme.of(context)
  1157. .bodyMedium
  1158. .fontWeight,
  1159. fontStyle:
  1160. FlutterFlowTheme.of(context)
  1161. .bodyMedium
  1162. .fontStyle,
  1163. ),
  1164. letterSpacing: 0.0,
  1165. fontWeight:
  1166. FlutterFlowTheme.of(context)
  1167. .bodyMedium
  1168. .fontWeight,
  1169. fontStyle:
  1170. FlutterFlowTheme.of(context)
  1171. .bodyMedium
  1172. .fontStyle,
  1173. ),
  1174. ),
  1175. if (EstablishmentInfoCall
  1176. .establshmentBestellink(
  1177. horecagelegenheidCurrentEstablishmentInfoResponse
  1178. .jsonBody,
  1179. ) !=
  1180. null &&
  1181. EstablishmentInfoCall
  1182. .establshmentBestellink(
  1183. horecagelegenheidCurrentEstablishmentInfoResponse
  1184. .jsonBody,
  1185. ) !=
  1186. '')
  1187. InkWell(
  1188. splashColor: Colors.transparent,
  1189. focusColor: Colors.transparent,
  1190. hoverColor: Colors.transparent,
  1191. highlightColor: Colors.transparent,
  1192. onTap: () async {
  1193. await launchURL(getJsonField(
  1194. horecagelegenheidCurrentEstablishmentInfoResponse
  1195. .jsonBody,
  1196. r'''$[:].bestellink''',
  1197. ).toString());
  1198. },
  1199. child: Text(
  1200. getJsonField(
  1201. horecagelegenheidCurrentEstablishmentInfoResponse
  1202. .jsonBody,
  1203. r'''$[:].bestellink''',
  1204. ).toString(),
  1205. style: FlutterFlowTheme.of(context)
  1206. .bodyMedium
  1207. .override(
  1208. font: GoogleFonts.inter(
  1209. fontWeight:
  1210. FlutterFlowTheme.of(context)
  1211. .bodyMedium
  1212. .fontWeight,
  1213. fontStyle:
  1214. FlutterFlowTheme.of(context)
  1215. .bodyMedium
  1216. .fontStyle,
  1217. ),
  1218. letterSpacing: 0.0,
  1219. fontWeight:
  1220. FlutterFlowTheme.of(context)
  1221. .bodyMedium
  1222. .fontWeight,
  1223. fontStyle:
  1224. FlutterFlowTheme.of(context)
  1225. .bodyMedium
  1226. .fontStyle,
  1227. ),
  1228. ),
  1229. ),
  1230. if (EstablishmentInfoCall
  1231. .establishmentbezorgtijden(
  1232. horecagelegenheidCurrentEstablishmentInfoResponse
  1233. .jsonBody,
  1234. ) !=
  1235. null &&
  1236. EstablishmentInfoCall
  1237. .establishmentbezorgtijden(
  1238. horecagelegenheidCurrentEstablishmentInfoResponse
  1239. .jsonBody,
  1240. ) !=
  1241. '')
  1242. Text(
  1243. getJsonField(
  1244. horecagelegenheidCurrentEstablishmentInfoResponse
  1245. .jsonBody,
  1246. r'''$[:].bezorgtijden''',
  1247. ).toString(),
  1248. style: FlutterFlowTheme.of(context)
  1249. .bodyMedium
  1250. .override(
  1251. font: GoogleFonts.inter(
  1252. fontWeight:
  1253. FlutterFlowTheme.of(context)
  1254. .bodyMedium
  1255. .fontWeight,
  1256. fontStyle:
  1257. FlutterFlowTheme.of(context)
  1258. .bodyMedium
  1259. .fontStyle,
  1260. ),
  1261. letterSpacing: 0.0,
  1262. fontWeight:
  1263. FlutterFlowTheme.of(context)
  1264. .bodyMedium
  1265. .fontWeight,
  1266. fontStyle:
  1267. FlutterFlowTheme.of(context)
  1268. .bodyMedium
  1269. .fontStyle,
  1270. ),
  1271. ),
  1272. if (EstablishmentInfoCall
  1273. .establishmentBezorgkosten(
  1274. horecagelegenheidCurrentEstablishmentInfoResponse
  1275. .jsonBody,
  1276. ) !=
  1277. null &&
  1278. EstablishmentInfoCall
  1279. .establishmentBezorgkosten(
  1280. horecagelegenheidCurrentEstablishmentInfoResponse
  1281. .jsonBody,
  1282. ) !=
  1283. '')
  1284. Text(
  1285. getJsonField(
  1286. horecagelegenheidCurrentEstablishmentInfoResponse
  1287. .jsonBody,
  1288. r'''$[:].bezorgkosten''',
  1289. ).toString(),
  1290. style: FlutterFlowTheme.of(context)
  1291. .bodyMedium
  1292. .override(
  1293. font: GoogleFonts.inter(
  1294. fontWeight:
  1295. FlutterFlowTheme.of(context)
  1296. .bodyMedium
  1297. .fontWeight,
  1298. fontStyle:
  1299. FlutterFlowTheme.of(context)
  1300. .bodyMedium
  1301. .fontStyle,
  1302. ),
  1303. letterSpacing: 0.0,
  1304. fontWeight:
  1305. FlutterFlowTheme.of(context)
  1306. .bodyMedium
  1307. .fontWeight,
  1308. fontStyle:
  1309. FlutterFlowTheme.of(context)
  1310. .bodyMedium
  1311. .fontStyle,
  1312. ),
  1313. ),
  1314. if (EstablishmentInfoCall
  1315. .establishmentMinimaleorder(
  1316. horecagelegenheidCurrentEstablishmentInfoResponse
  1317. .jsonBody,
  1318. ) !=
  1319. null &&
  1320. EstablishmentInfoCall
  1321. .establishmentMinimaleorder(
  1322. horecagelegenheidCurrentEstablishmentInfoResponse
  1323. .jsonBody,
  1324. ) !=
  1325. '')
  1326. Text(
  1327. getJsonField(
  1328. horecagelegenheidCurrentEstablishmentInfoResponse
  1329. .jsonBody,
  1330. r'''$[:].minimaleorder''',
  1331. ).toString(),
  1332. style: FlutterFlowTheme.of(context)
  1333. .bodyMedium
  1334. .override(
  1335. font: GoogleFonts.inter(
  1336. fontWeight:
  1337. FlutterFlowTheme.of(context)
  1338. .bodyMedium
  1339. .fontWeight,
  1340. fontStyle:
  1341. FlutterFlowTheme.of(context)
  1342. .bodyMedium
  1343. .fontStyle,
  1344. ),
  1345. letterSpacing: 0.0,
  1346. fontWeight:
  1347. FlutterFlowTheme.of(context)
  1348. .bodyMedium
  1349. .fontWeight,
  1350. fontStyle:
  1351. FlutterFlowTheme.of(context)
  1352. .bodyMedium
  1353. .fontStyle,
  1354. ),
  1355. ),
  1356. if (getJsonField(
  1357. horecagelegenheidCurrentEstablishmentInfoResponse
  1358. .jsonBody,
  1359. r'''$[:].thuisbezorgtbetaalopties''',
  1360. ) !=
  1361. null)
  1362. Text(
  1363. getJsonField(
  1364. horecagelegenheidCurrentEstablishmentInfoResponse
  1365. .jsonBody,
  1366. r'''$[:].thuisbezorgtbetaalopties''',
  1367. ).toString(),
  1368. style: FlutterFlowTheme.of(context)
  1369. .bodyMedium
  1370. .override(
  1371. font: GoogleFonts.inter(
  1372. fontWeight:
  1373. FlutterFlowTheme.of(context)
  1374. .bodyMedium
  1375. .fontWeight,
  1376. fontStyle:
  1377. FlutterFlowTheme.of(context)
  1378. .bodyMedium
  1379. .fontStyle,
  1380. ),
  1381. letterSpacing: 0.0,
  1382. fontWeight:
  1383. FlutterFlowTheme.of(context)
  1384. .bodyMedium
  1385. .fontWeight,
  1386. fontStyle:
  1387. FlutterFlowTheme.of(context)
  1388. .bodyMedium
  1389. .fontStyle,
  1390. ),
  1391. ),
  1392. Text(
  1393. getJsonField(
  1394. horecagelegenheidCurrentEstablishmentInfoResponse
  1395. .jsonBody,
  1396. r'''$[:].bezorgdin''',
  1397. ).toString(),
  1398. style: FlutterFlowTheme.of(context)
  1399. .bodyMedium
  1400. .override(
  1401. font: GoogleFonts.inter(
  1402. fontWeight:
  1403. FlutterFlowTheme.of(context)
  1404. .bodyMedium
  1405. .fontWeight,
  1406. fontStyle:
  1407. FlutterFlowTheme.of(context)
  1408. .bodyMedium
  1409. .fontStyle,
  1410. ),
  1411. letterSpacing: 0.0,
  1412. fontWeight:
  1413. FlutterFlowTheme.of(context)
  1414. .bodyMedium
  1415. .fontWeight,
  1416. fontStyle:
  1417. FlutterFlowTheme.of(context)
  1418. .bodyMedium
  1419. .fontStyle,
  1420. ),
  1421. ),
  1422. ],
  1423. ),
  1424. ],
  1425. ),
  1426. ),
  1427. ],
  1428. ),
  1429. ),
  1430. Expanded(
  1431. child: Container(
  1432. width: 462.72,
  1433. height: 100.0,
  1434. decoration: BoxDecoration(
  1435. color: FlutterFlowTheme.of(context).secondaryBackground,
  1436. ),
  1437. child: Column(
  1438. mainAxisSize: MainAxisSize.max,
  1439. children: [
  1440. Expanded(
  1441. child: wrapWithModel(
  1442. model: _model
  1443. .horecagelegenheidEventTabelComponentCopyModel,
  1444. updateCallback: () => safeSetState(() {}),
  1445. child: Builder(builder: (_) {
  1446. return DebugFlutterFlowModelContext(
  1447. rootModel: _model.rootModel,
  1448. child:
  1449. HorecagelegenheidEventTabelComponentCopyWidget(
  1450. nid: widget!.nid!,
  1451. horecaid: widget!.nid,
  1452. ),
  1453. );
  1454. }),
  1455. ),
  1456. ),
  1457. ],
  1458. ),
  1459. ),
  1460. ),
  1461. FFButtonWidget(
  1462. onPressed: () async {
  1463. context.pushNamed(
  1464. HorecagelegenhedenOverzichtWidget.routeName,
  1465. queryParameters: {
  1466. 'plaats': serializeParam(
  1467. FFAppState().gemeenteSelectId,
  1468. ParamType.String,
  1469. ),
  1470. }.withoutNulls,
  1471. );
  1472. },
  1473. text: FFLocalizations.of(context).getText(
  1474. 'ukbd1ac9' /* Alle horecagelegenheden */,
  1475. ),
  1476. options: FFButtonOptions(
  1477. height: 40.0,
  1478. padding:
  1479. EdgeInsetsDirectional.fromSTEB(16.0, 0.0, 16.0, 0.0),
  1480. iconPadding:
  1481. EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
  1482. color: FlutterFlowTheme.of(context).primary,
  1483. textStyle:
  1484. FlutterFlowTheme.of(context).titleSmall.override(
  1485. font: GoogleFonts.interTight(
  1486. fontWeight: FlutterFlowTheme.of(context)
  1487. .titleSmall
  1488. .fontWeight,
  1489. fontStyle: FlutterFlowTheme.of(context)
  1490. .titleSmall
  1491. .fontStyle,
  1492. ),
  1493. color: Colors.white,
  1494. letterSpacing: 0.0,
  1495. fontWeight: FlutterFlowTheme.of(context)
  1496. .titleSmall
  1497. .fontWeight,
  1498. fontStyle: FlutterFlowTheme.of(context)
  1499. .titleSmall
  1500. .fontStyle,
  1501. ),
  1502. elevation: 0.0,
  1503. borderRadius: BorderRadius.circular(8.0),
  1504. ),
  1505. ),
  1506. ],
  1507. ),
  1508. ),
  1509. ),
  1510. );
  1511. },
  1512. );
  1513. }
  1514. }