|
@@ -399,38 +399,46 @@ class _HorecagelegenheidCurrentWidgetState
|
|
|
),
|
|
),
|
|
|
],
|
|
],
|
|
|
),
|
|
),
|
|
|
- Text(
|
|
|
|
|
- valueOrDefault<String>(
|
|
|
|
|
- EstablishmentInfoCall.establshmentTitel(
|
|
|
|
|
|
|
+ if (getJsonField(
|
|
|
horecagelegenheidCurrentEstablishmentInfoResponse
|
|
horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
.jsonBody,
|
|
.jsonBody,
|
|
|
|
|
+ r'''$[:].titel''',
|
|
|
|
|
+ ) !=
|
|
|
|
|
+ null)
|
|
|
|
|
+ Text(
|
|
|
|
|
+ valueOrDefault<String>(
|
|
|
|
|
+ EstablishmentInfoCall.establshmentTitel(
|
|
|
|
|
+ horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
+ .jsonBody,
|
|
|
|
|
+ ),
|
|
|
|
|
+ 'title',
|
|
|
),
|
|
),
|
|
|
- 'title',
|
|
|
|
|
- ),
|
|
|
|
|
- style: FlutterFlowTheme.of(context).headlineMedium.override(
|
|
|
|
|
- font: GoogleFonts.interTight(
|
|
|
|
|
|
|
+ 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)
|
|
fontWeight: FlutterFlowTheme.of(context)
|
|
|
.headlineMedium
|
|
.headlineMedium
|
|
|
.fontWeight,
|
|
.fontWeight,
|
|
|
fontStyle: FlutterFlowTheme.of(context)
|
|
fontStyle: FlutterFlowTheme.of(context)
|
|
|
.headlineMedium
|
|
.headlineMedium
|
|
|
.fontStyle,
|
|
.fontStyle,
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: FlutterFlowTheme.of(context).secondaryText,
|
|
|
|
|
+ offset: Offset(2.0, 2.0),
|
|
|
|
|
+ blurRadius: 2.0,
|
|
|
|
|
+ )
|
|
|
|
|
+ ],
|
|
|
),
|
|
),
|
|
|
- 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(
|
|
Expanded(
|
|
|
child: Column(
|
|
child: Column(
|
|
|
children: [
|
|
children: [
|
|
@@ -514,27 +522,33 @@ class _HorecagelegenheidCurrentWidgetState
|
|
|
Column(
|
|
Column(
|
|
|
mainAxisSize: MainAxisSize.max,
|
|
mainAxisSize: MainAxisSize.max,
|
|
|
children: [
|
|
children: [
|
|
|
- ClipRRect(
|
|
|
|
|
- borderRadius:
|
|
|
|
|
- BorderRadius.circular(8.0),
|
|
|
|
|
- child: CachedNetworkImage(
|
|
|
|
|
- fadeInDuration:
|
|
|
|
|
- Duration(milliseconds: 500),
|
|
|
|
|
- fadeOutDuration:
|
|
|
|
|
- Duration(milliseconds: 500),
|
|
|
|
|
- imageUrl: valueOrDefault<String>(
|
|
|
|
|
- EstablishmentInfoCall
|
|
|
|
|
- .establshmentLogo(
|
|
|
|
|
- horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
- .jsonBody,
|
|
|
|
|
|
|
+ if (getJsonField(
|
|
|
|
|
+ horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
+ .jsonBody,
|
|
|
|
|
+ r'''$[:].logo''',
|
|
|
|
|
+ ) !=
|
|
|
|
|
+ null)
|
|
|
|
|
+ ClipRRect(
|
|
|
|
|
+ borderRadius:
|
|
|
|
|
+ BorderRadius.circular(8.0),
|
|
|
|
|
+ child: CachedNetworkImage(
|
|
|
|
|
+ fadeInDuration:
|
|
|
|
|
+ Duration(milliseconds: 500),
|
|
|
|
|
+ fadeOutDuration:
|
|
|
|
|
+ Duration(milliseconds: 500),
|
|
|
|
|
+ imageUrl: valueOrDefault<String>(
|
|
|
|
|
+ EstablishmentInfoCall
|
|
|
|
|
+ .establshmentLogo(
|
|
|
|
|
+ horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
+ .jsonBody,
|
|
|
|
|
+ ),
|
|
|
|
|
+ 'logo',
|
|
|
),
|
|
),
|
|
|
- 'logo',
|
|
|
|
|
|
|
+ width: 200.0,
|
|
|
|
|
+ height: 200.0,
|
|
|
|
|
+ fit: BoxFit.cover,
|
|
|
),
|
|
),
|
|
|
- width: 200.0,
|
|
|
|
|
- height: 200.0,
|
|
|
|
|
- fit: BoxFit.cover,
|
|
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
if (EstablishmentInfoCall
|
|
if (EstablishmentInfoCall
|
|
|
.establishmentAdres(
|
|
.establishmentAdres(
|
|
|
horecagelegenheidCurrentEstablishmentInfoResponse
|
|
horecagelegenheidCurrentEstablishmentInfoResponse
|
|
@@ -832,30 +846,37 @@ class _HorecagelegenheidCurrentWidgetState
|
|
|
Column(
|
|
Column(
|
|
|
mainAxisSize: MainAxisSize.max,
|
|
mainAxisSize: MainAxisSize.max,
|
|
|
children: [
|
|
children: [
|
|
|
- Container(
|
|
|
|
|
- width:
|
|
|
|
|
- MediaQuery.sizeOf(context).width *
|
|
|
|
|
- 0.7,
|
|
|
|
|
- height:
|
|
|
|
|
- MediaQuery.sizeOf(context).height *
|
|
|
|
|
- 0.2,
|
|
|
|
|
- child: custom_widgets.FromHTML(
|
|
|
|
|
|
|
+ if (getJsonField(
|
|
|
|
|
+ horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
+ .jsonBody,
|
|
|
|
|
+ r'''$[:].inhoud''',
|
|
|
|
|
+ ) !=
|
|
|
|
|
+ null)
|
|
|
|
|
+ Container(
|
|
|
width:
|
|
width:
|
|
|
MediaQuery.sizeOf(context).width *
|
|
MediaQuery.sizeOf(context).width *
|
|
|
0.7,
|
|
0.7,
|
|
|
height: MediaQuery.sizeOf(context)
|
|
height: MediaQuery.sizeOf(context)
|
|
|
.height *
|
|
.height *
|
|
|
0.2,
|
|
0.2,
|
|
|
- HTMLParameter: valueOrDefault<String>(
|
|
|
|
|
- EstablishmentInfoCall
|
|
|
|
|
- .establshmentInhoud(
|
|
|
|
|
- horecagelegenheidCurrentEstablishmentInfoResponse
|
|
|
|
|
- .jsonBody,
|
|
|
|
|
|
|
+ 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',
|
|
|
),
|
|
),
|
|
|
- 'content',
|
|
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
],
|
|
],
|
|
|
),
|
|
),
|
|
|
],
|
|
],
|