Selaa lähdekoodia

Home/pUitgaanPage: AppBar aan palet, dubbele hamburger weg, P1-38 afgevinkt

Restpunten na P1-33, alle drie op verzoek van Bob:

- AppBar-achtergrond #3E454C stond hardcoded op home en pUitgaanPage.
  Dat is de juiste merkkleur (leisteen), maar hangt nu aan het token
  primaryText - zelfde kleur, wel centraal aanstuurbaar. De enige
  resterende hardcoded #3E454C zit in kanweg_home_copy (dood).

- home had een eigen hamburger-IconButton in de flexibleSpace-titel
  bovenop de HeaderButtonsComponent die daar al stond, dus twee
  knoppen over elkaar. De pagina-eigen knop is verwijderd; de knop uit
  de component blijft. De Row die alleen die knop droeg is ook weg,
  waardoor FlexibleSpaceBar nu enkel nog een background heeft.

- P1-38 (lichtroze vlak #F5A2A2 met rand #CAC3C3 rond de Home-slider)
  bleek al gefixt in de builder; de fix zat in de export die met
  dca80c4 is meegekomen, maar was nooit afgevinkt. Taak verwijderd uit
  TASKS.md. Let op: de Container houdt nog een Border.all(width: 0.0)
  over, wat in Flutter een zwarte haarlijn tekent - apart bekijken.

Geverifieerd via verse export; dart analyze geeft 0 errors. Bevat ook
de custom action evenementCreate en stadsactiviteit_aanmaken_copy van
de sessie die aan P2-15 werkt.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
bob 2 viikkoa sitten
vanhempi
commit
30deaddbc2

+ 0 - 26
TASKS.md

@@ -3447,31 +3447,5 @@ kaart van 960 dp breed. Verdient dezelfde breekpunt-behandeling
 
 ---
 
-**P1-38 · Eigenaar: Bob (1 kleurwaarde) — past bij het P1-32/P1-33-
-kleurwerk.** Rond de slider op de Home-pagina staat een **lichtroze
-vlak met een grijze rand**, zichtbaar op élk schermformaat (bevestigd
-op zowel telefoon- als tabletformaat, 2026-08-31).
-
-`home_widget.dart:187-195`:
-```
-Container(
-  height: 250.0,
-  decoration: BoxDecoration(
-    color: Color(0xFFF5A2A2),
-    border: Border.all(color: Color(0xFFCAC3C3), width: 2.0),
-  ),
-```
-`#F5A2A2` en `#CAC3C3` komen in geen van beide merkpaletten voor (zie
-het merk-DNA in `CLAUDE.md`: #9A141D, #FF680D, #3E454C, #09B34A,
-#F2F2F2) en staan ook niet in `flutter_flow_theme.dart`. Ziet eruit als
-een achtergebleven hulpkleur om de slider-container zichtbaar te maken
-tijdens het bouwen. Omdat de carousel-kaarten de vaste hoogte van 250
-dp niet vullen, is het vlak er duidelijk omheen te zien.
-
-*Fix:* de `Fill Color` van deze container op transparant zetten (of op
-`#F2F2F2` als er bewust een rustvlak achter de slider moet), en de
-2px-rand weghalen. Eén widget, één eigenschap.
-
----
 
 

+ 1 - 1
android/app/build.gradle

@@ -58,7 +58,7 @@ android {
     defaultConfig {
         // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
         applicationId "com.uitgaanskrant.app"
-        minSdkVersion flutter.minSdkVersion
+        minSdkVersion 23
         targetSdkVersion 36
         versionCode flutterVersionCode.toInteger()
         versionName flutterVersionName

+ 2 - 2
android/build.gradle

@@ -43,6 +43,6 @@ subprojects {
     project.evaluationDependsOn(':app')
 }
 
-tasks.register("clean", Delete) {
-    delete rootProject.layout.buildDirectory
+task clean(type: Delete) {
+    delete rootProject.buildDir
 }

+ 4 - 4
ios/Runner.xcodeproj/project.pbxproj

@@ -49,8 +49,8 @@
 		97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
 		97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
 		97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6436409D27A31CDC00820AF7 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
-		6436409E27A31CD600820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+		6436409327A31CDB00820AF7 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+		6436409D27A31CD300820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 		97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		A9C17DEFA21738E5FBD7F54A /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
 		B8285832C7E7A3262A5A897C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -317,8 +317,8 @@
 		6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
 			isa = PBXVariantGroup;
 			children = (
-				6436409D27A31CDC00820AF7 /* nl */,
-				6436409E27A31CD600820AF7 /* en */,
+				6436409327A31CDB00820AF7 /* nl */,
+				6436409D27A31CD300820AF7 /* en */,
 			);
 			name = InfoPlist.strings;
 			sourceTree = "<group>";

+ 1 - 1
lib/backend/api_requests/api_calls.dart

@@ -1117,7 +1117,7 @@ class MijnStadsrechtenCall {
       apiUrl: 'https://uitgaanskrant.com/en/flutterdrup/mijn_stadsrechten.json',
       callType: ApiCallType.GET,
       headers: {
-        'Cookie': '{{session_name}}={{sessid}}',
+        'Cookie': '${sessionName}=${sessid}',
         'Accept': 'application/json',
       },
       params: {},

+ 161 - 0
lib/custom_code/actions/evenement_create.dart

@@ -0,0 +1,161 @@
+// Automatic FlutterFlow imports
+import '/backend/schema/structs/index.dart';
+import '/flutter_flow/flutter_flow_theme.dart';
+import '/flutter_flow/flutter_flow_util.dart';
+import 'index.dart'; // Imports other custom actions
+import '/flutter_flow/custom_functions.dart'; // Imports custom functions
+import 'package:flutter/material.dart';
+// Begin custom action code
+// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
+
+import 'dart:async';
+import 'dart:convert';
+import 'package:http/http.dart' as http;
+
+Future<dynamic> evenementCreate(
+  String sessionName,
+  String sessionId,
+  String token,
+  String horecagelegenheidNid,
+  String titel,
+  String datumStart,
+  String? datumEind,
+  String? omschrijving,
+  String? entreeTid,
+  String? entreePrijs,
+  String? toelichtingEntree,
+  String? ticketsUrl,
+  String? websiteUrl,
+  List<String>? categorieTids,
+  String? logoFid,
+  List<String>? fotosFids,
+) async {
+  final horecaNidInt = int.tryParse(horecagelegenheidNid.trim());
+  if (horecaNidInt == null) {
+    return {'success': false, 'error': 'Kies eerst een horecagelegenheid'};
+  }
+  if (titel.trim().isEmpty) {
+    return {'success': false, 'error': 'Titel is verplicht'};
+  }
+  if (datumStart.trim().isEmpty) {
+    return {'success': false, 'error': 'Datum is verplicht'};
+  }
+
+  final body = <String, dynamic>{
+    'horecagelegenheid_nid': horecaNidInt,
+    'titel': titel.trim(),
+    'datum_start': datumStart.trim(),
+  };
+
+  if ((datumEind ?? '').trim().isNotEmpty) {
+    body['datum_eind'] = datumEind!.trim();
+  }
+  if ((omschrijving ?? '').trim().isNotEmpty) {
+    body['omschrijving'] = omschrijving!.trim();
+  }
+  if ((entreeTid ?? '').trim().isNotEmpty) {
+    final tid = int.tryParse(entreeTid!.trim());
+    if (tid != null) body['entree_tid'] = tid;
+  }
+  if ((entreePrijs ?? '').trim().isNotEmpty) {
+    body['entree_prijs'] = entreePrijs!.trim();
+  }
+  if ((toelichtingEntree ?? '').trim().isNotEmpty) {
+    body['toelichting_entree'] = toelichtingEntree!.trim();
+  }
+  if ((ticketsUrl ?? '').trim().isNotEmpty) {
+    body['tickets_url'] = ticketsUrl!.trim();
+  }
+  if ((websiteUrl ?? '').trim().isNotEmpty) {
+    body['website_url'] = websiteUrl!.trim();
+  }
+  if (categorieTids != null && categorieTids.isNotEmpty) {
+    final tids = categorieTids
+        .map((e) => int.tryParse(e.trim()))
+        .whereType<int>()
+        .toList();
+    if (tids.isNotEmpty) body['categorie_tids'] = tids;
+  }
+  if ((logoFid ?? '').trim().isNotEmpty) {
+    final fid = int.tryParse(logoFid!.trim());
+    if (fid != null) body['logo_fid'] = fid;
+  }
+  if (fotosFids != null && fotosFids.isNotEmpty) {
+    final fids =
+        fotosFids.map((e) => int.tryParse(e.trim())).whereType<int>().toList();
+    if (fids.isNotEmpty) body['fotos_fids'] = fids;
+  }
+
+  final headers = <String, String>{
+    'Accept': 'application/json',
+    'Content-Type': 'application/json',
+  };
+  if (sessionName.trim().isNotEmpty && sessionId.trim().isNotEmpty) {
+    headers['Cookie'] = '$sessionName=$sessionId';
+  }
+  if (token.trim().isNotEmpty) {
+    headers['X-CSRF-Token'] = token;
+  }
+
+  final base = FFAppState().apiBaseUrl.trim().isEmpty
+      ? 'https://uitgaanskrant.com'
+      : FFAppState().apiBaseUrl.trim();
+  final url = '$base/en/flutterdrup/evenementen/create.json';
+  print('========================================');
+  print('EVENEMENT CREATE');
+  print('URL  : $url');
+  print('BODY : ${jsonEncode(body)}');
+  print('========================================');
+
+  try {
+    final response = await http
+        .post(Uri.parse(url), headers: headers, body: jsonEncode(body))
+        .timeout(const Duration(seconds: 30));
+
+    print('========================================');
+    print('STATUS : ${response.statusCode}');
+    print('BODY');
+    print(response.body);
+    print('========================================');
+
+    dynamic data;
+    try {
+      data = jsonDecode(response.body);
+    } catch (_) {
+      data = response.body;
+    }
+
+    if (response.statusCode >= 200 && response.statusCode < 300) {
+      return {
+        'success': true,
+        'nid': data is Map ? (data['nid']?.toString() ?? '') : '',
+        'status': data is Map ? (data['status']?.toString() ?? '') : '',
+      };
+    }
+
+    if (response.statusCode == 403) {
+      return {
+        'success': false,
+        'statusCode': 403,
+        'error': 'Deze horecagelegenheid is niet van jou',
+      };
+    }
+
+    return {
+      'success': false,
+      'statusCode': response.statusCode,
+      'error': data is Map
+          ? ((data['message'] ?? data['error'] ?? data).toString())
+          : data.toString(),
+    };
+  } on TimeoutException {
+    return {'success': false, 'error': 'Timeout'};
+  } catch (e, stack) {
+    print(e);
+    print(stack);
+    return {'success': false, 'error': e.toString()};
+  }
+}
+
+// Set your action name, define your arguments and return parameter,
+// and then add the boilerplate code using the `</>` button on the right!

+ 1 - 0
lib/custom_code/actions/index.dart

@@ -4,3 +4,4 @@ export 'get_favoriete_gemeenten.dart' show getFavorieteGemeenten;
 export 'bestand_upload.dart' show bestandUpload;
 export 'stadsactiviteit_create.dart' show stadsactiviteitCreate;
 export 'fetch_alle_horecagelegenheden.dart' show fetchAlleHorecagelegenheden;
+export 'evenement_create.dart' show evenementCreate;

+ 191 - 0
lib/flutter_flow/internationalization.dart

@@ -888,6 +888,197 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
       'en': '',
     },
   },
+  // stadsactiviteitAanmakenCopy
+  {
+    'o473p6g8': {
+      'nl': 'Titel',
+      'en': '',
+    },
+    'lsenykax': {
+      'nl': 'Titel activiteit',
+      'en': 'Titel activiteit',
+    },
+    'yorc3tne': {
+      'nl': 'Datum',
+      'en': 'Datum',
+    },
+    '33igsjut': {
+      'nl': 'Datum',
+      'en': 'Datum',
+    },
+    'd9hg44rm': {
+      'nl': 'Datum eind',
+      'en': 'Datum eind',
+    },
+    'jm17ji0v': {
+      'nl': 'Datum eind',
+      'en': 'Datum eind',
+    },
+    '88zmxj8z': {
+      'nl': 'Omschrijving',
+      'en': 'Description',
+    },
+    'y2p5ms10': {
+      'nl': 'Omschrijving activiteit',
+      'en': 'Omschrijving activiteit',
+    },
+    'w0dllnir': {
+      'nl': 'Organisator',
+      'en': 'Organisator',
+    },
+    'h57493zr': {
+      'nl': 'Organisator van de activiteit',
+      'en': 'Organisator van de activiteit',
+    },
+    'ltixu8mk': {
+      'nl': 'Contact',
+      'en': '',
+    },
+    'nb3i5f4l': {
+      'nl': 'Contact email/telefoon',
+      'en': 'Contact email/telefoon',
+    },
+    '1f4hkc3a': {
+      'nl': 'Adres',
+      'en': 'Adres',
+    },
+    'b4yean7l': {
+      'nl': 'Adres',
+      'en': 'Adres',
+    },
+    'mu6nnyxd': {
+      'nl': 'Postcode',
+      'en': '',
+    },
+    '5a7q3x23': {
+      'nl': 'Postcode',
+      'en': 'Postcode',
+    },
+    'wrg9579c': {
+      'nl': 'Plaats',
+      'en': 'Plaats',
+    },
+    'rmppshbi': {
+      'nl': 'Plaats activiteit',
+      'en': 'Plaats activiteit',
+    },
+    'qmht9po1': {
+      'nl': 'Entreeprijs',
+      'en': 'Entreeprijs',
+    },
+    'wtohb4oz': {
+      'nl': 'Entreeprijs',
+      'en': 'Entreeprijs',
+    },
+    'zkwsei6h': {
+      'nl': 'Toelichting Entree',
+      'en': 'Toelichting Entree',
+    },
+    'v3bphll8': {
+      'nl': 'WebsiteURL',
+      'en': '',
+    },
+    'lzloucnq': {
+      'nl': 'Website van de activiteit',
+      'en': 'Website van de activiteit',
+    },
+    'tolg0smu': {
+      'nl': 'Mijn gemeenten',
+      'en': '',
+    },
+    'pj2xl56o': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    '5ckcryo7': {
+      'nl': 'Select...',
+      'en': '',
+    },
+    '6vzkzfl1': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    '93rsdlge': {
+      'nl': 'Select...',
+      'en': '',
+    },
+    '265czez1': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    'kju4i0bj': {
+      'nl': 'Option 1',
+      'en': '',
+    },
+    'tw7l7ow9': {
+      'nl': 'Select...',
+      'en': '',
+    },
+    '7dou6u6i': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    'e2207cmo': {
+      'nl': 'Option 1',
+      'en': '',
+    },
+    'aqazs00f': {
+      'nl': 'Select...',
+      'en': '',
+    },
+    'md9t69om': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    'seywkdpv': {
+      'nl': 'Option 1',
+      'en': '',
+    },
+    'p4bdebh1': {
+      'nl': 'Option 2',
+      'en': '',
+    },
+    '0j30961w': {
+      'nl': 'Option 3',
+      'en': '',
+    },
+    'ogqvzuz7': {
+      'nl': 'Select...',
+      'en': '',
+    },
+    '61an5roc': {
+      'nl': 'Search...',
+      'en': '',
+    },
+    '6d91rk4z': {
+      'nl': 'Option 1',
+      'en': '',
+    },
+    'jnnbqoy9': {
+      'nl': 'Option 2',
+      'en': '',
+    },
+    'e3yxnqy7': {
+      'nl': 'Option 3',
+      'en': '',
+    },
+    'lwh5yuoo': {
+      'nl': 'Logo kiezen',
+      'en': 'Logo kiezen',
+    },
+    'dv8uaucz': {
+      'nl': 'Foto\'s kiezen',
+      'en': 'Foto\'s kiezen',
+    },
+    'ixfoq44x': {
+      'nl': 'Activiteit indienen',
+      'en': 'Activiteit indienen',
+    },
+    'kma48gof': {
+      'nl': 'Home',
+      'en': 'Home',
+    },
+  },
   // SelectStateDropDownComponent
   {
     'duloakue': {

+ 8 - 1
lib/flutter_flow/nav/nav.dart

@@ -68,7 +68,9 @@ const debugRouteLinkMap = {
   '/horecagelegenhedenOverzichtCopy2Copy':
       'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=HorecagelegenhedenOverzichtCopy2Copy',
   '/kanwegHomeCopy':
-      'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=kanwegHomeCopy'
+      'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=kanwegHomeCopy',
+  '/stadsactiviteitAanmakenCopy':
+      'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy'
 };
 
 class AppStateNotifier extends ChangeNotifier {
@@ -305,6 +307,11 @@ GoRouter createRouter(AppStateNotifier appStateNotifier) => GoRouter(
           name: KanwegHomeCopyWidget.routeName,
           path: KanwegHomeCopyWidget.routePath,
           builder: (context, params) => KanwegHomeCopyWidget(),
+        ),
+        FFRoute(
+          name: StadsactiviteitAanmakenCopyWidget.routeName,
+          path: StadsactiviteitAanmakenCopyWidget.routePath,
+          builder: (context, params) => StadsactiviteitAanmakenCopyWidget(),
         )
       ].map((r) => r.toRoute(appStateNotifier)).toList(),
       observers: [routeObserver],

+ 2 - 0
lib/index.dart

@@ -34,3 +34,5 @@ export '/horecagelegenhedenoverzicht/horecagelegenheden_overzicht_copy2_copy/hor
     show HorecagelegenhedenOverzichtCopy2CopyWidget;
 export '/kanweg/kanweg_home_copy/kanweg_home_copy_widget.dart'
     show KanwegHomeCopyWidget;
+export '/stadsactiviteit_aanmaken_copy/stadsactiviteit_aanmaken_copy_widget.dart'
+    show StadsactiviteitAanmakenCopyWidget;

+ 5 - 5
lib/stadsactiviteit_aanmaken/stadsactiviteit_aanmaken_model.dart

@@ -233,8 +233,8 @@ class StadsactiviteitAanmakenModel
   String? get dropDownEntreeValue => _dropDownEntreeValue;
 
   FormFieldController<String>? dropDownEntreeValueController;
-  bool isDataUploading_uploadDataCnm = false;
-  FFUploadedFile uploadedLocalFile_uploadDataCnm =
+  bool isDataUploading_uploadDatalogoUpload = false;
+  FFUploadedFile uploadedLocalFile_uploadDatalogoUpload =
       FFUploadedFile(bytes: Uint8List.fromList([]), originalFilename: '');
 
   // Stores action output result for [Custom Action - bestandUpload] action in ButtonLogo widget.
@@ -246,8 +246,8 @@ class StadsactiviteitAanmakenModel
 
   dynamic? get logouploadResult => _logouploadResult;
 
-  bool isDataUploading_uploadDataFotoos = false;
-  FFUploadedFile uploadedLocalFile_uploadDataFotoos =
+  bool isDataUploading_uploadDataFotoos2 = false;
+  FFUploadedFile uploadedLocalFile_uploadDataFotoos2 =
       FFUploadedFile(bytes: Uint8List.fromList([]), originalFilename: '');
 
   // Stores action output result for [Custom Action - bestandUpload] action in ButtonFotos widget.
@@ -365,7 +365,7 @@ class StadsactiviteitAanmakenModel
             link:
                 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmaken',
             searchReference:
-                'reference=QiQKGAoPY3JlYXRlRW50cmVlVGlkEgU2cm90YSoCEgByBAgDIAFQAVoPY3JlYXRlRW50cmVlVGlkYhdzdGFkc2FjdGl2aXRlaXRBYW5tYWtlbg==',
+                'reference=QiQKGAoPY3JlYXRlRW50cmVlVGlkEgU2cm90YSoCEgByBAgDIABQAVoPY3JlYXRlRW50cmVlVGlkYhdzdGFkc2FjdGl2aXRlaXRBYW5tYWtlbg==',
             name: 'String',
             nullable: true,
           ),

+ 12 - 12
lib/stadsactiviteit_aanmaken/stadsactiviteit_aanmaken_widget.dart

@@ -2274,7 +2274,7 @@ class _StadsactiviteitAanmakenWidgetState
                                   FormListFieldController<String>(null),
                           options: List<String>.from((getJsonField(
                             dropDownCategorieenCategorieenResponse.jsonBody,
-                            r'''$[:].tid''',
+                            r'''$[?(@.diepte == 1)].tid''',
                             true,
                           ) as List?)!
                               .map<String>((e) => e.toString())
@@ -2282,7 +2282,7 @@ class _StadsactiviteitAanmakenWidgetState
                               .cast<String>()),
                           optionLabels: (getJsonField(
                             dropDownCategorieenCategorieenResponse.jsonBody,
-                            r'''$[:].naam''',
+                            r'''$[?(@.diepte == 1)].naam''',
                             true,
                           ) as List?)!
                               .map<String>((e) => e.toString())
@@ -2469,8 +2469,8 @@ class _StadsactiviteitAanmakenWidgetState
                         if (selectedMedia != null &&
                             selectedMedia.every((m) =>
                                 validateFileFormat(m.storagePath, context))) {
-                          safeSetState(() =>
-                              _model.isDataUploading_uploadDataCnm = true);
+                          safeSetState(() => _model
+                              .isDataUploading_uploadDatalogoUpload = true);
                           var selectedUploadedFiles = <FFUploadedFile>[];
 
                           try {
@@ -2485,12 +2485,12 @@ class _StadsactiviteitAanmakenWidgetState
                                     ))
                                 .toList();
                           } finally {
-                            _model.isDataUploading_uploadDataCnm = false;
+                            _model.isDataUploading_uploadDatalogoUpload = false;
                           }
                           if (selectedUploadedFiles.length ==
                               selectedMedia.length) {
                             safeSetState(() {
-                              _model.uploadedLocalFile_uploadDataCnm =
+                              _model.uploadedLocalFile_uploadDatalogoUpload =
                                   selectedUploadedFiles.first;
                             });
                           } else {
@@ -2500,7 +2500,7 @@ class _StadsactiviteitAanmakenWidgetState
                         }
 
                         _model.logouploadResult = await actions.bestandUpload(
-                          _model.uploadedLocalFile_uploadDataCnm,
+                          _model.uploadedLocalFile_uploadDatalogoUpload,
                           'https://uitgaanskrant.com/en/flutterdrup/bestand_upload/upload.json',
                           FFAppState().userSessionname,
                           FFAppState().userSessionid,
@@ -2561,8 +2561,8 @@ class _StadsactiviteitAanmakenWidgetState
                           if (selectedMedia != null &&
                               selectedMedia.every((m) =>
                                   validateFileFormat(m.storagePath, context))) {
-                            safeSetState(() =>
-                                _model.isDataUploading_uploadDataFotoos = true);
+                            safeSetState(() => _model
+                                .isDataUploading_uploadDataFotoos2 = true);
                             var selectedUploadedFiles = <FFUploadedFile>[];
 
                             try {
@@ -2577,12 +2577,12 @@ class _StadsactiviteitAanmakenWidgetState
                                       ))
                                   .toList();
                             } finally {
-                              _model.isDataUploading_uploadDataFotoos = false;
+                              _model.isDataUploading_uploadDataFotoos2 = false;
                             }
                             if (selectedUploadedFiles.length ==
                                 selectedMedia.length) {
                               safeSetState(() {
-                                _model.uploadedLocalFile_uploadDataFotoos =
+                                _model.uploadedLocalFile_uploadDataFotoos2 =
                                     selectedUploadedFiles.first;
                               });
                             } else {
@@ -2592,7 +2592,7 @@ class _StadsactiviteitAanmakenWidgetState
                           }
 
                           _model.fotouploadResult = await actions.bestandUpload(
-                            _model.uploadedLocalFile_uploadDataFotoos,
+                            _model.uploadedLocalFile_uploadDataFotoos2,
                             'https://uitgaanskrant.com/en/flutterdrup/bestand_upload/upload.json',
                             FFAppState().userSessionname,
                             FFAppState().userSessionid,

+ 583 - 0
lib/stadsactiviteit_aanmaken_copy/stadsactiviteit_aanmaken_copy_model.dart

@@ -0,0 +1,583 @@
+import '/backend/api_requests/api_calls.dart';
+import '/flutter_flow/flutter_flow_drop_down.dart';
+import '/flutter_flow/flutter_flow_theme.dart';
+import '/flutter_flow/flutter_flow_util.dart';
+import '/flutter_flow/flutter_flow_widgets.dart';
+import '/flutter_flow/form_field_controller.dart';
+import '/flutter_flow/upload_data.dart';
+import 'dart:ui';
+import '/backend/schema/structs/index.dart';
+import '/custom_code/actions/index.dart' as actions;
+import '/flutter_flow/custom_functions.dart' as functions;
+import 'stadsactiviteit_aanmaken_copy_widget.dart'
+    show StadsactiviteitAanmakenCopyWidget;
+import 'package:flutter/foundation.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';
+
+class StadsactiviteitAanmakenCopyModel
+    extends FlutterFlowModel<StadsactiviteitAanmakenCopyWidget> {
+  ///  Local state fields for this page.
+
+  String? _createProvincieID;
+  set createProvincieID(String? value) {
+    _createProvincieID = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get createProvincieID => _createProvincieID;
+
+  String? _createGemeenteID;
+  set createGemeenteID(String? value) {
+    _createGemeenteID = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get createGemeenteID => _createGemeenteID;
+
+  String? _createPlaatsID;
+  set createPlaatsID(String? value) {
+    _createPlaatsID = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get createPlaatsID => _createPlaatsID;
+
+  late LoggableList<String> _createCategorieTids = LoggableList([]);
+  set createCategorieTids(List<String> value) {
+    if (value != null) {
+      _createCategorieTids = LoggableList(value);
+    }
+
+    debugLogWidgetClass(this);
+  }
+
+  List<String> get createCategorieTids =>
+      _createCategorieTids?..logger = () => debugLogWidgetClass(this);
+  void addToCreateCategorieTids(String item) => createCategorieTids.add(item);
+  void removeFromCreateCategorieTids(String item) =>
+      createCategorieTids.remove(item);
+  void removeAtIndexFromCreateCategorieTids(int index) =>
+      createCategorieTids.removeAt(index);
+  void insertAtIndexInCreateCategorieTids(int index, String item) =>
+      createCategorieTids.insert(index, item);
+  void updateCreateCategorieTidsAtIndex(int index, Function(String) updateFn) =>
+      createCategorieTids[index] = updateFn(createCategorieTids[index]);
+
+  String? _createEntreeTid;
+  set createEntreeTid(String? value) {
+    _createEntreeTid = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get createEntreeTid => _createEntreeTid;
+
+  String? _createLogoFid;
+  set createLogoFid(String? value) {
+    _createLogoFid = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get createLogoFid => _createLogoFid;
+
+  late LoggableList<String> _createFotosFids = LoggableList([]);
+  set createFotosFids(List<String> value) {
+    if (value != null) {
+      _createFotosFids = LoggableList(value);
+    }
+
+    debugLogWidgetClass(this);
+  }
+
+  List<String> get createFotosFids =>
+      _createFotosFids?..logger = () => debugLogWidgetClass(this);
+  void addToCreateFotosFids(String item) => createFotosFids.add(item);
+  void removeFromCreateFotosFids(String item) => createFotosFids.remove(item);
+  void removeAtIndexFromCreateFotosFids(int index) =>
+      createFotosFids.removeAt(index);
+  void insertAtIndexInCreateFotosFids(int index, String item) =>
+      createFotosFids.insert(index, item);
+  void updateCreateFotosFidsAtIndex(int index, Function(String) updateFn) =>
+      createFotosFids[index] = updateFn(createFotosFids[index]);
+
+  ///  State fields for stateful widgets in this page.
+
+  // State field(s) for TextFieldTitel widget.
+  FocusNode? textFieldTitelFocusNode;
+  TextEditingController? textFieldTitelTextController;
+  String? Function(BuildContext, String?)?
+      textFieldTitelTextControllerValidator;
+  DateTime? datePicked1;
+  // State field(s) for TextFieldDatumStart widget.
+  FocusNode? textFieldDatumStartFocusNode;
+  TextEditingController? textFieldDatumStartTextController;
+  String? Function(BuildContext, String?)?
+      textFieldDatumStartTextControllerValidator;
+  DateTime? datePicked2;
+  // State field(s) for TextFieldDatumEind widget.
+  FocusNode? textFieldDatumEindFocusNode;
+  TextEditingController? textFieldDatumEindTextController;
+  String? Function(BuildContext, String?)?
+      textFieldDatumEindTextControllerValidator;
+  // State field(s) for TextFieldOmschrijving widget.
+  FocusNode? textFieldOmschrijvingFocusNode;
+  TextEditingController? textFieldOmschrijvingTextController;
+  String? Function(BuildContext, String?)?
+      textFieldOmschrijvingTextControllerValidator;
+  // State field(s) for TextFieldOrganisator widget.
+  FocusNode? textFieldOrganisatorFocusNode;
+  TextEditingController? textFieldOrganisatorTextController;
+  String? Function(BuildContext, String?)?
+      textFieldOrganisatorTextControllerValidator;
+  // State field(s) for TextFieldContact widget.
+  FocusNode? textFieldContactFocusNode;
+  TextEditingController? textFieldContactTextController;
+  String? Function(BuildContext, String?)?
+      textFieldContactTextControllerValidator;
+  // State field(s) for TextFieldAdres widget.
+  FocusNode? textFieldAdresFocusNode;
+  TextEditingController? textFieldAdresTextController;
+  String? Function(BuildContext, String?)?
+      textFieldAdresTextControllerValidator;
+  // State field(s) for TextFieldPostcode widget.
+  FocusNode? textFieldPostcodeFocusNode;
+  TextEditingController? textFieldPostcodeTextController;
+  String? Function(BuildContext, String?)?
+      textFieldPostcodeTextControllerValidator;
+  // State field(s) for TextFieldPlaats widget.
+  FocusNode? textFieldPlaatsFocusNode;
+  TextEditingController? textFieldPlaatsTextController;
+  String? Function(BuildContext, String?)?
+      textFieldPlaatsTextControllerValidator;
+  // State field(s) for TextFieldEntreeprijs widget.
+  FocusNode? textFieldEntreeprijsFocusNode;
+  TextEditingController? textFieldEntreeprijsTextController;
+  String? Function(BuildContext, String?)?
+      textFieldEntreeprijsTextControllerValidator;
+  // State field(s) for TextFieldToelichtingEntree widget.
+  FocusNode? textFieldToelichtingEntreeFocusNode;
+  TextEditingController? textFieldToelichtingEntreeTextController;
+  String? Function(BuildContext, String?)?
+      textFieldToelichtingEntreeTextControllerValidator;
+  // State field(s) for TextFieldWebsiteURL widget.
+  FocusNode? textFieldWebsiteURLFocusNode;
+  TextEditingController? textFieldWebsiteURLTextController;
+  String? Function(BuildContext, String?)?
+      textFieldWebsiteURLTextControllerValidator;
+  // State field(s) for DropDownGemeenten-mijngemeenten widget.
+  String? _dropDownGemeentenMijngemeentenValue;
+  set dropDownGemeentenMijngemeentenValue(String? value) {
+    _dropDownGemeentenMijngemeentenValue = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get dropDownGemeentenMijngemeentenValue =>
+      _dropDownGemeentenMijngemeentenValue;
+
+  FormFieldController<String>? dropDownGemeentenMijngemeentenValueController;
+  // State field(s) for DropDownProvincie widget.
+  String? _dropDownProvincieValue;
+  set dropDownProvincieValue(String? value) {
+    _dropDownProvincieValue = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get dropDownProvincieValue => _dropDownProvincieValue;
+
+  FormFieldController<String>? dropDownProvincieValueController;
+  // State field(s) for DropDownGemeente widget.
+  String? _dropDownGemeenteValue;
+  set dropDownGemeenteValue(String? value) {
+    _dropDownGemeenteValue = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get dropDownGemeenteValue => _dropDownGemeenteValue;
+
+  FormFieldController<String>? dropDownGemeenteValueController;
+  // State field(s) for DropDownPlaats widget.
+  String? _dropDownPlaatsValue;
+  set dropDownPlaatsValue(String? value) {
+    _dropDownPlaatsValue = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get dropDownPlaatsValue => _dropDownPlaatsValue;
+
+  FormFieldController<String>? dropDownPlaatsValueController;
+  // State field(s) for DropDownCategorieen widget.
+  LoggableList<String>? _dropDownCategorieenValue;
+  set dropDownCategorieenValue(List<String>? value) {
+    if (value != null) {
+      _dropDownCategorieenValue = LoggableList(value);
+    } else {
+      _dropDownCategorieenValue = null;
+    }
+
+    debugLogWidgetClass(this);
+  }
+
+  List<String>? get dropDownCategorieenValue =>
+      _dropDownCategorieenValue?..logger = () => debugLogWidgetClass(this);
+
+  FormFieldController<List<String>>? dropDownCategorieenValueController;
+  // State field(s) for DropDownEntree widget.
+  String? _dropDownEntreeValue;
+  set dropDownEntreeValue(String? value) {
+    _dropDownEntreeValue = value;
+    debugLogWidgetClass(this);
+  }
+
+  String? get dropDownEntreeValue => _dropDownEntreeValue;
+
+  FormFieldController<String>? dropDownEntreeValueController;
+  bool isDataUploading_uploadDataCnm = false;
+  FFUploadedFile uploadedLocalFile_uploadDataCnm =
+      FFUploadedFile(bytes: Uint8List.fromList([]), originalFilename: '');
+
+  // Stores action output result for [Custom Action - bestandUpload] action in ButtonLogo widget.
+  dynamic? _logouploadResult;
+  set logouploadResult(dynamic? value) {
+    _logouploadResult = value;
+    debugLogWidgetClass(this);
+  }
+
+  dynamic? get logouploadResult => _logouploadResult;
+
+  bool isDataUploading_uploadDataFotoos3 = false;
+  FFUploadedFile uploadedLocalFile_uploadDataFotoos3 =
+      FFUploadedFile(bytes: Uint8List.fromList([]), originalFilename: '');
+
+  // Stores action output result for [Custom Action - bestandUpload] action in ButtonFotos widget.
+  dynamic? _fotouploadResult;
+  set fotouploadResult(dynamic? value) {
+    _fotouploadResult = value;
+    debugLogWidgetClass(this);
+  }
+
+  dynamic? get fotouploadResult => _fotouploadResult;
+
+  // Stores action output result for [Custom Action - stadsactiviteitCreate] action in ButtonIndienen widget.
+  dynamic? _createResult;
+  set createResult(dynamic? value) {
+    _createResult = value;
+    debugLogWidgetClass(this);
+  }
+
+  dynamic? get createResult => _createResult;
+
+  final Map<String, DebugDataField> debugGeneratorVariables = {};
+  final Map<String, DebugDataField> debugBackendQueries = {};
+  final Map<String, FlutterFlowModel> widgetBuilderComponents = {};
+  @override
+  void initState(BuildContext context) {
+    debugLogWidgetClass(this);
+  }
+
+  @override
+  void dispose() {
+    textFieldTitelFocusNode?.dispose();
+    textFieldTitelTextController?.dispose();
+
+    textFieldDatumStartFocusNode?.dispose();
+    textFieldDatumStartTextController?.dispose();
+
+    textFieldDatumEindFocusNode?.dispose();
+    textFieldDatumEindTextController?.dispose();
+
+    textFieldOmschrijvingFocusNode?.dispose();
+    textFieldOmschrijvingTextController?.dispose();
+
+    textFieldOrganisatorFocusNode?.dispose();
+    textFieldOrganisatorTextController?.dispose();
+
+    textFieldContactFocusNode?.dispose();
+    textFieldContactTextController?.dispose();
+
+    textFieldAdresFocusNode?.dispose();
+    textFieldAdresTextController?.dispose();
+
+    textFieldPostcodeFocusNode?.dispose();
+    textFieldPostcodeTextController?.dispose();
+
+    textFieldPlaatsFocusNode?.dispose();
+    textFieldPlaatsTextController?.dispose();
+
+    textFieldEntreeprijsFocusNode?.dispose();
+    textFieldEntreeprijsTextController?.dispose();
+
+    textFieldToelichtingEntreeFocusNode?.dispose();
+    textFieldToelichtingEntreeTextController?.dispose();
+
+    textFieldWebsiteURLFocusNode?.dispose();
+    textFieldWebsiteURLTextController?.dispose();
+  }
+
+  @override
+  WidgetClassDebugData toWidgetClassDebugData() => WidgetClassDebugData(
+        localStates: {
+          'createProvincieID': debugSerializeParam(
+            createProvincieID,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiYKGgoRY3JlYXRlUHJvdmluY2llSUQSBXIwb2E2KgISAHIECAMgAFABWhFjcmVhdGVQcm92aW5jaWVJRGIbc3RhZHNhY3Rpdml0ZWl0QWFubWFrZW5Db3B5',
+            name: 'String',
+            nullable: true,
+          ),
+          'createGemeenteID': debugSerializeParam(
+            createGemeenteID,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiUKGQoQY3JlYXRlR2VtZWVudGVJRBIFYmFwZW0qAhIAcgQIAyAAUAFaEGNyZWF0ZUdlbWVlbnRlSURiG3N0YWRzYWN0aXZpdGVpdEFhbm1ha2VuQ29weQ==',
+            name: 'String',
+            nullable: true,
+          ),
+          'createPlaatsID': debugSerializeParam(
+            createPlaatsID,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiMKFwoOY3JlYXRlUGxhYXRzSUQSBWd6bW1uKgISAHIECAMgAFABWg5jcmVhdGVQbGFhdHNJRGIbc3RhZHNhY3Rpdml0ZWl0QWFubWFrZW5Db3B5',
+            name: 'String',
+            nullable: true,
+          ),
+          'createCategorieTids': debugSerializeParam(
+            createCategorieTids,
+            ParamType.String,
+            isList: true,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiYKHAoTY3JlYXRlQ2F0ZWdvcmllVGlkcxIFcjQzeGRyBhICCAMgAVABWhNjcmVhdGVDYXRlZ29yaWVUaWRzYhtzdGFkc2FjdGl2aXRlaXRBYW5tYWtlbkNvcHk=',
+            name: 'String',
+            nullable: false,
+          ),
+          'createEntreeTid': debugSerializeParam(
+            createEntreeTid,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiQKGAoPY3JlYXRlRW50cmVlVGlkEgU2cm90YSoCEgByBAgDIABQAVoPY3JlYXRlRW50cmVlVGlkYhtzdGFkc2FjdGl2aXRlaXRBYW5tYWtlbkNvcHk=',
+            name: 'String',
+            nullable: true,
+          ),
+          'createLogoFid': debugSerializeParam(
+            createLogoFid,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiIKFgoNY3JlYXRlTG9nb0ZpZBIFMXZvanoqAhIAcgQIAyAAUAFaDWNyZWF0ZUxvZ29GaWRiG3N0YWRzYWN0aXZpdGVpdEFhbm1ha2VuQ29weQ==',
+            name: 'String',
+            nullable: true,
+          ),
+          'createFotosFids': debugSerializeParam(
+            createFotosFids,
+            ParamType.String,
+            isList: true,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            searchReference:
+                'reference=QiIKGAoPY3JlYXRlRm90b3NGaWRzEgU5enlvdnIGEgIIAyAAUAFaD2NyZWF0ZUZvdG9zRmlkc2Ibc3RhZHNhY3Rpdml0ZWl0QWFubWFrZW5Db3B5',
+            name: 'String',
+            nullable: false,
+          )
+        }.entries,
+        widgetStates: {
+          'textFieldTitelText': debugSerializeParam(
+            textFieldTitelTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldDatumStartText': debugSerializeParam(
+            textFieldDatumStartTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldDatumEindText': debugSerializeParam(
+            textFieldDatumEindTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldOmschrijvingText': debugSerializeParam(
+            textFieldOmschrijvingTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldOrganisatorText': debugSerializeParam(
+            textFieldOrganisatorTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldContactText': debugSerializeParam(
+            textFieldContactTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldAdresText': debugSerializeParam(
+            textFieldAdresTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldPostcodeText': debugSerializeParam(
+            textFieldPostcodeTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldPlaatsText': debugSerializeParam(
+            textFieldPlaatsTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldEntreeprijsText': debugSerializeParam(
+            textFieldEntreeprijsTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldToelichtingEntreeText': debugSerializeParam(
+            textFieldToelichtingEntreeTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'textFieldWebsiteURLText': debugSerializeParam(
+            textFieldWebsiteURLTextController?.text,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownGemeentenMijngemeentenValue': debugSerializeParam(
+            dropDownGemeentenMijngemeentenValue,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownProvincieValue': debugSerializeParam(
+            dropDownProvincieValue,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownGemeenteValue': debugSerializeParam(
+            dropDownGemeenteValue,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownPlaatsValue': debugSerializeParam(
+            dropDownPlaatsValue,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownCategorieenValue': debugSerializeParam(
+            dropDownCategorieenValue,
+            ParamType.String,
+            isList: true,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          ),
+          'dropDownEntreeValue': debugSerializeParam(
+            dropDownEntreeValue,
+            ParamType.String,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'String',
+            nullable: true,
+          )
+        }.entries,
+        actionOutputs: {
+          'logouploadResult': debugSerializeParam(
+            logouploadResult,
+            ParamType.JSON,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'dynamic',
+            nullable: true,
+          ),
+          'fotouploadResult': debugSerializeParam(
+            fotouploadResult,
+            ParamType.JSON,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'dynamic',
+            nullable: true,
+          ),
+          'createResult': debugSerializeParam(
+            createResult,
+            ParamType.JSON,
+            link:
+                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+            name: 'dynamic',
+            nullable: true,
+          )
+        }.entries,
+        generatorVariables: debugGeneratorVariables.entries,
+        backendQueries: debugBackendQueries.entries,
+        componentStates: {
+          ...widgetBuilderComponents.map(
+            (key, value) => MapEntry(
+              key,
+              value.toWidgetClassDebugData(),
+            ),
+          ),
+        }.withoutNulls.entries,
+        link:
+            'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd/tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+        searchReference:
+            'reference=OhtzdGFkc2FjdGl2aXRlaXRBYW5tYWtlbkNvcHlQAVobc3RhZHNhY3Rpdml0ZWl0QWFubWFrZW5Db3B5',
+        widgetClassName: 'stadsactiviteitAanmakenCopy',
+      );
+}

+ 2754 - 0
lib/stadsactiviteit_aanmaken_copy/stadsactiviteit_aanmaken_copy_widget.dart

@@ -0,0 +1,2754 @@
+import '/backend/api_requests/api_calls.dart';
+import '/flutter_flow/flutter_flow_drop_down.dart';
+import '/flutter_flow/flutter_flow_theme.dart';
+import '/flutter_flow/flutter_flow_util.dart';
+import '/flutter_flow/flutter_flow_widgets.dart';
+import '/flutter_flow/form_field_controller.dart';
+import '/flutter_flow/upload_data.dart';
+import 'dart:ui';
+import '/backend/schema/structs/index.dart';
+import '/custom_code/actions/index.dart' as actions;
+import '/flutter_flow/custom_functions.dart' as functions;
+import 'package:flutter/foundation.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 'stadsactiviteit_aanmaken_copy_model.dart';
+export 'stadsactiviteit_aanmaken_copy_model.dart';
+
+class StadsactiviteitAanmakenCopyWidget extends StatefulWidget {
+  const StadsactiviteitAanmakenCopyWidget({super.key});
+
+  static String routeName = 'stadsactiviteitAanmakenCopy';
+  static String routePath = '/stadsactiviteitAanmakenCopy';
+
+  @override
+  State<StadsactiviteitAanmakenCopyWidget> createState() =>
+      _StadsactiviteitAanmakenCopyWidgetState();
+}
+
+class _StadsactiviteitAanmakenCopyWidgetState
+    extends State<StadsactiviteitAanmakenCopyWidget> with RouteAware {
+  late StadsactiviteitAanmakenCopyModel _model;
+
+  final scaffoldKey = GlobalKey<ScaffoldState>();
+
+  @override
+  void initState() {
+    super.initState();
+    _model = createModel(context, () => StadsactiviteitAanmakenCopyModel());
+
+    _model.textFieldTitelTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldTitelFocusNode ??= FocusNode();
+
+    _model.textFieldDatumStartTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldDatumStartFocusNode ??= FocusNode();
+
+    _model.textFieldDatumEindTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldDatumEindFocusNode ??= FocusNode();
+
+    _model.textFieldOmschrijvingTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldOmschrijvingFocusNode ??= FocusNode();
+
+    _model.textFieldOrganisatorTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldOrganisatorFocusNode ??= FocusNode();
+
+    _model.textFieldContactTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldContactFocusNode ??= FocusNode();
+
+    _model.textFieldAdresTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldAdresFocusNode ??= FocusNode();
+
+    _model.textFieldPostcodeTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldPostcodeFocusNode ??= FocusNode();
+
+    _model.textFieldPlaatsTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldPlaatsFocusNode ??= FocusNode();
+
+    _model.textFieldEntreeprijsTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldEntreeprijsFocusNode ??= FocusNode();
+
+    _model.textFieldToelichtingEntreeTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldToelichtingEntreeFocusNode ??= FocusNode();
+
+    _model.textFieldWebsiteURLTextController ??= TextEditingController()
+      ..addListener(() {
+        debugLogWidgetClass(_model);
+      });
+    _model.textFieldWebsiteURLFocusNode ??= FocusNode();
+  }
+
+  @override
+  void dispose() {
+    routeObserver.unsubscribe(this);
+
+    _model.dispose();
+
+    super.dispose();
+  }
+
+  @override
+  void didUpdateWidget(StadsactiviteitAanmakenCopyWidget 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 GestureDetector(
+      onTap: () {
+        FocusScope.of(context).unfocus();
+        FocusManager.instance.primaryFocus?.unfocus();
+      },
+      child: Scaffold(
+        key: scaffoldKey,
+        backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
+        appBar: AppBar(
+          backgroundColor: FlutterFlowTheme.of(context).primary,
+          automaticallyImplyLeading: true,
+          actions: [],
+          centerTitle: true,
+          elevation: 0.0,
+        ),
+        body: SafeArea(
+          top: true,
+          child: Padding(
+            padding: EdgeInsets.all(16.0),
+            child: SingleChildScrollView(
+              child: Column(
+                mainAxisSize: MainAxisSize.max,
+                children: [
+                  Container(
+                    width: 200.0,
+                    child: TextFormField(
+                      controller: _model.textFieldTitelTextController,
+                      focusNode: _model.textFieldTitelFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'o473p6g8' /* Titel */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'lsenykax' /* Titel activiteit */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model.textFieldTitelTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  InkWell(
+                    splashColor: Colors.transparent,
+                    focusColor: Colors.transparent,
+                    hoverColor: Colors.transparent,
+                    highlightColor: Colors.transparent,
+                    onTap: () async {
+                      final _datePicked1Date = await showDatePicker(
+                        context: context,
+                        initialDate: getCurrentTimestamp,
+                        firstDate: getCurrentTimestamp,
+                        lastDate: DateTime(2050),
+                        builder: (context, child) {
+                          return wrapInMaterialDatePickerTheme(
+                            context,
+                            child!,
+                            headerBackgroundColor:
+                                FlutterFlowTheme.of(context).primary,
+                            headerForegroundColor:
+                                FlutterFlowTheme.of(context).info,
+                            headerTextStyle: FlutterFlowTheme.of(context)
+                                .headlineLarge
+                                .override(
+                                  font: GoogleFonts.roboto(
+                                    fontWeight: FontWeight.w600,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .headlineLarge
+                                        .fontStyle,
+                                  ),
+                                  fontSize: 32.0,
+                                  letterSpacing: 0.0,
+                                  fontWeight: FontWeight.w600,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .headlineLarge
+                                      .fontStyle,
+                                ),
+                            pickerBackgroundColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                            pickerForegroundColor:
+                                FlutterFlowTheme.of(context).primaryText,
+                            selectedDateTimeBackgroundColor:
+                                FlutterFlowTheme.of(context).primary,
+                            selectedDateTimeForegroundColor:
+                                FlutterFlowTheme.of(context).info,
+                            actionButtonForegroundColor:
+                                FlutterFlowTheme.of(context).primaryText,
+                            iconSize: 24.0,
+                          );
+                        },
+                      );
+
+                      TimeOfDay? _datePicked1Time;
+                      if (_datePicked1Date != null) {
+                        _datePicked1Time = await showTimePicker(
+                          context: context,
+                          initialTime:
+                              TimeOfDay.fromDateTime(getCurrentTimestamp),
+                          builder: (context, child) {
+                            return wrapInMaterialTimePickerTheme(
+                              context,
+                              child!,
+                              headerBackgroundColor:
+                                  FlutterFlowTheme.of(context).primary,
+                              headerForegroundColor:
+                                  FlutterFlowTheme.of(context).info,
+                              headerTextStyle: FlutterFlowTheme.of(context)
+                                  .headlineLarge
+                                  .override(
+                                    font: GoogleFonts.roboto(
+                                      fontWeight: FontWeight.w600,
+                                      fontStyle: FlutterFlowTheme.of(context)
+                                          .headlineLarge
+                                          .fontStyle,
+                                    ),
+                                    fontSize: 32.0,
+                                    letterSpacing: 0.0,
+                                    fontWeight: FontWeight.w600,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .headlineLarge
+                                        .fontStyle,
+                                  ),
+                              pickerBackgroundColor:
+                                  FlutterFlowTheme.of(context)
+                                      .secondaryBackground,
+                              pickerForegroundColor:
+                                  FlutterFlowTheme.of(context).primaryText,
+                              selectedDateTimeBackgroundColor:
+                                  FlutterFlowTheme.of(context).primary,
+                              selectedDateTimeForegroundColor:
+                                  FlutterFlowTheme.of(context).info,
+                              actionButtonForegroundColor:
+                                  FlutterFlowTheme.of(context).primaryText,
+                              iconSize: 24.0,
+                            );
+                          },
+                        );
+                      }
+
+                      if (_datePicked1Date != null &&
+                          _datePicked1Time != null) {
+                        safeSetState(() {
+                          _model.datePicked1 = DateTime(
+                            _datePicked1Date.year,
+                            _datePicked1Date.month,
+                            _datePicked1Date.day,
+                            _datePicked1Time!.hour,
+                            _datePicked1Time.minute,
+                          );
+                        });
+                      } else if (_model.datePicked1 != null) {
+                        safeSetState(() {
+                          _model.datePicked1 = getCurrentTimestamp;
+                        });
+                      }
+                      safeSetState(() {
+                        _model.textFieldDatumStartTextController?.text =
+                            _model.datePicked1!.toString();
+                      });
+                    },
+                    child: Container(
+                      width: double.infinity,
+                      decoration: BoxDecoration(),
+                      child: Container(
+                        width: double.infinity,
+                        child: TextFormField(
+                          controller: _model.textFieldDatumStartTextController,
+                          focusNode: _model.textFieldDatumStartFocusNode,
+                          autofocus: false,
+                          enabled: false,
+                          readOnly: true,
+                          obscureText: false,
+                          decoration: InputDecoration(
+                            isDense: true,
+                            labelText: FFLocalizations.of(context).getText(
+                              'yorc3tne' /* Datum */,
+                            ),
+                            labelStyle: 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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                            hintText: FFLocalizations.of(context).getText(
+                              '33igsjut' /* Datum */,
+                            ),
+                            hintStyle: 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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                            enabledBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: Color(0x00000000),
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            focusedBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: Color(0x00000000),
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            errorBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: FlutterFlowTheme.of(context).error,
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            focusedErrorBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: FlutterFlowTheme.of(context).error,
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            filled: true,
+                            fillColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                          ),
+                          style:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.roboto(
+                                      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,
+                                  ),
+                          cursorColor: FlutterFlowTheme.of(context).primaryText,
+                          enableInteractiveSelection: true,
+                          validator: _model
+                              .textFieldDatumStartTextControllerValidator
+                              .asValidator(context),
+                        ),
+                      ),
+                    ),
+                  ),
+                  InkWell(
+                    splashColor: Colors.transparent,
+                    focusColor: Colors.transparent,
+                    hoverColor: Colors.transparent,
+                    highlightColor: Colors.transparent,
+                    onTap: () async {
+                      final _datePicked2Date = await showDatePicker(
+                        context: context,
+                        initialDate: getCurrentTimestamp,
+                        firstDate: getCurrentTimestamp,
+                        lastDate: DateTime(2050),
+                        builder: (context, child) {
+                          return wrapInMaterialDatePickerTheme(
+                            context,
+                            child!,
+                            headerBackgroundColor:
+                                FlutterFlowTheme.of(context).primary,
+                            headerForegroundColor:
+                                FlutterFlowTheme.of(context).info,
+                            headerTextStyle: FlutterFlowTheme.of(context)
+                                .headlineLarge
+                                .override(
+                                  font: GoogleFonts.roboto(
+                                    fontWeight: FontWeight.w600,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .headlineLarge
+                                        .fontStyle,
+                                  ),
+                                  fontSize: 32.0,
+                                  letterSpacing: 0.0,
+                                  fontWeight: FontWeight.w600,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .headlineLarge
+                                      .fontStyle,
+                                ),
+                            pickerBackgroundColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                            pickerForegroundColor:
+                                FlutterFlowTheme.of(context).primaryText,
+                            selectedDateTimeBackgroundColor:
+                                FlutterFlowTheme.of(context).primary,
+                            selectedDateTimeForegroundColor:
+                                FlutterFlowTheme.of(context).info,
+                            actionButtonForegroundColor:
+                                FlutterFlowTheme.of(context).primaryText,
+                            iconSize: 24.0,
+                          );
+                        },
+                      );
+
+                      TimeOfDay? _datePicked2Time;
+                      if (_datePicked2Date != null) {
+                        _datePicked2Time = await showTimePicker(
+                          context: context,
+                          initialTime:
+                              TimeOfDay.fromDateTime(getCurrentTimestamp),
+                          builder: (context, child) {
+                            return wrapInMaterialTimePickerTheme(
+                              context,
+                              child!,
+                              headerBackgroundColor:
+                                  FlutterFlowTheme.of(context).primary,
+                              headerForegroundColor:
+                                  FlutterFlowTheme.of(context).info,
+                              headerTextStyle: FlutterFlowTheme.of(context)
+                                  .headlineLarge
+                                  .override(
+                                    font: GoogleFonts.roboto(
+                                      fontWeight: FontWeight.w600,
+                                      fontStyle: FlutterFlowTheme.of(context)
+                                          .headlineLarge
+                                          .fontStyle,
+                                    ),
+                                    fontSize: 32.0,
+                                    letterSpacing: 0.0,
+                                    fontWeight: FontWeight.w600,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .headlineLarge
+                                        .fontStyle,
+                                  ),
+                              pickerBackgroundColor:
+                                  FlutterFlowTheme.of(context)
+                                      .secondaryBackground,
+                              pickerForegroundColor:
+                                  FlutterFlowTheme.of(context).primaryText,
+                              selectedDateTimeBackgroundColor:
+                                  FlutterFlowTheme.of(context).primary,
+                              selectedDateTimeForegroundColor:
+                                  FlutterFlowTheme.of(context).info,
+                              actionButtonForegroundColor:
+                                  FlutterFlowTheme.of(context).primaryText,
+                              iconSize: 24.0,
+                            );
+                          },
+                        );
+                      }
+
+                      if (_datePicked2Date != null &&
+                          _datePicked2Time != null) {
+                        safeSetState(() {
+                          _model.datePicked2 = DateTime(
+                            _datePicked2Date.year,
+                            _datePicked2Date.month,
+                            _datePicked2Date.day,
+                            _datePicked2Time!.hour,
+                            _datePicked2Time.minute,
+                          );
+                        });
+                      } else if (_model.datePicked2 != null) {
+                        safeSetState(() {
+                          _model.datePicked2 = getCurrentTimestamp;
+                        });
+                      }
+                      safeSetState(() {
+                        _model.textFieldDatumEindTextController?.text =
+                            _model.datePicked2!.toString();
+                      });
+                    },
+                    child: Container(
+                      width: double.infinity,
+                      decoration: BoxDecoration(),
+                      child: Container(
+                        width: double.infinity,
+                        child: TextFormField(
+                          controller: _model.textFieldDatumEindTextController,
+                          focusNode: _model.textFieldDatumEindFocusNode,
+                          autofocus: false,
+                          enabled: false,
+                          readOnly: true,
+                          obscureText: false,
+                          decoration: InputDecoration(
+                            isDense: true,
+                            labelText: FFLocalizations.of(context).getText(
+                              'd9hg44rm' /* Datum eind */,
+                            ),
+                            labelStyle: 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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                            hintText: FFLocalizations.of(context).getText(
+                              'jm17ji0v' /* Datum eind */,
+                            ),
+                            hintStyle: 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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                            enabledBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: Color(0x00000000),
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            focusedBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: Color(0x00000000),
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            errorBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: FlutterFlowTheme.of(context).error,
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            focusedErrorBorder: OutlineInputBorder(
+                              borderSide: BorderSide(
+                                color: FlutterFlowTheme.of(context).error,
+                                width: 1.0,
+                              ),
+                              borderRadius: BorderRadius.circular(8.0),
+                            ),
+                            filled: true,
+                            fillColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                          ),
+                          style:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.roboto(
+                                      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,
+                                  ),
+                          cursorColor: FlutterFlowTheme.of(context).primaryText,
+                          enableInteractiveSelection: true,
+                          validator: _model
+                              .textFieldDatumEindTextControllerValidator
+                              .asValidator(context),
+                        ),
+                      ),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldOmschrijvingTextController,
+                      focusNode: _model.textFieldOmschrijvingFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          '88zmxj8z' /* Omschrijving */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'y2p5ms10' /* Omschrijving activiteit */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      maxLines: 5,
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model
+                          .textFieldOmschrijvingTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldOrganisatorTextController,
+                      focusNode: _model.textFieldOrganisatorFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'w0dllnir' /* Organisator */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'h57493zr' /* Organisator van de activiteit */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model
+                          .textFieldOrganisatorTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldContactTextController,
+                      focusNode: _model.textFieldContactFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'ltixu8mk' /* Contact */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'nb3i5f4l' /* Contact email/telefoon */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model.textFieldContactTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldAdresTextController,
+                      focusNode: _model.textFieldAdresFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          '1f4hkc3a' /* Adres */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'b4yean7l' /* Adres */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model.textFieldAdresTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldPostcodeTextController,
+                      focusNode: _model.textFieldPostcodeFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'mu6nnyxd' /* Postcode */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          '5a7q3x23' /* Postcode */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model.textFieldPostcodeTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldPlaatsTextController,
+                      focusNode: _model.textFieldPlaatsFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'wrg9579c' /* Plaats */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'rmppshbi' /* Plaats activiteit */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model.textFieldPlaatsTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller: _model.textFieldEntreeprijsTextController,
+                      focusNode: _model.textFieldEntreeprijsFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'qmht9po1' /* Entreeprijs */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintText: FFLocalizations.of(context).getText(
+                          'wtohb4oz' /* Entreeprijs */,
+                        ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model
+                          .textFieldEntreeprijsTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Container(
+                    width: double.infinity,
+                    child: TextFormField(
+                      controller:
+                          _model.textFieldToelichtingEntreeTextController,
+                      focusNode: _model.textFieldToelichtingEntreeFocusNode,
+                      autofocus: false,
+                      enabled: true,
+                      obscureText: false,
+                      decoration: InputDecoration(
+                        isDense: true,
+                        labelText: FFLocalizations.of(context).getText(
+                          'zkwsei6h' /* Toelichting Entree */,
+                        ),
+                        labelStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        hintStyle:
+                            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
+                                      .fontWeight,
+                                  fontStyle: FlutterFlowTheme.of(context)
+                                      .labelMedium
+                                      .fontStyle,
+                                ),
+                        enabledBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: Color(0x00000000),
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        errorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        focusedErrorBorder: OutlineInputBorder(
+                          borderSide: BorderSide(
+                            color: FlutterFlowTheme.of(context).error,
+                            width: 1.0,
+                          ),
+                          borderRadius: BorderRadius.circular(8.0),
+                        ),
+                        filled: true,
+                        fillColor:
+                            FlutterFlowTheme.of(context).secondaryBackground,
+                      ),
+                      style: FlutterFlowTheme.of(context).bodyMedium.override(
+                            font: GoogleFonts.roboto(
+                              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,
+                          ),
+                      cursorColor: FlutterFlowTheme.of(context).primaryText,
+                      enableInteractiveSelection: true,
+                      validator: _model
+                          .textFieldToelichtingEntreeTextControllerValidator
+                          .asValidator(context),
+                    ),
+                  ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: Container(
+                      width: 200.0,
+                      child: TextFormField(
+                        controller: _model.textFieldWebsiteURLTextController,
+                        focusNode: _model.textFieldWebsiteURLFocusNode,
+                        autofocus: false,
+                        enabled: true,
+                        obscureText: false,
+                        decoration: InputDecoration(
+                          isDense: true,
+                          labelText: FFLocalizations.of(context).getText(
+                            'v3bphll8' /* WebsiteURL */,
+                          ),
+                          labelStyle:
+                              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
+                                        .fontWeight,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .labelMedium
+                                        .fontStyle,
+                                  ),
+                          hintText: FFLocalizations.of(context).getText(
+                            'lzloucnq' /* Website van de activiteit */,
+                          ),
+                          hintStyle:
+                              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
+                                        .fontWeight,
+                                    fontStyle: FlutterFlowTheme.of(context)
+                                        .labelMedium
+                                        .fontStyle,
+                                  ),
+                          enabledBorder: OutlineInputBorder(
+                            borderSide: BorderSide(
+                              color: Color(0x00000000),
+                              width: 1.0,
+                            ),
+                            borderRadius: BorderRadius.circular(8.0),
+                          ),
+                          focusedBorder: OutlineInputBorder(
+                            borderSide: BorderSide(
+                              color: Color(0x00000000),
+                              width: 1.0,
+                            ),
+                            borderRadius: BorderRadius.circular(8.0),
+                          ),
+                          errorBorder: OutlineInputBorder(
+                            borderSide: BorderSide(
+                              color: FlutterFlowTheme.of(context).error,
+                              width: 1.0,
+                            ),
+                            borderRadius: BorderRadius.circular(8.0),
+                          ),
+                          focusedErrorBorder: OutlineInputBorder(
+                            borderSide: BorderSide(
+                              color: FlutterFlowTheme.of(context).error,
+                              width: 1.0,
+                            ),
+                            borderRadius: BorderRadius.circular(8.0),
+                          ),
+                          filled: true,
+                          fillColor:
+                              FlutterFlowTheme.of(context).secondaryBackground,
+                        ),
+                        style: FlutterFlowTheme.of(context).bodyMedium.override(
+                              font: GoogleFonts.roboto(
+                                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,
+                            ),
+                        cursorColor: FlutterFlowTheme.of(context).primaryText,
+                        enableInteractiveSelection: true,
+                        validator: _model
+                            .textFieldWebsiteURLTextControllerValidator
+                            .asValidator(context),
+                      ),
+                    ),
+                  ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: FutureBuilder<ApiCallResponse>(
+                      future: MijnStadsrechtenCall.call(
+                        sessionName: FFAppState().userSessionname,
+                        sessid: FFAppState().userSessionid,
+                      ),
+                      builder: (context, snapshot) {
+                        // Customize what your widget looks like when it's loading.
+                        if (!snapshot.hasData) {
+                          return Center(
+                            child: SizedBox(
+                              width: 80.0,
+                              height: 80.0,
+                              child: SpinKitFadingCircle(
+                                color: FlutterFlowTheme.of(context).primary,
+                                size: 80.0,
+                              ),
+                            ),
+                          );
+                        }
+                        final columnMijnStadsrechtenResponse = snapshot.data!;
+                        _model.debugBackendQueries[
+                                'MijnStadsrechtenCall_statusCode_Column_pnqdhsqa'] =
+                            debugSerializeParam(
+                          columnMijnStadsrechtenResponse.statusCode,
+                          ParamType.int,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'int',
+                          nullable: false,
+                        );
+                        _model.debugBackendQueries[
+                                'MijnStadsrechtenCall_responseBody_Column_pnqdhsqa'] =
+                            debugSerializeParam(
+                          columnMijnStadsrechtenResponse.bodyText,
+                          ParamType.String,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'String',
+                          nullable: false,
+                        );
+                        debugLogWidgetClass(_model);
+
+                        return Column(
+                          mainAxisSize: MainAxisSize.max,
+                          children: [
+                            if (getJsonField(
+                                  columnMijnStadsrechtenResponse.jsonBody,
+                                  r'''$[0].titel''',
+                                ) !=
+                                null)
+                              FlutterFlowDropDown<String>(
+                                controller: _model
+                                        .dropDownGemeentenMijngemeentenValueController ??=
+                                    FormFieldController<String>(null),
+                                options: List<String>.from((getJsonField(
+                                  columnMijnStadsrechtenResponse.jsonBody,
+                                  r'''$[:].tid''',
+                                  true,
+                                ) as List?)!
+                                    .map<String>((e) => e.toString())
+                                    .toList()
+                                    .cast<String>()),
+                                optionLabels: (getJsonField(
+                                  columnMijnStadsrechtenResponse.jsonBody,
+                                  r'''$[:].titel''',
+                                  true,
+                                ) as List?)!
+                                    .map<String>((e) => e.toString())
+                                    .toList()
+                                    .cast<String>(),
+                                onChanged: (val) async {
+                                  safeSetState(() => _model
+                                          .dropDownGemeentenMijngemeentenValue =
+                                      val);
+                                  _model.createGemeenteID = _model
+                                      .dropDownGemeentenMijngemeentenValue;
+                                  safeSetState(() {});
+                                },
+                                width: 200.0,
+                                height: 40.0,
+                                textStyle: FlutterFlowTheme.of(context)
+                                    .bodyMedium
+                                    .override(
+                                      font: GoogleFonts.roboto(
+                                        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,
+                                    ),
+                                hintText: FFLocalizations.of(context).getText(
+                                  'tolg0smu' /* Mijn gemeenten */,
+                                ),
+                                icon: Icon(
+                                  Icons.keyboard_arrow_down_rounded,
+                                  color: FlutterFlowTheme.of(context)
+                                      .secondaryText,
+                                  size: 24.0,
+                                ),
+                                fillColor: FlutterFlowTheme.of(context)
+                                    .secondaryBackground,
+                                elevation: 2.0,
+                                borderColor: Colors.transparent,
+                                borderWidth: 0.0,
+                                borderRadius: 8.0,
+                                margin: EdgeInsetsDirectional.fromSTEB(
+                                    12.0, 0.0, 12.0, 0.0),
+                                hidesUnderline: true,
+                                isOverButton: false,
+                                isSearchable: false,
+                                isMultiSelect: false,
+                              ),
+                          ],
+                        );
+                      },
+                    ),
+                  ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: FutureBuilder<ApiCallResponse>(
+                      future: ProvinciesCall.call(),
+                      builder: (context, snapshot) {
+                        // Customize what your widget looks like when it's loading.
+                        if (!snapshot.hasData) {
+                          return Center(
+                            child: SizedBox(
+                              width: 80.0,
+                              height: 80.0,
+                              child: SpinKitFadingCircle(
+                                color: FlutterFlowTheme.of(context).primary,
+                                size: 80.0,
+                              ),
+                            ),
+                          );
+                        }
+                        final dropDownProvincieProvinciesResponse =
+                            snapshot.data!;
+                        _model.debugBackendQueries[
+                                'ProvinciesCall_statusCode_DropDown_hf2imuv0'] =
+                            debugSerializeParam(
+                          dropDownProvincieProvinciesResponse.statusCode,
+                          ParamType.int,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'int',
+                          nullable: false,
+                        );
+                        _model.debugBackendQueries[
+                                'ProvinciesCall_responseBody_DropDown_hf2imuv0'] =
+                            debugSerializeParam(
+                          dropDownProvincieProvinciesResponse.bodyText,
+                          ParamType.String,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'String',
+                          nullable: false,
+                        );
+                        debugLogWidgetClass(_model);
+
+                        return FlutterFlowDropDown<String>(
+                          controller:
+                              _model.dropDownProvincieValueController ??=
+                                  FormFieldController<String>(null),
+                          options: List<String>.from((getJsonField(
+                            dropDownProvincieProvinciesResponse.jsonBody,
+                            r'''$[:].provincieid''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>()),
+                          optionLabels: (getJsonField(
+                            dropDownProvincieProvinciesResponse.jsonBody,
+                            r'''$[:].provinciename''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>(),
+                          onChanged: (val) async {
+                            safeSetState(
+                                () => _model.dropDownProvincieValue = val);
+                            _model.createProvincieID =
+                                _model.dropDownProvincieValue;
+                            safeSetState(() {});
+                          },
+                          width: 200.0,
+                          height: 40.0,
+                          textStyle:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.roboto(
+                                      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,
+                                  ),
+                          hintText: FFLocalizations.of(context).getText(
+                            '5ckcryo7' /* Select... */,
+                          ),
+                          icon: Icon(
+                            Icons.keyboard_arrow_down_rounded,
+                            color: FlutterFlowTheme.of(context).secondaryText,
+                            size: 24.0,
+                          ),
+                          fillColor:
+                              FlutterFlowTheme.of(context).secondaryBackground,
+                          elevation: 2.0,
+                          borderColor: Colors.transparent,
+                          borderWidth: 0.0,
+                          borderRadius: 8.0,
+                          margin: EdgeInsetsDirectional.fromSTEB(
+                              12.0, 0.0, 12.0, 0.0),
+                          hidesUnderline: true,
+                          isOverButton: false,
+                          isSearchable: false,
+                          isMultiSelect: false,
+                        );
+                      },
+                    ),
+                  ),
+                  if (_model.createProvincieID != null &&
+                      _model.createProvincieID != '')
+                    Align(
+                      alignment: AlignmentDirectional(-1.0, 0.0),
+                      child: FutureBuilder<ApiCallResponse>(
+                        future: GemeentenCall.call(
+                          provincieid: _model.createProvincieID,
+                        ),
+                        builder: (context, snapshot) {
+                          // Customize what your widget looks like when it's loading.
+                          if (!snapshot.hasData) {
+                            return Center(
+                              child: SizedBox(
+                                width: 80.0,
+                                height: 80.0,
+                                child: SpinKitFadingCircle(
+                                  color: FlutterFlowTheme.of(context).primary,
+                                  size: 80.0,
+                                ),
+                              ),
+                            );
+                          }
+                          final dropDownGemeenteGemeentenResponse =
+                              snapshot.data!;
+                          _model.debugBackendQueries[
+                                  'GemeentenCall_statusCode_DropDown_lansfdpf'] =
+                              debugSerializeParam(
+                            dropDownGemeenteGemeentenResponse.statusCode,
+                            ParamType.int,
+                            link:
+                                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                            name: 'int',
+                            nullable: false,
+                          );
+                          _model.debugBackendQueries[
+                                  'GemeentenCall_responseBody_DropDown_lansfdpf'] =
+                              debugSerializeParam(
+                            dropDownGemeenteGemeentenResponse.bodyText,
+                            ParamType.String,
+                            link:
+                                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                            name: 'String',
+                            nullable: false,
+                          );
+                          debugLogWidgetClass(_model);
+
+                          return FlutterFlowDropDown<String>(
+                            controller:
+                                _model.dropDownGemeenteValueController ??=
+                                    FormFieldController<String>(
+                              _model.dropDownGemeenteValue ??= '',
+                            ),
+                            options: List<String>.from((getJsonField(
+                              dropDownGemeenteGemeentenResponse.jsonBody,
+                              r'''$[:].gemeenteid''',
+                              true,
+                            ) as List?)!
+                                .map<String>((e) => e.toString())
+                                .toList()
+                                .cast<String>()),
+                            optionLabels: (getJsonField(
+                              dropDownGemeenteGemeentenResponse.jsonBody,
+                              r'''$[:].gemeentename''',
+                              true,
+                            ) as List?)!
+                                .map<String>((e) => e.toString())
+                                .toList()
+                                .cast<String>(),
+                            onChanged: (val) async {
+                              safeSetState(
+                                  () => _model.dropDownGemeenteValue = val);
+                              _model.createGemeenteID =
+                                  _model.dropDownGemeenteValue;
+                              safeSetState(() {});
+                            },
+                            width: 200.0,
+                            height: 40.0,
+                            textStyle: FlutterFlowTheme.of(context)
+                                .bodyMedium
+                                .override(
+                                  font: GoogleFonts.roboto(
+                                    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,
+                                ),
+                            hintText: FFLocalizations.of(context).getText(
+                              '93rsdlge' /* Select... */,
+                            ),
+                            icon: Icon(
+                              Icons.keyboard_arrow_down_rounded,
+                              color: FlutterFlowTheme.of(context).secondaryText,
+                              size: 24.0,
+                            ),
+                            fillColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                            elevation: 2.0,
+                            borderColor: Colors.transparent,
+                            borderWidth: 0.0,
+                            borderRadius: 8.0,
+                            margin: EdgeInsetsDirectional.fromSTEB(
+                                12.0, 0.0, 12.0, 0.0),
+                            hidesUnderline: true,
+                            isOverButton: false,
+                            isSearchable: false,
+                            isMultiSelect: false,
+                          );
+                        },
+                      ),
+                    ),
+                  if (_model.createGemeenteID != null &&
+                      _model.createGemeenteID != '')
+                    Align(
+                      alignment: AlignmentDirectional(-1.0, 0.0),
+                      child: FutureBuilder<ApiCallResponse>(
+                        future: ProductieGroup.plaatsenBijGemeenteCall.call(
+                          gemeenteid: _model.createGemeenteID,
+                        ),
+                        builder: (context, snapshot) {
+                          // Customize what your widget looks like when it's loading.
+                          if (!snapshot.hasData) {
+                            return Center(
+                              child: SizedBox(
+                                width: 80.0,
+                                height: 80.0,
+                                child: SpinKitFadingCircle(
+                                  color: FlutterFlowTheme.of(context).primary,
+                                  size: 80.0,
+                                ),
+                              ),
+                            );
+                          }
+                          final dropDownPlaatsPlaatsenBijGemeenteResponse =
+                              snapshot.data!;
+                          _model.debugBackendQueries[
+                                  'ProductieGroup.plaatsenBijGemeenteCall_statusCode_DropDown_e967115z'] =
+                              debugSerializeParam(
+                            dropDownPlaatsPlaatsenBijGemeenteResponse
+                                .statusCode,
+                            ParamType.int,
+                            link:
+                                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                            name: 'int',
+                            nullable: false,
+                          );
+                          _model.debugBackendQueries[
+                                  'ProductieGroup.plaatsenBijGemeenteCall_responseBody_DropDown_e967115z'] =
+                              debugSerializeParam(
+                            dropDownPlaatsPlaatsenBijGemeenteResponse.bodyText,
+                            ParamType.String,
+                            link:
+                                'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                            name: 'String',
+                            nullable: false,
+                          );
+                          debugLogWidgetClass(_model);
+
+                          return FlutterFlowDropDown<String>(
+                            controller: _model.dropDownPlaatsValueController ??=
+                                FormFieldController<String>(
+                              _model.dropDownPlaatsValue ??= '',
+                            ),
+                            options: List<String>.from((getJsonField(
+                              dropDownPlaatsPlaatsenBijGemeenteResponse
+                                  .jsonBody,
+                              r'''$[:].plaatsid''',
+                              true,
+                            ) as List?)!
+                                .map<String>((e) => e.toString())
+                                .toList()
+                                .cast<String>()),
+                            optionLabels: (getJsonField(
+                              dropDownPlaatsPlaatsenBijGemeenteResponse
+                                  .jsonBody,
+                              r'''$[:].plaatsname''',
+                              true,
+                            ) as List?)!
+                                .map<String>((e) => e.toString())
+                                .toList()
+                                .cast<String>(),
+                            onChanged: (val) async {
+                              safeSetState(
+                                  () => _model.dropDownPlaatsValue = val);
+                              _model.createPlaatsID =
+                                  _model.dropDownPlaatsValue;
+                              safeSetState(() {});
+                            },
+                            width: 200.0,
+                            height: 40.0,
+                            textStyle: FlutterFlowTheme.of(context)
+                                .bodyMedium
+                                .override(
+                                  font: GoogleFonts.roboto(
+                                    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,
+                                ),
+                            hintText: FFLocalizations.of(context).getText(
+                              'tw7l7ow9' /* Select... */,
+                            ),
+                            icon: Icon(
+                              Icons.keyboard_arrow_down_rounded,
+                              color: FlutterFlowTheme.of(context).secondaryText,
+                              size: 24.0,
+                            ),
+                            fillColor: FlutterFlowTheme.of(context)
+                                .secondaryBackground,
+                            elevation: 2.0,
+                            borderColor: Colors.transparent,
+                            borderWidth: 0.0,
+                            borderRadius: 8.0,
+                            margin: EdgeInsetsDirectional.fromSTEB(
+                                12.0, 0.0, 12.0, 0.0),
+                            hidesUnderline: true,
+                            isOverButton: false,
+                            isSearchable: false,
+                            isMultiSelect: false,
+                          );
+                        },
+                      ),
+                    ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: FutureBuilder<ApiCallResponse>(
+                      future: ProductieGroup.categorieenCall.call(
+                        sessionName: FFAppState().userSessionname,
+                        sessid: FFAppState().userSessionid,
+                      ),
+                      builder: (context, snapshot) {
+                        // Customize what your widget looks like when it's loading.
+                        if (!snapshot.hasData) {
+                          return Center(
+                            child: SizedBox(
+                              width: 80.0,
+                              height: 80.0,
+                              child: SpinKitFadingCircle(
+                                color: FlutterFlowTheme.of(context).primary,
+                                size: 80.0,
+                              ),
+                            ),
+                          );
+                        }
+                        final dropDownCategorieenCategorieenResponse =
+                            snapshot.data!;
+                        _model.debugBackendQueries[
+                                'ProductieGroup.categorieenCall_statusCode_DropDown_xdqreung'] =
+                            debugSerializeParam(
+                          dropDownCategorieenCategorieenResponse.statusCode,
+                          ParamType.int,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'int',
+                          nullable: false,
+                        );
+                        _model.debugBackendQueries[
+                                'ProductieGroup.categorieenCall_responseBody_DropDown_xdqreung'] =
+                            debugSerializeParam(
+                          dropDownCategorieenCategorieenResponse.bodyText,
+                          ParamType.String,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'String',
+                          nullable: false,
+                        );
+                        debugLogWidgetClass(_model);
+
+                        return FlutterFlowDropDown<String>(
+                          multiSelectController:
+                              _model.dropDownCategorieenValueController ??=
+                                  FormListFieldController<String>(null),
+                          options: List<String>.from((getJsonField(
+                            dropDownCategorieenCategorieenResponse.jsonBody,
+                            r'''$[:].tid''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>()),
+                          optionLabels: (getJsonField(
+                            dropDownCategorieenCategorieenResponse.jsonBody,
+                            r'''$[:].naam''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>(),
+                          width: 200.0,
+                          height: 40.0,
+                          textStyle:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.roboto(
+                                      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,
+                                  ),
+                          hintText: FFLocalizations.of(context).getText(
+                            'aqazs00f' /* Select... */,
+                          ),
+                          icon: Icon(
+                            Icons.keyboard_arrow_down_rounded,
+                            color: FlutterFlowTheme.of(context).secondaryText,
+                            size: 24.0,
+                          ),
+                          fillColor:
+                              FlutterFlowTheme.of(context).secondaryBackground,
+                          elevation: 2.0,
+                          borderColor: Colors.transparent,
+                          borderWidth: 0.0,
+                          borderRadius: 8.0,
+                          margin: EdgeInsetsDirectional.fromSTEB(
+                              12.0, 0.0, 12.0, 0.0),
+                          hidesUnderline: true,
+                          isOverButton: false,
+                          isSearchable: false,
+                          isMultiSelect: true,
+                          onMultiSelectChanged: (val) async {
+                            safeSetState(
+                                () => _model.dropDownCategorieenValue = val);
+                            _model.createCategorieTids = _model
+                                .dropDownCategorieenValue!
+                                .toList()
+                                .cast<String>();
+                            safeSetState(() {});
+                          },
+                        );
+                      },
+                    ),
+                  ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: FutureBuilder<ApiCallResponse>(
+                      future: ProductieGroup.entreeoptiesCall.call(
+                        sessionName: FFAppState().userSessionname,
+                        sessid: FFAppState().userSessionid,
+                      ),
+                      builder: (context, snapshot) {
+                        // Customize what your widget looks like when it's loading.
+                        if (!snapshot.hasData) {
+                          return Center(
+                            child: SizedBox(
+                              width: 80.0,
+                              height: 80.0,
+                              child: SpinKitFadingCircle(
+                                color: FlutterFlowTheme.of(context).primary,
+                                size: 80.0,
+                              ),
+                            ),
+                          );
+                        }
+                        final dropDownEntreeEntreeoptiesResponse =
+                            snapshot.data!;
+                        _model.debugBackendQueries[
+                                'ProductieGroup.entreeoptiesCall_statusCode_DropDown_s6afmg0v'] =
+                            debugSerializeParam(
+                          dropDownEntreeEntreeoptiesResponse.statusCode,
+                          ParamType.int,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'int',
+                          nullable: false,
+                        );
+                        _model.debugBackendQueries[
+                                'ProductieGroup.entreeoptiesCall_responseBody_DropDown_s6afmg0v'] =
+                            debugSerializeParam(
+                          dropDownEntreeEntreeoptiesResponse.bodyText,
+                          ParamType.String,
+                          link:
+                              'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy',
+                          name: 'String',
+                          nullable: false,
+                        );
+                        debugLogWidgetClass(_model);
+
+                        return FlutterFlowDropDown<String>(
+                          controller: _model.dropDownEntreeValueController ??=
+                              FormFieldController<String>(
+                            _model.dropDownEntreeValue ??= '',
+                          ),
+                          options: List<String>.from((getJsonField(
+                            dropDownEntreeEntreeoptiesResponse.jsonBody,
+                            r'''$[:].tid''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>()),
+                          optionLabels: (getJsonField(
+                            dropDownEntreeEntreeoptiesResponse.jsonBody,
+                            r'''$[:].naam''',
+                            true,
+                          ) as List?)!
+                              .map<String>((e) => e.toString())
+                              .toList()
+                              .cast<String>(),
+                          onChanged: (val) async {
+                            safeSetState(
+                                () => _model.dropDownEntreeValue = val);
+                            _model.createEntreeTid = _model.dropDownEntreeValue;
+                            safeSetState(() {});
+                          },
+                          width: 200.0,
+                          height: 40.0,
+                          textStyle:
+                              FlutterFlowTheme.of(context).bodyMedium.override(
+                                    font: GoogleFonts.roboto(
+                                      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,
+                                  ),
+                          hintText: FFLocalizations.of(context).getText(
+                            'ogqvzuz7' /* Select... */,
+                          ),
+                          icon: Icon(
+                            Icons.keyboard_arrow_down_rounded,
+                            color: FlutterFlowTheme.of(context).secondaryText,
+                            size: 24.0,
+                          ),
+                          fillColor:
+                              FlutterFlowTheme.of(context).secondaryBackground,
+                          elevation: 2.0,
+                          borderColor: Colors.transparent,
+                          borderWidth: 0.0,
+                          borderRadius: 8.0,
+                          margin: EdgeInsetsDirectional.fromSTEB(
+                              12.0, 0.0, 12.0, 0.0),
+                          hidesUnderline: true,
+                          isOverButton: false,
+                          isSearchable: false,
+                          isMultiSelect: false,
+                        );
+                      },
+                    ),
+                  ),
+                  Align(
+                    alignment: AlignmentDirectional(-1.0, 0.0),
+                    child: FFButtonWidget(
+                      onPressed: () async {
+                        final selectedMedia =
+                            await selectMediaWithSourceBottomSheet(
+                          context: context,
+                          allowPhoto: true,
+                        );
+                        if (selectedMedia != null &&
+                            selectedMedia.every((m) =>
+                                validateFileFormat(m.storagePath, context))) {
+                          safeSetState(() =>
+                              _model.isDataUploading_uploadDataCnm = true);
+                          var selectedUploadedFiles = <FFUploadedFile>[];
+
+                          try {
+                            selectedUploadedFiles = selectedMedia
+                                .map((m) => FFUploadedFile(
+                                      name: m.storagePath.split('/').last,
+                                      bytes: m.bytes,
+                                      height: m.dimensions?.height,
+                                      width: m.dimensions?.width,
+                                      blurHash: m.blurHash,
+                                      originalFilename: m.originalFilename,
+                                    ))
+                                .toList();
+                          } finally {
+                            _model.isDataUploading_uploadDataCnm = false;
+                          }
+                          if (selectedUploadedFiles.length ==
+                              selectedMedia.length) {
+                            safeSetState(() {
+                              _model.uploadedLocalFile_uploadDataCnm =
+                                  selectedUploadedFiles.first;
+                            });
+                          } else {
+                            safeSetState(() {});
+                            return;
+                          }
+                        }
+
+                        _model.logouploadResult = await actions.bestandUpload(
+                          _model.uploadedLocalFile_uploadDataCnm,
+                          'https://uitgaanskrant.com/en/flutterdrup/bestand_upload/upload.json',
+                          FFAppState().userSessionname,
+                          FFAppState().userSessionid,
+                          FFAppState().userToken,
+                        );
+                        _model.createLogoFid = getJsonField(
+                          _model.logouploadResult,
+                          r'''$.fid''',
+                        ).toString();
+                        safeSetState(() {});
+
+                        safeSetState(() {});
+                      },
+                      text: FFLocalizations.of(context).getText(
+                        'lwh5yuoo' /* Logo kiezen */,
+                      ),
+                      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).secondary,
+                        textStyle:
+                            FlutterFlowTheme.of(context).titleSmall.override(
+                                  font: GoogleFonts.roboto(
+                                    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),
+                      ),
+                    ),
+                  ),
+                  if (_model.createFotosFids.length < 5)
+                    Align(
+                      alignment: AlignmentDirectional(-1.0, 0.0),
+                      child: FFButtonWidget(
+                        onPressed: () async {
+                          final selectedMedia =
+                              await selectMediaWithSourceBottomSheet(
+                            context: context,
+                            allowPhoto: true,
+                          );
+                          if (selectedMedia != null &&
+                              selectedMedia.every((m) =>
+                                  validateFileFormat(m.storagePath, context))) {
+                            safeSetState(() => _model
+                                .isDataUploading_uploadDataFotoos3 = true);
+                            var selectedUploadedFiles = <FFUploadedFile>[];
+
+                            try {
+                              selectedUploadedFiles = selectedMedia
+                                  .map((m) => FFUploadedFile(
+                                        name: m.storagePath.split('/').last,
+                                        bytes: m.bytes,
+                                        height: m.dimensions?.height,
+                                        width: m.dimensions?.width,
+                                        blurHash: m.blurHash,
+                                        originalFilename: m.originalFilename,
+                                      ))
+                                  .toList();
+                            } finally {
+                              _model.isDataUploading_uploadDataFotoos3 = false;
+                            }
+                            if (selectedUploadedFiles.length ==
+                                selectedMedia.length) {
+                              safeSetState(() {
+                                _model.uploadedLocalFile_uploadDataFotoos3 =
+                                    selectedUploadedFiles.first;
+                              });
+                            } else {
+                              safeSetState(() {});
+                              return;
+                            }
+                          }
+
+                          _model.fotouploadResult = await actions.bestandUpload(
+                            _model.uploadedLocalFile_uploadDataFotoos3,
+                            'https://uitgaanskrant.com/en/flutterdrup/bestand_upload/upload.json',
+                            FFAppState().userSessionname,
+                            FFAppState().userSessionid,
+                            FFAppState().userToken,
+                          );
+                          _model.addToCreateFotosFids(getJsonField(
+                            _model.fotouploadResult,
+                            r'''$.fid''',
+                          ).toString());
+                          safeSetState(() {});
+
+                          safeSetState(() {});
+                        },
+                        text: FFLocalizations.of(context).getText(
+                          'dv8uaucz' /* Foto's kiezen */,
+                        ),
+                        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).secondary,
+                          textStyle:
+                              FlutterFlowTheme.of(context).titleSmall.override(
+                                    font: GoogleFonts.roboto(
+                                      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),
+                        ),
+                      ),
+                    ),
+                  if (_model.createPlaatsID != null &&
+                      _model.createPlaatsID != '')
+                    FFButtonWidget(
+                      onPressed: () async {
+                        _model.createResult =
+                            await actions.stadsactiviteitCreate(
+                          FFAppState().userSessionname,
+                          FFAppState().userSessionid,
+                          FFAppState().userToken,
+                          _model.textFieldTitelTextController.text,
+                          _model.createPlaatsID!,
+                          functions.datumVoorApi(
+                              _model.textFieldDatumStartTextController.text)!,
+                          functions.datumVoorApi(
+                              _model.textFieldDatumEindTextController.text),
+                          _model.textFieldOmschrijvingTextController.text,
+                          _model.textFieldOrganisatorTextController.text,
+                          _model.textFieldContactTextController.text,
+                          _model.textFieldAdresTextController.text,
+                          _model.textFieldPlaatsTextController.text,
+                          _model.textFieldPostcodeTextController.text,
+                          _model.textFieldEntreeprijsTextController.text,
+                          _model.textFieldToelichtingEntreeTextController.text,
+                          _model.createCategorieTids.toList(),
+                          _model.textFieldWebsiteURLTextController.text,
+                          _model.createLogoFid,
+                          _model.createFotosFids.toList(),
+                          _model.createEntreeTid,
+                        );
+                        if (getJsonField(
+                          _model.createResult,
+                          r'''$.success''',
+                        )) {
+                          ScaffoldMessenger.of(context).showSnackBar(
+                            SnackBar(
+                              content: Text(
+                                'Je activiteit is ingediend en wordt beoordeeld door de redactie.',
+                                style: TextStyle(
+                                  color:
+                                      FlutterFlowTheme.of(context).primaryText,
+                                ),
+                              ),
+                              duration: Duration(milliseconds: 5000),
+                              backgroundColor:
+                                  FlutterFlowTheme.of(context).secondary,
+                            ),
+                          );
+                          context.safePop();
+                        } else {
+                          ScaffoldMessenger.of(context).showSnackBar(
+                            SnackBar(
+                              content: Text(
+                                getJsonField(
+                                  _model.createResult,
+                                  r'''$.error''',
+                                ).toString(),
+                                style: TextStyle(
+                                  color:
+                                      FlutterFlowTheme.of(context).primaryText,
+                                ),
+                              ),
+                              duration: Duration(milliseconds: 4000),
+                              backgroundColor:
+                                  FlutterFlowTheme.of(context).secondary,
+                            ),
+                          );
+                        }
+
+                        safeSetState(() {});
+                      },
+                      text: FFLocalizations.of(context).getText(
+                        'ixfoq44x' /* Activiteit indienen */,
+                      ),
+                      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).secondary,
+                        textStyle:
+                            FlutterFlowTheme.of(context).titleSmall.override(
+                                  font: GoogleFonts.roboto(
+                                    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),
+                      ),
+                    ),
+                ],
+              ),
+            ),
+          ),
+        ),
+      ),
+    );
+  }
+}

+ 0 - 1
lib/uitgaanspaginas/home/home_model.dart

@@ -1,5 +1,4 @@
 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';

+ 1 - 23
lib/uitgaanspaginas/home/home_widget.dart

@@ -1,5 +1,4 @@
 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';
@@ -127,33 +126,12 @@ class _HomeWidgetState extends State<HomeWidget>
         appBar: PreferredSize(
           preferredSize: Size.fromHeight(50.0),
           child: AppBar(
-            backgroundColor: Color(0xFF3E454C),
+            backgroundColor: FlutterFlowTheme.of(context).primaryText,
             iconTheme:
                 IconThemeData(color: FlutterFlowTheme.of(context).secondary),
             automaticallyImplyLeading: false,
             actions: [],
             flexibleSpace: FlexibleSpaceBar(
-              title: Align(
-                alignment: AlignmentDirectional(0.0, 0.0),
-                child: Row(
-                  mainAxisSize: MainAxisSize.max,
-                  children: [
-                    FlutterFlowIconButton(
-                      borderRadius: 8.0,
-                      buttonSize: 40.0,
-                      fillColor: FlutterFlowTheme.of(context).secondary,
-                      icon: Icon(
-                        Icons.dehaze_outlined,
-                        color: FlutterFlowTheme.of(context).info,
-                        size: 24.0,
-                      ),
-                      onPressed: () async {
-                        scaffoldKey.currentState!.openDrawer();
-                      },
-                    ),
-                  ],
-                ),
-              ),
               background: wrapWithModel(
                 model: _model.headerButtonsComponentModel,
                 updateCallback: () => safeSetState(() {}),

+ 1 - 1
lib/uitgaanspaginas/p_uitgaan_page/p_uitgaan_page_widget.dart

@@ -124,7 +124,7 @@ class _PUitgaanPageWidgetState extends State<PUitgaanPageWidget>
         appBar: PreferredSize(
           preferredSize: Size.fromHeight(50.0),
           child: AppBar(
-            backgroundColor: Color(0xFF3E454C),
+            backgroundColor: FlutterFlowTheme.of(context).primaryText,
             iconTheme:
                 IconThemeData(color: FlutterFlowTheme.of(context).secondary),
             automaticallyImplyLeading: false,