| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246 |
- import '/backend/api_requests/api_calls.dart';
- import '/components/header_buttons_component_widget.dart';
- import '/flutter_flow/flutter_flow_icon_button.dart';
- import '/flutter_flow/flutter_flow_theme.dart';
- import '/flutter_flow/flutter_flow_util.dart';
- import '/flutter_flow/flutter_flow_widgets.dart';
- import '/horecagelegenhedenoverzicht/horecagelegenheid_event_tabel_component_copy/horecagelegenheid_event_tabel_component_copy_widget.dart';
- import '/shared/drawer_component/drawer_component_widget.dart';
- import 'dart:ui';
- import '/custom_code/widgets/index.dart' as custom_widgets;
- import '/index.dart';
- import 'package:aligned_tooltip/aligned_tooltip.dart';
- import 'package:carousel_slider/carousel_slider.dart';
- import 'package:cached_network_image/cached_network_image.dart';
- import 'package:flutter/material.dart';
- import 'package:flutter_spinkit/flutter_spinkit.dart';
- import 'package:google_fonts/google_fonts.dart';
- import 'package:provider/provider.dart';
- import 'horecagelegenheid_current_model.dart';
- export 'horecagelegenheid_current_model.dart';
- /// Establishment
- class HorecagelegenheidCurrentWidget extends StatefulWidget {
- const HorecagelegenheidCurrentWidget({
- super.key,
- required this.nid,
- });
- /// establishment nid
- final String? nid;
- static String routeName = 'horecagelegenheidCurrent';
- static String routePath = '/horecagelegenheidCurrent';
- @override
- State<HorecagelegenheidCurrentWidget> createState() =>
- _HorecagelegenheidCurrentWidgetState();
- }
- class _HorecagelegenheidCurrentWidgetState
- extends State<HorecagelegenheidCurrentWidget>
- with TickerProviderStateMixin, RouteAware {
- late HorecagelegenheidCurrentModel _model;
- final scaffoldKey = GlobalKey<ScaffoldState>();
- @override
- void initState() {
- super.initState();
- _model = createModel(context, () => HorecagelegenheidCurrentModel());
- _model.tabBarController = TabController(
- vsync: this,
- length: 3,
- initialIndex: 0,
- )
- ..addListener(() => safeSetState(() {}))
- ..addListener(() {
- debugLogWidgetClass(_model);
- });
- }
- @override
- void dispose() {
- routeObserver.unsubscribe(this);
- _model.dispose();
- super.dispose();
- }
- @override
- void didUpdateWidget(HorecagelegenheidCurrentWidget oldWidget) {
- super.didUpdateWidget(oldWidget);
- _model.widget = widget;
- }
- @override
- void didChangeDependencies() {
- super.didChangeDependencies();
- final route = DebugModalRoute.of(context);
- if (route != null) {
- routeObserver.subscribe(this, route);
- }
- debugLogGlobalProperty(context);
- }
- @override
- void didPopNext() {
- if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
- setState(() => _model.isRouteVisible = true);
- debugLogWidgetClass(_model);
- }
- }
- @override
- void didPush() {
- if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
- setState(() => _model.isRouteVisible = true);
- debugLogWidgetClass(_model);
- }
- }
- @override
- void didPop() {
- _model.isRouteVisible = false;
- }
- @override
- void didPushNext() {
- _model.isRouteVisible = false;
- }
- @override
- Widget build(BuildContext context) {
- DebugFlutterFlowModelContext.maybeOf(context)
- ?.parentModelCallback
- ?.call(_model);
- context.watch<FFAppState>();
- return FutureBuilder<ApiCallResponse>(
- future: EstablishmentInfoCall.call(
- nid: widget!.nid,
- ),
- builder: (context, snapshot) {
- // Customize what your widget looks like when it's loading.
- if (!snapshot.hasData) {
- return Scaffold(
- backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
- body: Center(
- child: SizedBox(
- width: 80.0,
- height: 80.0,
- child: SpinKitFadingCircle(
- color: Color(0xFFB1061E),
- size: 80.0,
- ),
- ),
- ),
- );
- }
- final horecagelegenheidCurrentEstablishmentInfoResponse =
- snapshot.data!;
- _model.debugBackendQueries[
- 'EstablishmentInfoCall_statusCode_Scaffold_m8hqnbgb'] =
- debugSerializeParam(
- horecagelegenheidCurrentEstablishmentInfoResponse.statusCode,
- ParamType.int,
- link:
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
- name: 'int',
- nullable: false,
- );
- _model.debugBackendQueries[
- 'EstablishmentInfoCall_responseBody_Scaffold_m8hqnbgb'] =
- debugSerializeParam(
- horecagelegenheidCurrentEstablishmentInfoResponse.bodyText,
- ParamType.String,
- link:
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
- name: 'String',
- nullable: false,
- );
- debugLogWidgetClass(_model);
- return GestureDetector(
- onTap: () {
- FocusScope.of(context).unfocus();
- FocusManager.instance.primaryFocus?.unfocus();
- },
- child: Scaffold(
- key: scaffoldKey,
- backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
- drawer: Drawer(
- elevation: 16.0,
- child: wrapWithModel(
- model: _model.drawerComponentModel,
- updateCallback: () => safeSetState(() {}),
- child: Builder(builder: (_) {
- return DebugFlutterFlowModelContext(
- rootModel: _model.rootModel,
- child: DrawerComponentWidget(),
- );
- }),
- ),
- ),
- appBar: PreferredSize(
- preferredSize: Size.fromHeight(80.0),
- child: AppBar(
- backgroundColor: FlutterFlowTheme.of(context).info,
- iconTheme: IconThemeData(color: Color(0xFFB12727)),
- automaticallyImplyLeading: false,
- actions: [],
- flexibleSpace: FlexibleSpaceBar(
- background: Row(
- mainAxisSize: MainAxisSize.max,
- children: [
- wrapWithModel(
- model: _model.headerButtonsComponentModel,
- updateCallback: () => safeSetState(() {}),
- child: Builder(builder: (_) {
- return DebugFlutterFlowModelContext(
- rootModel: _model.rootModel,
- child: HeaderButtonsComponentWidget(),
- );
- }),
- ),
- ],
- ),
- centerTitle: true,
- expandedTitleScale: 1.0,
- ),
- bottom: PreferredSize(
- preferredSize: Size.fromHeight(70.0),
- child: Container(),
- ),
- toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
- elevation: 2.0,
- ),
- ),
- body: SafeArea(
- top: true,
- child: Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- Stack(
- children: [
- Container(
- width: 366.1,
- height: 281.5,
- decoration: BoxDecoration(
- color:
- FlutterFlowTheme.of(context).secondaryBackground,
- ),
- child: Builder(
- builder: (context) {
- final fotoos =
- EstablishmentInfoCall.establishmentFotoos(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- )?.toList() ??
- [];
- if (fotoos.isEmpty) {
- return Image.asset(
- 'assets/images/logo800px.png',
- );
- }
- _model.debugGeneratorVariables[
- 'fotoos${fotoos.length > 100 ? ' (first 100)' : ''}'] =
- debugSerializeParam(
- fotoos.take(100),
- ParamType.String,
- isList: true,
- link:
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
- name: 'String',
- nullable: false,
- );
- debugLogWidgetClass(_model);
- return Container(
- width: double.infinity,
- height: 200.0,
- child: CarouselSlider.builder(
- itemCount: fotoos.length,
- itemBuilder: (context, fotoosIndex, _) {
- final fotoosItem = fotoos[fotoosIndex];
- return Builder(
- builder: (context) {
- if (fotoosItem != null &&
- fotoosItem != '') {
- return ClipRRect(
- borderRadius:
- BorderRadius.circular(8.0),
- child: CachedNetworkImage(
- fadeInDuration:
- Duration(milliseconds: 500),
- fadeOutDuration:
- Duration(milliseconds: 500),
- imageUrl: fotoosItem,
- width: 200.0,
- height: 200.0,
- fit: BoxFit.cover,
- ),
- );
- } else {
- return Icon(
- Icons.image_not_supported,
- color: FlutterFlowTheme.of(context)
- .primaryText,
- size: 24.0,
- );
- }
- },
- );
- },
- carouselController:
- _model.carouselController ??=
- CarouselSliderController(),
- options: CarouselOptions(
- initialPage:
- max(0, min(1, fotoos.length - 1)),
- viewportFraction: 0.5,
- disableCenter: true,
- enlargeCenterPage: true,
- enlargeFactor: 0.25,
- enableInfiniteScroll: true,
- scrollDirection: Axis.horizontal,
- autoPlay: false,
- onPageChanged: (index, _) =>
- _model.carouselCurrentIndex = index,
- ),
- ),
- );
- },
- ),
- ),
- Align(
- alignment: AlignmentDirectional(1.0, 0.0),
- child: AlignedTooltip(
- content: Padding(
- padding: EdgeInsets.all(4.0),
- child: Text(
- FFLocalizations.of(context).getText(
- 'kjqv6ycx' /* Favoriet */,
- ),
- style: FlutterFlowTheme.of(context)
- .bodyLarge
- .override(
- font: GoogleFonts.inter(
- fontWeight: FlutterFlowTheme.of(context)
- .bodyLarge
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .bodyLarge
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight: FlutterFlowTheme.of(context)
- .bodyLarge
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .bodyLarge
- .fontStyle,
- ),
- ),
- ),
- offset: 4.0,
- preferredDirection: AxisDirection.down,
- borderRadius: BorderRadius.circular(8.0),
- backgroundColor:
- FlutterFlowTheme.of(context).secondaryBackground,
- elevation: 4.0,
- tailBaseWidth: 24.0,
- tailLength: 12.0,
- waitDuration: Duration(milliseconds: 100),
- showDuration: Duration(milliseconds: 1500),
- triggerMode: TooltipTriggerMode.tap,
- child: Builder(
- builder: (context) {
- if (FFAppState()
- .favorieteHorecaNids
- .contains(widget!.nid)) {
- return FlutterFlowIconButton(
- borderRadius: 8.0,
- buttonSize: 32.0,
- fillColor: Color(0x0AFFFFFF),
- icon: Icon(
- Icons.favorite_border,
- color: Color(0xFFB50808),
- size: 24.0,
- ),
- onPressed: () async {
- FFAppState().removeFromFavorieteHorecaNids(
- widget!.nid!);
- safeSetState(() {});
- },
- );
- } else {
- return FlutterFlowIconButton(
- borderRadius: 8.0,
- buttonSize: 32.0,
- fillColor: Colors.white,
- icon: Icon(
- Icons.favorite_border,
- color: Color(0xFFB50808),
- size: 24.0,
- ),
- onPressed: () async {
- FFAppState()
- .addToFavorieteHorecaNids(widget!.nid!);
- safeSetState(() {});
- },
- );
- }
- },
- ),
- ),
- ),
- ],
- ),
- Text(
- valueOrDefault<String>(
- EstablishmentInfoCall.establshmentTitel(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- ),
- 'title',
- ),
- style: FlutterFlowTheme.of(context).headlineMedium.override(
- font: GoogleFonts.interTight(
- fontWeight: FlutterFlowTheme.of(context)
- .headlineMedium
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .headlineMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight: FlutterFlowTheme.of(context)
- .headlineMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context).headlineMedium.fontStyle,
- shadows: [
- Shadow(
- color: FlutterFlowTheme.of(context).secondaryText,
- offset: Offset(2.0, 2.0),
- blurRadius: 2.0,
- )
- ],
- ),
- ),
- Expanded(
- child: Column(
- children: [
- Align(
- alignment: Alignment(0.0, 0),
- child: TabBar(
- labelColor:
- FlutterFlowTheme.of(context).primaryText,
- unselectedLabelColor:
- FlutterFlowTheme.of(context).secondaryText,
- labelStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .override(
- font: GoogleFonts.interTight(
- fontWeight: FlutterFlowTheme.of(context)
- .titleMedium
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight: FlutterFlowTheme.of(context)
- .titleMedium
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .fontStyle,
- ),
- unselectedLabelStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .override(
- font: GoogleFonts.interTight(
- fontWeight: FlutterFlowTheme.of(context)
- .titleMedium
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight: FlutterFlowTheme.of(context)
- .titleMedium
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleMedium
- .fontStyle,
- ),
- indicatorColor:
- FlutterFlowTheme.of(context).primary,
- tabs: [
- Tab(
- text: FFLocalizations.of(context).getText(
- 'pedeshok' /* Info */,
- ),
- ),
- Tab(
- text: FFLocalizations.of(context).getText(
- 'q5nwrlms' /* Links */,
- ),
- ),
- Tab(
- text: FFLocalizations.of(context).getText(
- 's1b6yp7v' /* Bezorgen */,
- ),
- ),
- ],
- controller: _model.tabBarController,
- onTap: (i) async {
- [() async {}, () async {}, () async {}][i]();
- },
- ),
- ),
- Expanded(
- child: TabBarView(
- controller: _model.tabBarController,
- children: [
- Row(
- mainAxisSize: MainAxisSize.max,
- children: [
- Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- ClipRRect(
- borderRadius:
- BorderRadius.circular(8.0),
- child: CachedNetworkImage(
- fadeInDuration:
- Duration(milliseconds: 500),
- fadeOutDuration:
- Duration(milliseconds: 500),
- imageUrl: valueOrDefault<String>(
- EstablishmentInfoCall
- .establshmentLogo(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- ),
- 'logo',
- ),
- width: 200.0,
- height: 200.0,
- fit: BoxFit.cover,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].adres''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].plaats''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].telefoonnummer''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].email''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].kvk''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Builder(
- builder: (context) {
- final cryptocoins =
- EstablishmentInfoCall
- .establishmentCryptocoins(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- )?.toList() ??
- [];
- _model.debugGeneratorVariables[
- 'cryptocoins${cryptocoins.length > 100 ? ' (first 100)' : ''}'] =
- debugSerializeParam(
- cryptocoins.take(100),
- ParamType.String,
- isList: true,
- link:
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=horecagelegenheidCurrent',
- name: 'String',
- nullable: false,
- );
- debugLogWidgetClass(_model);
- return Row(
- mainAxisSize: MainAxisSize.max,
- children: List.generate(
- cryptocoins.length,
- (cryptocoinsIndex) {
- final cryptocoinsItem =
- cryptocoins[cryptocoinsIndex];
- return Text(
- cryptocoinsItem,
- style:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font:
- GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(
- context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(
- context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(
- context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(
- context)
- .bodyMedium
- .fontStyle,
- ),
- );
- }),
- );
- },
- ),
- ],
- ),
- Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- Container(
- width:
- MediaQuery.sizeOf(context).width *
- 0.7,
- height:
- MediaQuery.sizeOf(context).height *
- 0.2,
- child: custom_widgets.FromHTML(
- width:
- MediaQuery.sizeOf(context).width *
- 0.7,
- height: MediaQuery.sizeOf(context)
- .height *
- 0.2,
- HTMLParameter: valueOrDefault<String>(
- EstablishmentInfoCall
- .establshmentInhoud(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- ),
- 'content',
- ),
- ),
- ),
- ],
- ),
- ],
- ),
- Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].website''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].menukaart''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].facebook''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].twitter''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].instagram''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- ],
- ),
- Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].afhaalopties''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].bestellink''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].bezorgtijden''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].bezorgkosten''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].minimaleorder''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].thuisbezorgtbetaalopties''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- Text(
- getJsonField(
- horecagelegenheidCurrentEstablishmentInfoResponse
- .jsonBody,
- r'''$[:].bezorgdin''',
- ).toString(),
- style: FlutterFlowTheme.of(context)
- .bodyMedium
- .override(
- font: GoogleFonts.inter(
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- letterSpacing: 0.0,
- fontWeight:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontWeight,
- fontStyle:
- FlutterFlowTheme.of(context)
- .bodyMedium
- .fontStyle,
- ),
- ),
- ],
- ),
- ],
- ),
- ),
- ],
- ),
- ),
- Expanded(
- child: Container(
- width: 462.72,
- height: 100.0,
- decoration: BoxDecoration(
- color: FlutterFlowTheme.of(context).secondaryBackground,
- ),
- child: Column(
- mainAxisSize: MainAxisSize.max,
- children: [
- Expanded(
- child: wrapWithModel(
- model: _model
- .horecagelegenheidEventTabelComponentCopyModel,
- updateCallback: () => safeSetState(() {}),
- child: Builder(builder: (_) {
- return DebugFlutterFlowModelContext(
- rootModel: _model.rootModel,
- child:
- HorecagelegenheidEventTabelComponentCopyWidget(
- nid: widget!.nid!,
- horecaid: widget!.nid,
- ),
- );
- }),
- ),
- ),
- ],
- ),
- ),
- ),
- FFButtonWidget(
- onPressed: () async {
- context.pushNamed(
- HorecagelegenhedenOverzichtWidget.routeName,
- queryParameters: {
- 'plaats': serializeParam(
- FFAppState().gemeenteSelectId,
- ParamType.String,
- ),
- }.withoutNulls,
- );
- },
- text: FFLocalizations.of(context).getText(
- 'ukbd1ac9' /* Alle horecagelegenheden */,
- ),
- options: FFButtonOptions(
- height: 40.0,
- padding:
- EdgeInsetsDirectional.fromSTEB(16.0, 0.0, 16.0, 0.0),
- iconPadding:
- EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
- color: FlutterFlowTheme.of(context).primary,
- textStyle:
- FlutterFlowTheme.of(context).titleSmall.override(
- font: GoogleFonts.interTight(
- fontWeight: FlutterFlowTheme.of(context)
- .titleSmall
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleSmall
- .fontStyle,
- ),
- color: Colors.white,
- letterSpacing: 0.0,
- fontWeight: FlutterFlowTheme.of(context)
- .titleSmall
- .fontWeight,
- fontStyle: FlutterFlowTheme.of(context)
- .titleSmall
- .fontStyle,
- ),
- elevation: 0.0,
- borderRadius: BorderRadius.circular(8.0),
- ),
- ),
- ],
- ),
- ),
- ),
- );
- },
- );
- }
- }
|