|
|
@@ -459,78 +459,93 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
final aanmeldingItemItem =
|
|
|
aanmeldingItem[
|
|
|
aanmeldingItemIndex];
|
|
|
- return Column(
|
|
|
- mainAxisSize:
|
|
|
- MainAxisSize.max,
|
|
|
- children: [
|
|
|
- InkWell(
|
|
|
- splashColor:
|
|
|
- Colors.transparent,
|
|
|
- focusColor:
|
|
|
- Colors.transparent,
|
|
|
- hoverColor:
|
|
|
- Colors.transparent,
|
|
|
- highlightColor:
|
|
|
- Colors.transparent,
|
|
|
- onTap: () async {
|
|
|
- if (functions
|
|
|
- .isOngepubliceerd(
|
|
|
- aanmeldingItemItem)) {
|
|
|
- ScaffoldMessenger.of(
|
|
|
- context)
|
|
|
- .showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- 'Dit item staat nog in beoordeling en is nog niet online.',
|
|
|
- style:
|
|
|
- TextStyle(
|
|
|
- color: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .primaryText,
|
|
|
- ),
|
|
|
- ),
|
|
|
- duration: Duration(
|
|
|
- milliseconds:
|
|
|
- 4000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- } else {
|
|
|
- context.pushNamed(
|
|
|
- EventCurrentWidget
|
|
|
- .routeName,
|
|
|
- queryParameters: {
|
|
|
- 'nid':
|
|
|
- serializeParam(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.nid''',
|
|
|
- ).toString(),
|
|
|
- ParamType
|
|
|
- .String,
|
|
|
- ),
|
|
|
- }.withoutNulls,
|
|
|
- );
|
|
|
- }
|
|
|
- },
|
|
|
- child: Material(
|
|
|
- color:
|
|
|
+ return Padding(
|
|
|
+ padding: EdgeInsetsDirectional
|
|
|
+ .fromSTEB(
|
|
|
+ 0.0, 0.0, 0.0, 12.0),
|
|
|
+ child: Column(
|
|
|
+ mainAxisSize:
|
|
|
+ MainAxisSize.max,
|
|
|
+ children: [
|
|
|
+ InkWell(
|
|
|
+ splashColor:
|
|
|
Colors.transparent,
|
|
|
- child: ListTile(
|
|
|
- title: Text(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.title''',
|
|
|
- ).toString(),
|
|
|
- style: FlutterFlowTheme
|
|
|
+ focusColor:
|
|
|
+ Colors.transparent,
|
|
|
+ hoverColor:
|
|
|
+ Colors.transparent,
|
|
|
+ highlightColor:
|
|
|
+ Colors.transparent,
|
|
|
+ onTap: () async {
|
|
|
+ if (functions
|
|
|
+ .isOngepubliceerd(
|
|
|
+ aanmeldingItemItem)) {
|
|
|
+ ScaffoldMessenger
|
|
|
.of(context)
|
|
|
- .titleLarge
|
|
|
- .override(
|
|
|
- font: GoogleFonts
|
|
|
- .roboto(
|
|
|
+ .showSnackBar(
|
|
|
+ SnackBar(
|
|
|
+ content: Text(
|
|
|
+ 'Dit item staat nog in beoordeling en is nog niet online.',
|
|
|
+ style:
|
|
|
+ TextStyle(
|
|
|
+ color: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .primaryText,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ duration: Duration(
|
|
|
+ milliseconds:
|
|
|
+ 4000),
|
|
|
+ backgroundColor:
|
|
|
+ FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .secondary,
|
|
|
+ ),
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ context.pushNamed(
|
|
|
+ EventCurrentWidget
|
|
|
+ .routeName,
|
|
|
+ queryParameters: {
|
|
|
+ 'nid':
|
|
|
+ serializeParam(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.nid''',
|
|
|
+ ).toString(),
|
|
|
+ ParamType
|
|
|
+ .String,
|
|
|
+ ),
|
|
|
+ }.withoutNulls,
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ child: Material(
|
|
|
+ color: Colors
|
|
|
+ .transparent,
|
|
|
+ child: ListTile(
|
|
|
+ title: Text(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.title''',
|
|
|
+ ).toString(),
|
|
|
+ style: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .titleLarge
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleLarge
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleLarge
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
fontWeight: FlutterFlowTheme.of(
|
|
|
context)
|
|
|
.titleLarge
|
|
|
@@ -540,29 +555,29 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
.titleLarge
|
|
|
.fontStyle,
|
|
|
),
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleLarge
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- subtitle: Text(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.datum_start''',
|
|
|
- ).toString(),
|
|
|
- style: FlutterFlowTheme
|
|
|
- .of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts
|
|
|
- .roboto(
|
|
|
+ ),
|
|
|
+ subtitle: Text(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.datum_start''',
|
|
|
+ ).toString(),
|
|
|
+ style: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .labelMedium
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .labelMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .labelMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
fontWeight: FlutterFlowTheme.of(
|
|
|
context)
|
|
|
.labelMedium
|
|
|
@@ -572,39 +587,142 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
.labelMedium
|
|
|
.fontStyle,
|
|
|
),
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- trailing: Icon(
|
|
|
- Icons
|
|
|
- .arrow_forward_ios_rounded,
|
|
|
- color: FlutterFlowTheme
|
|
|
+ ),
|
|
|
+ trailing: Icon(
|
|
|
+ Icons
|
|
|
+ .arrow_forward_ios_rounded,
|
|
|
+ color: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .secondaryText,
|
|
|
+ size: 24.0,
|
|
|
+ ),
|
|
|
+ tileColor: FlutterFlowTheme
|
|
|
.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
+ .secondaryBackground,
|
|
|
+ dense: false,
|
|
|
+ contentPadding:
|
|
|
+ EdgeInsetsDirectional
|
|
|
+ .fromSTEB(
|
|
|
+ 12.0,
|
|
|
+ 0.0,
|
|
|
+ 12.0,
|
|
|
+ 0.0),
|
|
|
+ shape:
|
|
|
+ RoundedRectangleBorder(
|
|
|
+ borderRadius:
|
|
|
+ BorderRadius
|
|
|
+ .circular(
|
|
|
+ 8.0),
|
|
|
+ ),
|
|
|
),
|
|
|
- tileColor: FlutterFlowTheme
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Align(
|
|
|
+ alignment:
|
|
|
+ AlignmentDirectional(
|
|
|
+ 1.0, 0.0),
|
|
|
+ child: FFButtonWidget(
|
|
|
+ onPressed: () async {
|
|
|
+ _model.apiResultmls =
|
|
|
+ await AanmeldingKloonbronCall
|
|
|
+ .call(
|
|
|
+ sessionName:
|
|
|
+ FFAppState()
|
|
|
+ .userSessionname,
|
|
|
+ sessid: FFAppState()
|
|
|
+ .userSessionid,
|
|
|
+ nid: getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.nid''',
|
|
|
+ ).toString(),
|
|
|
+ );
|
|
|
+
|
|
|
+ if ((_model
|
|
|
+ .apiResultmls
|
|
|
+ ?.succeeded ??
|
|
|
+ true)) {
|
|
|
+ FFAppState()
|
|
|
+ .kloonBron = (_model
|
|
|
+ .apiResultmls
|
|
|
+ ?.jsonBody ??
|
|
|
+ '');
|
|
|
+ safeSetState(
|
|
|
+ () {});
|
|
|
+
|
|
|
+ context.pushNamed(
|
|
|
+ UitgaansevenementAanmakenWidget
|
|
|
+ .routeName,
|
|
|
+ queryParameters:
|
|
|
+ {
|
|
|
+ 'horecagelegenheidNid':
|
|
|
+ serializeParam(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.horecagelegenheidnid''',
|
|
|
+ ).toString(),
|
|
|
+ ParamType
|
|
|
+ .String,
|
|
|
+ ),
|
|
|
+ }.withoutNulls,
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ safeSetState(() {});
|
|
|
+ },
|
|
|
+ text: FFLocalizations
|
|
|
.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- dense: false,
|
|
|
- contentPadding:
|
|
|
- EdgeInsetsDirectional
|
|
|
- .fromSTEB(
|
|
|
- 12.0,
|
|
|
- 0.0,
|
|
|
- 12.0,
|
|
|
- 0.0),
|
|
|
- shape:
|
|
|
- RoundedRectangleBorder(
|
|
|
+ .getText(
|
|
|
+ 'oxse6aci' /* Kopie */,
|
|
|
+ ),
|
|
|
+ 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)
|
|
|
+ .secondaryBackground,
|
|
|
+ textStyle:
|
|
|
+ FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .titleSmall
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .titleSmall
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ color: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .primaryText,
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ elevation: 0.0,
|
|
|
borderRadius:
|
|
|
BorderRadius
|
|
|
.circular(
|
|
|
@@ -612,112 +730,8 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
- ),
|
|
|
- FFButtonWidget(
|
|
|
- onPressed: () async {
|
|
|
- _model.apiResultmls =
|
|
|
- await AanmeldingKloonbronCall
|
|
|
- .call(
|
|
|
- sessionName: FFAppState()
|
|
|
- .userSessionname,
|
|
|
- sessid: FFAppState()
|
|
|
- .userSessionid,
|
|
|
- nid: getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.nid''',
|
|
|
- ).toString(),
|
|
|
- );
|
|
|
-
|
|
|
- if ((_model.apiResultmls
|
|
|
- ?.succeeded ??
|
|
|
- true)) {
|
|
|
- FFAppState()
|
|
|
- .kloonBron = (_model
|
|
|
- .apiResultmls
|
|
|
- ?.jsonBody ??
|
|
|
- '');
|
|
|
- safeSetState(() {});
|
|
|
-
|
|
|
- context.pushNamed(
|
|
|
- UitgaansevenementAanmakenWidget
|
|
|
- .routeName,
|
|
|
- queryParameters: {
|
|
|
- 'horecagelegenheidNid':
|
|
|
- serializeParam(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.horecagelegenheidnid''',
|
|
|
- ).toString(),
|
|
|
- ParamType
|
|
|
- .String,
|
|
|
- ),
|
|
|
- }.withoutNulls,
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- text: FFLocalizations.of(
|
|
|
- context)
|
|
|
- .getText(
|
|
|
- 'oxse6aci' /* Kopie */,
|
|
|
- ),
|
|
|
- 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)
|
|
|
- .secondaryBackground,
|
|
|
- textStyle:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .override(
|
|
|
- font: GoogleFonts
|
|
|
- .roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- color: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .primaryText,
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- elevation: 0.0,
|
|
|
- borderRadius:
|
|
|
- BorderRadius
|
|
|
- .circular(8.0),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
+ ],
|
|
|
+ ),
|
|
|
);
|
|
|
},
|
|
|
);
|
|
|
@@ -1249,83 +1263,102 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
final aanmeldingItemItem =
|
|
|
aanmeldingItem[
|
|
|
aanmeldingItemIndex];
|
|
|
- return Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- InkWell(
|
|
|
- splashColor:
|
|
|
- Colors.transparent,
|
|
|
- focusColor:
|
|
|
- Colors.transparent,
|
|
|
- hoverColor:
|
|
|
- Colors.transparent,
|
|
|
- highlightColor:
|
|
|
- Colors.transparent,
|
|
|
- onTap: () async {
|
|
|
- if (functions
|
|
|
- .isOngepubliceerd(
|
|
|
- aanmeldingItemItem)) {
|
|
|
- ScaffoldMessenger.of(
|
|
|
- context)
|
|
|
- .showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- 'Dit item staat nog in beoordeling en is nog niet online.',
|
|
|
- style: TextStyle(
|
|
|
- color: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .primaryText,
|
|
|
+ return Padding(
|
|
|
+ padding: EdgeInsetsDirectional
|
|
|
+ .fromSTEB(
|
|
|
+ 0.0, 0.0, 0.0, 12.0),
|
|
|
+ child: Column(
|
|
|
+ mainAxisSize:
|
|
|
+ MainAxisSize.max,
|
|
|
+ children: [
|
|
|
+ InkWell(
|
|
|
+ splashColor:
|
|
|
+ Colors.transparent,
|
|
|
+ focusColor:
|
|
|
+ Colors.transparent,
|
|
|
+ hoverColor:
|
|
|
+ Colors.transparent,
|
|
|
+ highlightColor:
|
|
|
+ Colors.transparent,
|
|
|
+ onTap: () async {
|
|
|
+ if (functions
|
|
|
+ .isOngepubliceerd(
|
|
|
+ aanmeldingItemItem)) {
|
|
|
+ ScaffoldMessenger.of(
|
|
|
+ context)
|
|
|
+ .showSnackBar(
|
|
|
+ SnackBar(
|
|
|
+ content: Text(
|
|
|
+ 'Dit item staat nog in beoordeling en is nog niet online.',
|
|
|
+ style:
|
|
|
+ TextStyle(
|
|
|
+ color: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .primaryText,
|
|
|
+ ),
|
|
|
),
|
|
|
+ duration: Duration(
|
|
|
+ milliseconds:
|
|
|
+ 4000),
|
|
|
+ backgroundColor:
|
|
|
+ FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .secondary,
|
|
|
),
|
|
|
- duration: Duration(
|
|
|
- milliseconds:
|
|
|
- 4000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- } else {
|
|
|
- context.pushNamed(
|
|
|
- EventCurrentWidget
|
|
|
- .routeName,
|
|
|
- queryParameters: {
|
|
|
- 'nid':
|
|
|
- serializeParam(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.nid''',
|
|
|
- ).toString(),
|
|
|
- ParamType.String,
|
|
|
- ),
|
|
|
- 'horecaid':
|
|
|
- serializeParam(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.horecagelegenheidnid''',
|
|
|
- ).toString(),
|
|
|
- ParamType.String,
|
|
|
- ),
|
|
|
- }.withoutNulls,
|
|
|
- );
|
|
|
- }
|
|
|
- },
|
|
|
- child: Material(
|
|
|
- color: Colors.transparent,
|
|
|
- child: ListTile(
|
|
|
- title: Text(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.title''',
|
|
|
- ).toString(),
|
|
|
- style: FlutterFlowTheme
|
|
|
- .of(context)
|
|
|
- .titleLarge
|
|
|
- .override(
|
|
|
- font:
|
|
|
- GoogleFonts
|
|
|
- .roboto(
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ context.pushNamed(
|
|
|
+ EventCurrentWidget
|
|
|
+ .routeName,
|
|
|
+ queryParameters: {
|
|
|
+ 'nid':
|
|
|
+ serializeParam(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.nid''',
|
|
|
+ ).toString(),
|
|
|
+ ParamType
|
|
|
+ .String,
|
|
|
+ ),
|
|
|
+ 'horecaid':
|
|
|
+ serializeParam(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.horecagelegenheidnid''',
|
|
|
+ ).toString(),
|
|
|
+ ParamType
|
|
|
+ .String,
|
|
|
+ ),
|
|
|
+ }.withoutNulls,
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ child: Material(
|
|
|
+ color:
|
|
|
+ Colors.transparent,
|
|
|
+ child: ListTile(
|
|
|
+ title: Text(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.title''',
|
|
|
+ ).toString(),
|
|
|
+ style: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .titleLarge
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleLarge
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleLarge
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
fontWeight: FlutterFlowTheme.of(
|
|
|
context)
|
|
|
.titleLarge
|
|
|
@@ -1335,30 +1368,29 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
.titleLarge
|
|
|
.fontStyle,
|
|
|
),
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleLarge
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- subtitle: Text(
|
|
|
- getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.datum_start''',
|
|
|
- ).toString(),
|
|
|
- style: FlutterFlowTheme
|
|
|
- .of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font:
|
|
|
- GoogleFonts
|
|
|
- .roboto(
|
|
|
+ ),
|
|
|
+ subtitle: Text(
|
|
|
+ getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.datum_start''',
|
|
|
+ ).toString(),
|
|
|
+ style: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .labelMedium
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .labelMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .labelMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
fontWeight: FlutterFlowTheme.of(
|
|
|
context)
|
|
|
.labelMedium
|
|
|
@@ -1368,39 +1400,145 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
.labelMedium
|
|
|
.fontStyle,
|
|
|
),
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
+ ),
|
|
|
+ trailing: Icon(
|
|
|
+ Icons
|
|
|
+ .arrow_forward_ios_rounded,
|
|
|
+ color: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .secondaryText,
|
|
|
+ size: 24.0,
|
|
|
+ ),
|
|
|
+ tileColor: FlutterFlowTheme
|
|
|
+ .of(context)
|
|
|
+ .secondaryBackground,
|
|
|
+ dense: false,
|
|
|
+ contentPadding:
|
|
|
+ EdgeInsetsDirectional
|
|
|
+ .fromSTEB(
|
|
|
+ 12.0,
|
|
|
+ 0.0,
|
|
|
+ 12.0,
|
|
|
+ 0.0),
|
|
|
+ shape:
|
|
|
+ RoundedRectangleBorder(
|
|
|
+ borderRadius:
|
|
|
+ BorderRadius
|
|
|
+ .circular(
|
|
|
+ 8.0),
|
|
|
+ ),
|
|
|
),
|
|
|
- trailing: Icon(
|
|
|
- Icons
|
|
|
- .arrow_forward_ios_rounded,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Align(
|
|
|
+ alignment:
|
|
|
+ AlignmentDirectional(
|
|
|
+ 1.0, 0.0),
|
|
|
+ child: FFButtonWidget(
|
|
|
+ onPressed: () async {
|
|
|
+ _model.apiResultAct =
|
|
|
+ await AanmeldingKloonbronCall
|
|
|
+ .call(
|
|
|
+ sessionName:
|
|
|
+ FFAppState()
|
|
|
+ .userSessionname,
|
|
|
+ sessid: FFAppState()
|
|
|
+ .userSessionid,
|
|
|
+ nid: getJsonField(
|
|
|
+ aanmeldingItemItem,
|
|
|
+ r'''$.nid''',
|
|
|
+ ).toString(),
|
|
|
+ );
|
|
|
+
|
|
|
+ if ((_model
|
|
|
+ .apiResultAct
|
|
|
+ ?.succeeded ??
|
|
|
+ true)) {
|
|
|
+ FFAppState()
|
|
|
+ .kloonBron = (_model
|
|
|
+ .apiResultAct
|
|
|
+ ?.jsonBody ??
|
|
|
+ '');
|
|
|
+ safeSetState(() {});
|
|
|
+
|
|
|
+ context.pushNamed(
|
|
|
+ StadsactiviteitAanmakenWidget
|
|
|
+ .routeName,
|
|
|
+ queryParameters: {
|
|
|
+ 'gemeenteTid':
|
|
|
+ serializeParam(
|
|
|
+ getJsonField(
|
|
|
+ (_model.apiResultAct
|
|
|
+ ?.jsonBody ??
|
|
|
+ ''),
|
|
|
+ r'''$.gemeente_tid''',
|
|
|
+ ).toString(),
|
|
|
+ ParamType
|
|
|
+ .String,
|
|
|
+ ),
|
|
|
+ }.withoutNulls,
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ safeSetState(() {});
|
|
|
+ },
|
|
|
+ text:
|
|
|
+ FFLocalizations.of(
|
|
|
+ context)
|
|
|
+ .getText(
|
|
|
+ 'wcyy4pao' /* Kopie */,
|
|
|
+ ),
|
|
|
+ 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)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- tileColor: FlutterFlowTheme
|
|
|
- .of(context)
|
|
|
- .secondaryBackground,
|
|
|
- dense: false,
|
|
|
- contentPadding:
|
|
|
- EdgeInsetsDirectional
|
|
|
- .fromSTEB(
|
|
|
- 12.0,
|
|
|
- 0.0,
|
|
|
- 12.0,
|
|
|
- 0.0),
|
|
|
- shape:
|
|
|
- RoundedRectangleBorder(
|
|
|
+ .secondaryBackground,
|
|
|
+ textStyle:
|
|
|
+ FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .override(
|
|
|
+ font: GoogleFonts
|
|
|
+ .roboto(
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ color: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .primaryText,
|
|
|
+ letterSpacing:
|
|
|
+ 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(
|
|
|
+ context)
|
|
|
+ .titleSmall
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ elevation: 0.0,
|
|
|
borderRadius:
|
|
|
BorderRadius
|
|
|
.circular(
|
|
|
@@ -1408,114 +1546,8 @@ class _MijnProfielWidgetState extends State<MijnProfielWidget>
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
- ),
|
|
|
- FFButtonWidget(
|
|
|
- onPressed: () async {
|
|
|
- _model.apiResultAct =
|
|
|
- await AanmeldingKloonbronCall
|
|
|
- .call(
|
|
|
- sessionName: FFAppState()
|
|
|
- .userSessionname,
|
|
|
- sessid: FFAppState()
|
|
|
- .userSessionid,
|
|
|
- nid: getJsonField(
|
|
|
- aanmeldingItemItem,
|
|
|
- r'''$.nid''',
|
|
|
- ).toString(),
|
|
|
- );
|
|
|
-
|
|
|
- if ((_model.apiResultAct
|
|
|
- ?.succeeded ??
|
|
|
- true)) {
|
|
|
- FFAppState()
|
|
|
- .kloonBron = (_model
|
|
|
- .apiResultAct
|
|
|
- ?.jsonBody ??
|
|
|
- '');
|
|
|
- safeSetState(() {});
|
|
|
-
|
|
|
- context.pushNamed(
|
|
|
- StadsactiviteitAanmakenWidget
|
|
|
- .routeName,
|
|
|
- queryParameters: {
|
|
|
- 'gemeenteTid':
|
|
|
- serializeParam(
|
|
|
- getJsonField(
|
|
|
- (_model.apiResultAct
|
|
|
- ?.jsonBody ??
|
|
|
- ''),
|
|
|
- r'''$.gemeente_tid''',
|
|
|
- ).toString(),
|
|
|
- ParamType.String,
|
|
|
- ),
|
|
|
- }.withoutNulls,
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- text: FFLocalizations.of(
|
|
|
- context)
|
|
|
- .getText(
|
|
|
- 'wcyy4pao' /* Kopie */,
|
|
|
- ),
|
|
|
- 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)
|
|
|
- .secondaryBackground,
|
|
|
- textStyle:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .override(
|
|
|
- font:
|
|
|
- GoogleFonts
|
|
|
- .roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- color: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .primaryText,
|
|
|
- letterSpacing:
|
|
|
- 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- elevation: 0.0,
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(
|
|
|
- 8.0),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
+ ],
|
|
|
+ ),
|
|
|
);
|
|
|
},
|
|
|
);
|