stadsactiviteit_aanmaken_widget.dart 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715
  1. import '/flutter_flow/flutter_flow_theme.dart';
  2. import '/flutter_flow/flutter_flow_util.dart';
  3. import '/flutter_flow/flutter_flow_widgets.dart';
  4. import 'dart:ui';
  5. import 'package:flutter/foundation.dart';
  6. import 'package:flutter/material.dart';
  7. import 'package:flutter_spinkit/flutter_spinkit.dart';
  8. import 'package:google_fonts/google_fonts.dart';
  9. import 'package:provider/provider.dart';
  10. import 'stadsactiviteit_aanmaken_model.dart';
  11. export 'stadsactiviteit_aanmaken_model.dart';
  12. class StadsactiviteitAanmakenWidget extends StatefulWidget {
  13. const StadsactiviteitAanmakenWidget({super.key});
  14. static String routeName = 'stadsactiviteitAanmaken';
  15. static String routePath = '/stadsactiviteitAanmaken';
  16. @override
  17. State<StadsactiviteitAanmakenWidget> createState() =>
  18. _StadsactiviteitAanmakenWidgetState();
  19. }
  20. class _StadsactiviteitAanmakenWidgetState
  21. extends State<StadsactiviteitAanmakenWidget> with RouteAware {
  22. late StadsactiviteitAanmakenModel _model;
  23. final scaffoldKey = GlobalKey<ScaffoldState>();
  24. @override
  25. void initState() {
  26. super.initState();
  27. _model = createModel(context, () => StadsactiviteitAanmakenModel());
  28. _model.textFieldTitelTextController ??= TextEditingController()
  29. ..addListener(() {
  30. debugLogWidgetClass(_model);
  31. });
  32. _model.textFieldTitelFocusNode ??= FocusNode();
  33. _model.textFieldDatumStartTextController ??= TextEditingController()
  34. ..addListener(() {
  35. debugLogWidgetClass(_model);
  36. });
  37. _model.textFieldDatumStartFocusNode ??= FocusNode();
  38. _model.textFieldDatumEindTextController ??= TextEditingController()
  39. ..addListener(() {
  40. debugLogWidgetClass(_model);
  41. });
  42. _model.textFieldDatumEindFocusNode ??= FocusNode();
  43. _model.textFieldOmschrijvingTextController ??= TextEditingController()
  44. ..addListener(() {
  45. debugLogWidgetClass(_model);
  46. });
  47. _model.textFieldOmschrijvingFocusNode ??= FocusNode();
  48. _model.textFieldOrganisatorTextController ??= TextEditingController()
  49. ..addListener(() {
  50. debugLogWidgetClass(_model);
  51. });
  52. _model.textFieldOrganisatorFocusNode ??= FocusNode();
  53. _model.textFieldContactTextController ??= TextEditingController()
  54. ..addListener(() {
  55. debugLogWidgetClass(_model);
  56. });
  57. _model.textFieldContactFocusNode ??= FocusNode();
  58. _model.textFieldAdresTextController ??= TextEditingController()
  59. ..addListener(() {
  60. debugLogWidgetClass(_model);
  61. });
  62. _model.textFieldAdresFocusNode ??= FocusNode();
  63. _model.textFieldPostcodeTextController ??= TextEditingController()
  64. ..addListener(() {
  65. debugLogWidgetClass(_model);
  66. });
  67. _model.textFieldPostcodeFocusNode ??= FocusNode();
  68. _model.textFieldPlaatsTextController ??= TextEditingController()
  69. ..addListener(() {
  70. debugLogWidgetClass(_model);
  71. });
  72. _model.textFieldPlaatsFocusNode ??= FocusNode();
  73. _model.textFieldEntreeprijsTextController ??= TextEditingController()
  74. ..addListener(() {
  75. debugLogWidgetClass(_model);
  76. });
  77. _model.textFieldEntreeprijsFocusNode ??= FocusNode();
  78. _model.textFieldToelichtingEntreeTextController ??= TextEditingController()
  79. ..addListener(() {
  80. debugLogWidgetClass(_model);
  81. });
  82. _model.textFieldToelichtingEntreeFocusNode ??= FocusNode();
  83. _model.textFieldWebsiteURLTextController ??= TextEditingController()
  84. ..addListener(() {
  85. debugLogWidgetClass(_model);
  86. });
  87. _model.textFieldWebsiteURLFocusNode ??= FocusNode();
  88. }
  89. @override
  90. void dispose() {
  91. routeObserver.unsubscribe(this);
  92. _model.dispose();
  93. super.dispose();
  94. }
  95. @override
  96. void didUpdateWidget(StadsactiviteitAanmakenWidget oldWidget) {
  97. super.didUpdateWidget(oldWidget);
  98. _model.widget = widget;
  99. }
  100. @override
  101. void didChangeDependencies() {
  102. super.didChangeDependencies();
  103. final route = DebugModalRoute.of(context);
  104. if (route != null) {
  105. routeObserver.subscribe(this, route);
  106. }
  107. debugLogGlobalProperty(context);
  108. }
  109. @override
  110. void didPopNext() {
  111. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  112. setState(() => _model.isRouteVisible = true);
  113. debugLogWidgetClass(_model);
  114. }
  115. }
  116. @override
  117. void didPush() {
  118. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  119. setState(() => _model.isRouteVisible = true);
  120. debugLogWidgetClass(_model);
  121. }
  122. }
  123. @override
  124. void didPop() {
  125. _model.isRouteVisible = false;
  126. }
  127. @override
  128. void didPushNext() {
  129. _model.isRouteVisible = false;
  130. }
  131. @override
  132. Widget build(BuildContext context) {
  133. DebugFlutterFlowModelContext.maybeOf(context)
  134. ?.parentModelCallback
  135. ?.call(_model);
  136. return GestureDetector(
  137. onTap: () {
  138. FocusScope.of(context).unfocus();
  139. FocusManager.instance.primaryFocus?.unfocus();
  140. },
  141. child: Scaffold(
  142. key: scaffoldKey,
  143. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  144. appBar: AppBar(
  145. backgroundColor: FlutterFlowTheme.of(context).primary,
  146. automaticallyImplyLeading: true,
  147. actions: [],
  148. centerTitle: true,
  149. elevation: 0.0,
  150. ),
  151. body: SafeArea(
  152. top: true,
  153. child: Padding(
  154. padding: EdgeInsets.all(16.0),
  155. child: SingleChildScrollView(
  156. child: Column(
  157. mainAxisSize: MainAxisSize.max,
  158. children: [
  159. Container(
  160. width: 200.0,
  161. child: TextFormField(
  162. controller: _model.textFieldTitelTextController,
  163. focusNode: _model.textFieldTitelFocusNode,
  164. autofocus: false,
  165. enabled: true,
  166. obscureText: false,
  167. decoration: InputDecoration(
  168. isDense: true,
  169. labelText: FFLocalizations.of(context).getText(
  170. 'xorq08j5' /* Titel */,
  171. ),
  172. labelStyle:
  173. FlutterFlowTheme.of(context).labelMedium.override(
  174. font: GoogleFonts.inter(
  175. fontWeight: FlutterFlowTheme.of(context)
  176. .labelMedium
  177. .fontWeight,
  178. fontStyle: FlutterFlowTheme.of(context)
  179. .labelMedium
  180. .fontStyle,
  181. ),
  182. letterSpacing: 0.0,
  183. fontWeight: FlutterFlowTheme.of(context)
  184. .labelMedium
  185. .fontWeight,
  186. fontStyle: FlutterFlowTheme.of(context)
  187. .labelMedium
  188. .fontStyle,
  189. ),
  190. hintText: FFLocalizations.of(context).getText(
  191. 'jwgx4el8' /* Titel activiteit */,
  192. ),
  193. hintStyle:
  194. FlutterFlowTheme.of(context).labelMedium.override(
  195. font: GoogleFonts.inter(
  196. fontWeight: FlutterFlowTheme.of(context)
  197. .labelMedium
  198. .fontWeight,
  199. fontStyle: FlutterFlowTheme.of(context)
  200. .labelMedium
  201. .fontStyle,
  202. ),
  203. letterSpacing: 0.0,
  204. fontWeight: FlutterFlowTheme.of(context)
  205. .labelMedium
  206. .fontWeight,
  207. fontStyle: FlutterFlowTheme.of(context)
  208. .labelMedium
  209. .fontStyle,
  210. ),
  211. enabledBorder: OutlineInputBorder(
  212. borderSide: BorderSide(
  213. color: Color(0x00000000),
  214. width: 1.0,
  215. ),
  216. borderRadius: BorderRadius.circular(8.0),
  217. ),
  218. focusedBorder: OutlineInputBorder(
  219. borderSide: BorderSide(
  220. color: Color(0x00000000),
  221. width: 1.0,
  222. ),
  223. borderRadius: BorderRadius.circular(8.0),
  224. ),
  225. errorBorder: OutlineInputBorder(
  226. borderSide: BorderSide(
  227. color: FlutterFlowTheme.of(context).error,
  228. width: 1.0,
  229. ),
  230. borderRadius: BorderRadius.circular(8.0),
  231. ),
  232. focusedErrorBorder: OutlineInputBorder(
  233. borderSide: BorderSide(
  234. color: FlutterFlowTheme.of(context).error,
  235. width: 1.0,
  236. ),
  237. borderRadius: BorderRadius.circular(8.0),
  238. ),
  239. filled: true,
  240. fillColor:
  241. FlutterFlowTheme.of(context).secondaryBackground,
  242. ),
  243. style: FlutterFlowTheme.of(context).bodyMedium.override(
  244. font: GoogleFonts.inter(
  245. fontWeight: FlutterFlowTheme.of(context)
  246. .bodyMedium
  247. .fontWeight,
  248. fontStyle: FlutterFlowTheme.of(context)
  249. .bodyMedium
  250. .fontStyle,
  251. ),
  252. letterSpacing: 0.0,
  253. fontWeight: FlutterFlowTheme.of(context)
  254. .bodyMedium
  255. .fontWeight,
  256. fontStyle: FlutterFlowTheme.of(context)
  257. .bodyMedium
  258. .fontStyle,
  259. ),
  260. cursorColor: FlutterFlowTheme.of(context).primaryText,
  261. enableInteractiveSelection: true,
  262. validator: _model.textFieldTitelTextControllerValidator
  263. .asValidator(context),
  264. ),
  265. ),
  266. Container(
  267. width: double.infinity,
  268. child: TextFormField(
  269. controller: _model.textFieldDatumStartTextController,
  270. focusNode: _model.textFieldDatumStartFocusNode,
  271. onFieldSubmitted: (_) async {
  272. final _datePicked1Date = await showDatePicker(
  273. context: context,
  274. initialDate: getCurrentTimestamp,
  275. firstDate: getCurrentTimestamp,
  276. lastDate: DateTime(2050),
  277. builder: (context, child) {
  278. return wrapInMaterialDatePickerTheme(
  279. context,
  280. child!,
  281. headerBackgroundColor:
  282. FlutterFlowTheme.of(context).primary,
  283. headerForegroundColor:
  284. FlutterFlowTheme.of(context).info,
  285. headerTextStyle: FlutterFlowTheme.of(context)
  286. .headlineLarge
  287. .override(
  288. font: GoogleFonts.interTight(
  289. fontWeight: FontWeight.w600,
  290. fontStyle: FlutterFlowTheme.of(context)
  291. .headlineLarge
  292. .fontStyle,
  293. ),
  294. fontSize: 32.0,
  295. letterSpacing: 0.0,
  296. fontWeight: FontWeight.w600,
  297. fontStyle: FlutterFlowTheme.of(context)
  298. .headlineLarge
  299. .fontStyle,
  300. ),
  301. pickerBackgroundColor:
  302. FlutterFlowTheme.of(context)
  303. .secondaryBackground,
  304. pickerForegroundColor:
  305. FlutterFlowTheme.of(context).primaryText,
  306. selectedDateTimeBackgroundColor:
  307. FlutterFlowTheme.of(context).primary,
  308. selectedDateTimeForegroundColor:
  309. FlutterFlowTheme.of(context).info,
  310. actionButtonForegroundColor:
  311. FlutterFlowTheme.of(context).primaryText,
  312. iconSize: 24.0,
  313. );
  314. },
  315. );
  316. TimeOfDay? _datePicked1Time;
  317. if (_datePicked1Date != null) {
  318. _datePicked1Time = await showTimePicker(
  319. context: context,
  320. initialTime:
  321. TimeOfDay.fromDateTime(getCurrentTimestamp),
  322. builder: (context, child) {
  323. return wrapInMaterialTimePickerTheme(
  324. context,
  325. child!,
  326. headerBackgroundColor:
  327. FlutterFlowTheme.of(context).primary,
  328. headerForegroundColor:
  329. FlutterFlowTheme.of(context).info,
  330. headerTextStyle: FlutterFlowTheme.of(context)
  331. .headlineLarge
  332. .override(
  333. font: GoogleFonts.interTight(
  334. fontWeight: FontWeight.w600,
  335. fontStyle: FlutterFlowTheme.of(context)
  336. .headlineLarge
  337. .fontStyle,
  338. ),
  339. fontSize: 32.0,
  340. letterSpacing: 0.0,
  341. fontWeight: FontWeight.w600,
  342. fontStyle: FlutterFlowTheme.of(context)
  343. .headlineLarge
  344. .fontStyle,
  345. ),
  346. pickerBackgroundColor:
  347. FlutterFlowTheme.of(context)
  348. .secondaryBackground,
  349. pickerForegroundColor:
  350. FlutterFlowTheme.of(context).primaryText,
  351. selectedDateTimeBackgroundColor:
  352. FlutterFlowTheme.of(context).primary,
  353. selectedDateTimeForegroundColor:
  354. FlutterFlowTheme.of(context).info,
  355. actionButtonForegroundColor:
  356. FlutterFlowTheme.of(context).primaryText,
  357. iconSize: 24.0,
  358. );
  359. },
  360. );
  361. }
  362. if (_datePicked1Date != null &&
  363. _datePicked1Time != null) {
  364. safeSetState(() {
  365. _model.datePicked1 = DateTime(
  366. _datePicked1Date.year,
  367. _datePicked1Date.month,
  368. _datePicked1Date.day,
  369. _datePicked1Time!.hour,
  370. _datePicked1Time.minute,
  371. );
  372. });
  373. } else if (_model.datePicked1 != null) {
  374. safeSetState(() {
  375. _model.datePicked1 = getCurrentTimestamp;
  376. });
  377. }
  378. safeSetState(() {
  379. _model.textFieldDatumStartTextController?.text =
  380. _model.datePicked1!.toString();
  381. });
  382. },
  383. autofocus: false,
  384. enabled: true,
  385. readOnly: true,
  386. obscureText: false,
  387. decoration: InputDecoration(
  388. isDense: true,
  389. labelText: FFLocalizations.of(context).getText(
  390. 'dfa8vusy' /* Datum */,
  391. ),
  392. labelStyle:
  393. FlutterFlowTheme.of(context).labelMedium.override(
  394. font: GoogleFonts.inter(
  395. fontWeight: FlutterFlowTheme.of(context)
  396. .labelMedium
  397. .fontWeight,
  398. fontStyle: FlutterFlowTheme.of(context)
  399. .labelMedium
  400. .fontStyle,
  401. ),
  402. letterSpacing: 0.0,
  403. fontWeight: FlutterFlowTheme.of(context)
  404. .labelMedium
  405. .fontWeight,
  406. fontStyle: FlutterFlowTheme.of(context)
  407. .labelMedium
  408. .fontStyle,
  409. ),
  410. hintText: FFLocalizations.of(context).getText(
  411. '7vogkwoh' /* Datum */,
  412. ),
  413. hintStyle:
  414. FlutterFlowTheme.of(context).labelMedium.override(
  415. font: GoogleFonts.inter(
  416. fontWeight: FlutterFlowTheme.of(context)
  417. .labelMedium
  418. .fontWeight,
  419. fontStyle: FlutterFlowTheme.of(context)
  420. .labelMedium
  421. .fontStyle,
  422. ),
  423. letterSpacing: 0.0,
  424. fontWeight: FlutterFlowTheme.of(context)
  425. .labelMedium
  426. .fontWeight,
  427. fontStyle: FlutterFlowTheme.of(context)
  428. .labelMedium
  429. .fontStyle,
  430. ),
  431. enabledBorder: OutlineInputBorder(
  432. borderSide: BorderSide(
  433. color: Color(0x00000000),
  434. width: 1.0,
  435. ),
  436. borderRadius: BorderRadius.circular(8.0),
  437. ),
  438. focusedBorder: OutlineInputBorder(
  439. borderSide: BorderSide(
  440. color: Color(0x00000000),
  441. width: 1.0,
  442. ),
  443. borderRadius: BorderRadius.circular(8.0),
  444. ),
  445. errorBorder: OutlineInputBorder(
  446. borderSide: BorderSide(
  447. color: FlutterFlowTheme.of(context).error,
  448. width: 1.0,
  449. ),
  450. borderRadius: BorderRadius.circular(8.0),
  451. ),
  452. focusedErrorBorder: OutlineInputBorder(
  453. borderSide: BorderSide(
  454. color: FlutterFlowTheme.of(context).error,
  455. width: 1.0,
  456. ),
  457. borderRadius: BorderRadius.circular(8.0),
  458. ),
  459. filled: true,
  460. fillColor:
  461. FlutterFlowTheme.of(context).secondaryBackground,
  462. ),
  463. style: FlutterFlowTheme.of(context).bodyMedium.override(
  464. font: GoogleFonts.inter(
  465. fontWeight: FlutterFlowTheme.of(context)
  466. .bodyMedium
  467. .fontWeight,
  468. fontStyle: FlutterFlowTheme.of(context)
  469. .bodyMedium
  470. .fontStyle,
  471. ),
  472. letterSpacing: 0.0,
  473. fontWeight: FlutterFlowTheme.of(context)
  474. .bodyMedium
  475. .fontWeight,
  476. fontStyle: FlutterFlowTheme.of(context)
  477. .bodyMedium
  478. .fontStyle,
  479. ),
  480. cursorColor: FlutterFlowTheme.of(context).primaryText,
  481. enableInteractiveSelection: true,
  482. validator: _model
  483. .textFieldDatumStartTextControllerValidator
  484. .asValidator(context),
  485. ),
  486. ),
  487. Container(
  488. width: double.infinity,
  489. child: TextFormField(
  490. controller: _model.textFieldDatumEindTextController,
  491. focusNode: _model.textFieldDatumEindFocusNode,
  492. onFieldSubmitted: (_) async {
  493. final _datePicked2Date = await showDatePicker(
  494. context: context,
  495. initialDate: getCurrentTimestamp,
  496. firstDate: getCurrentTimestamp,
  497. lastDate: DateTime(2050),
  498. builder: (context, child) {
  499. return wrapInMaterialDatePickerTheme(
  500. context,
  501. child!,
  502. headerBackgroundColor:
  503. FlutterFlowTheme.of(context).primary,
  504. headerForegroundColor:
  505. FlutterFlowTheme.of(context).info,
  506. headerTextStyle: FlutterFlowTheme.of(context)
  507. .headlineLarge
  508. .override(
  509. font: GoogleFonts.interTight(
  510. fontWeight: FontWeight.w600,
  511. fontStyle: FlutterFlowTheme.of(context)
  512. .headlineLarge
  513. .fontStyle,
  514. ),
  515. fontSize: 32.0,
  516. letterSpacing: 0.0,
  517. fontWeight: FontWeight.w600,
  518. fontStyle: FlutterFlowTheme.of(context)
  519. .headlineLarge
  520. .fontStyle,
  521. ),
  522. pickerBackgroundColor:
  523. FlutterFlowTheme.of(context)
  524. .secondaryBackground,
  525. pickerForegroundColor:
  526. FlutterFlowTheme.of(context).primaryText,
  527. selectedDateTimeBackgroundColor:
  528. FlutterFlowTheme.of(context).primary,
  529. selectedDateTimeForegroundColor:
  530. FlutterFlowTheme.of(context).info,
  531. actionButtonForegroundColor:
  532. FlutterFlowTheme.of(context).primaryText,
  533. iconSize: 24.0,
  534. );
  535. },
  536. );
  537. TimeOfDay? _datePicked2Time;
  538. if (_datePicked2Date != null) {
  539. _datePicked2Time = await showTimePicker(
  540. context: context,
  541. initialTime:
  542. TimeOfDay.fromDateTime(getCurrentTimestamp),
  543. builder: (context, child) {
  544. return wrapInMaterialTimePickerTheme(
  545. context,
  546. child!,
  547. headerBackgroundColor:
  548. FlutterFlowTheme.of(context).primary,
  549. headerForegroundColor:
  550. FlutterFlowTheme.of(context).info,
  551. headerTextStyle: FlutterFlowTheme.of(context)
  552. .headlineLarge
  553. .override(
  554. font: GoogleFonts.interTight(
  555. fontWeight: FontWeight.w600,
  556. fontStyle: FlutterFlowTheme.of(context)
  557. .headlineLarge
  558. .fontStyle,
  559. ),
  560. fontSize: 32.0,
  561. letterSpacing: 0.0,
  562. fontWeight: FontWeight.w600,
  563. fontStyle: FlutterFlowTheme.of(context)
  564. .headlineLarge
  565. .fontStyle,
  566. ),
  567. pickerBackgroundColor:
  568. FlutterFlowTheme.of(context)
  569. .secondaryBackground,
  570. pickerForegroundColor:
  571. FlutterFlowTheme.of(context).primaryText,
  572. selectedDateTimeBackgroundColor:
  573. FlutterFlowTheme.of(context).primary,
  574. selectedDateTimeForegroundColor:
  575. FlutterFlowTheme.of(context).info,
  576. actionButtonForegroundColor:
  577. FlutterFlowTheme.of(context).primaryText,
  578. iconSize: 24.0,
  579. );
  580. },
  581. );
  582. }
  583. if (_datePicked2Date != null &&
  584. _datePicked2Time != null) {
  585. safeSetState(() {
  586. _model.datePicked2 = DateTime(
  587. _datePicked2Date.year,
  588. _datePicked2Date.month,
  589. _datePicked2Date.day,
  590. _datePicked2Time!.hour,
  591. _datePicked2Time.minute,
  592. );
  593. });
  594. } else if (_model.datePicked2 != null) {
  595. safeSetState(() {
  596. _model.datePicked2 = getCurrentTimestamp;
  597. });
  598. }
  599. safeSetState(() {
  600. _model.textFieldDatumEindTextController?.text =
  601. _model.datePicked2!.toString();
  602. });
  603. },
  604. autofocus: false,
  605. enabled: true,
  606. readOnly: true,
  607. obscureText: false,
  608. decoration: InputDecoration(
  609. isDense: true,
  610. labelText: FFLocalizations.of(context).getText(
  611. '71z3uvd8' /* Datum eind */,
  612. ),
  613. labelStyle:
  614. FlutterFlowTheme.of(context).labelMedium.override(
  615. font: GoogleFonts.inter(
  616. fontWeight: FlutterFlowTheme.of(context)
  617. .labelMedium
  618. .fontWeight,
  619. fontStyle: FlutterFlowTheme.of(context)
  620. .labelMedium
  621. .fontStyle,
  622. ),
  623. letterSpacing: 0.0,
  624. fontWeight: FlutterFlowTheme.of(context)
  625. .labelMedium
  626. .fontWeight,
  627. fontStyle: FlutterFlowTheme.of(context)
  628. .labelMedium
  629. .fontStyle,
  630. ),
  631. hintText: FFLocalizations.of(context).getText(
  632. '1k52hayg' /* Datum eind */,
  633. ),
  634. hintStyle:
  635. FlutterFlowTheme.of(context).labelMedium.override(
  636. font: GoogleFonts.inter(
  637. fontWeight: FlutterFlowTheme.of(context)
  638. .labelMedium
  639. .fontWeight,
  640. fontStyle: FlutterFlowTheme.of(context)
  641. .labelMedium
  642. .fontStyle,
  643. ),
  644. letterSpacing: 0.0,
  645. fontWeight: FlutterFlowTheme.of(context)
  646. .labelMedium
  647. .fontWeight,
  648. fontStyle: FlutterFlowTheme.of(context)
  649. .labelMedium
  650. .fontStyle,
  651. ),
  652. enabledBorder: OutlineInputBorder(
  653. borderSide: BorderSide(
  654. color: Color(0x00000000),
  655. width: 1.0,
  656. ),
  657. borderRadius: BorderRadius.circular(8.0),
  658. ),
  659. focusedBorder: OutlineInputBorder(
  660. borderSide: BorderSide(
  661. color: Color(0x00000000),
  662. width: 1.0,
  663. ),
  664. borderRadius: BorderRadius.circular(8.0),
  665. ),
  666. errorBorder: OutlineInputBorder(
  667. borderSide: BorderSide(
  668. color: FlutterFlowTheme.of(context).error,
  669. width: 1.0,
  670. ),
  671. borderRadius: BorderRadius.circular(8.0),
  672. ),
  673. focusedErrorBorder: OutlineInputBorder(
  674. borderSide: BorderSide(
  675. color: FlutterFlowTheme.of(context).error,
  676. width: 1.0,
  677. ),
  678. borderRadius: BorderRadius.circular(8.0),
  679. ),
  680. filled: true,
  681. fillColor:
  682. FlutterFlowTheme.of(context).secondaryBackground,
  683. ),
  684. style: FlutterFlowTheme.of(context).bodyMedium.override(
  685. font: GoogleFonts.inter(
  686. fontWeight: FlutterFlowTheme.of(context)
  687. .bodyMedium
  688. .fontWeight,
  689. fontStyle: FlutterFlowTheme.of(context)
  690. .bodyMedium
  691. .fontStyle,
  692. ),
  693. letterSpacing: 0.0,
  694. fontWeight: FlutterFlowTheme.of(context)
  695. .bodyMedium
  696. .fontWeight,
  697. fontStyle: FlutterFlowTheme.of(context)
  698. .bodyMedium
  699. .fontStyle,
  700. ),
  701. cursorColor: FlutterFlowTheme.of(context).primaryText,
  702. enableInteractiveSelection: true,
  703. validator: _model
  704. .textFieldDatumEindTextControllerValidator
  705. .asValidator(context),
  706. ),
  707. ),
  708. Container(
  709. width: double.infinity,
  710. child: TextFormField(
  711. controller: _model.textFieldOmschrijvingTextController,
  712. focusNode: _model.textFieldOmschrijvingFocusNode,
  713. autofocus: false,
  714. enabled: true,
  715. obscureText: false,
  716. decoration: InputDecoration(
  717. isDense: true,
  718. labelText: FFLocalizations.of(context).getText(
  719. 'vc73ugaq' /* Omschrijving */,
  720. ),
  721. labelStyle:
  722. FlutterFlowTheme.of(context).labelMedium.override(
  723. font: GoogleFonts.inter(
  724. fontWeight: FlutterFlowTheme.of(context)
  725. .labelMedium
  726. .fontWeight,
  727. fontStyle: FlutterFlowTheme.of(context)
  728. .labelMedium
  729. .fontStyle,
  730. ),
  731. letterSpacing: 0.0,
  732. fontWeight: FlutterFlowTheme.of(context)
  733. .labelMedium
  734. .fontWeight,
  735. fontStyle: FlutterFlowTheme.of(context)
  736. .labelMedium
  737. .fontStyle,
  738. ),
  739. hintText: FFLocalizations.of(context).getText(
  740. 'k4jw1fl6' /* Omschrijving activiteit */,
  741. ),
  742. hintStyle:
  743. FlutterFlowTheme.of(context).labelMedium.override(
  744. font: GoogleFonts.inter(
  745. fontWeight: FlutterFlowTheme.of(context)
  746. .labelMedium
  747. .fontWeight,
  748. fontStyle: FlutterFlowTheme.of(context)
  749. .labelMedium
  750. .fontStyle,
  751. ),
  752. letterSpacing: 0.0,
  753. fontWeight: FlutterFlowTheme.of(context)
  754. .labelMedium
  755. .fontWeight,
  756. fontStyle: FlutterFlowTheme.of(context)
  757. .labelMedium
  758. .fontStyle,
  759. ),
  760. enabledBorder: OutlineInputBorder(
  761. borderSide: BorderSide(
  762. color: Color(0x00000000),
  763. width: 1.0,
  764. ),
  765. borderRadius: BorderRadius.circular(8.0),
  766. ),
  767. focusedBorder: OutlineInputBorder(
  768. borderSide: BorderSide(
  769. color: Color(0x00000000),
  770. width: 1.0,
  771. ),
  772. borderRadius: BorderRadius.circular(8.0),
  773. ),
  774. errorBorder: OutlineInputBorder(
  775. borderSide: BorderSide(
  776. color: FlutterFlowTheme.of(context).error,
  777. width: 1.0,
  778. ),
  779. borderRadius: BorderRadius.circular(8.0),
  780. ),
  781. focusedErrorBorder: OutlineInputBorder(
  782. borderSide: BorderSide(
  783. color: FlutterFlowTheme.of(context).error,
  784. width: 1.0,
  785. ),
  786. borderRadius: BorderRadius.circular(8.0),
  787. ),
  788. filled: true,
  789. fillColor:
  790. FlutterFlowTheme.of(context).secondaryBackground,
  791. ),
  792. style: FlutterFlowTheme.of(context).bodyMedium.override(
  793. font: GoogleFonts.inter(
  794. fontWeight: FlutterFlowTheme.of(context)
  795. .bodyMedium
  796. .fontWeight,
  797. fontStyle: FlutterFlowTheme.of(context)
  798. .bodyMedium
  799. .fontStyle,
  800. ),
  801. letterSpacing: 0.0,
  802. fontWeight: FlutterFlowTheme.of(context)
  803. .bodyMedium
  804. .fontWeight,
  805. fontStyle: FlutterFlowTheme.of(context)
  806. .bodyMedium
  807. .fontStyle,
  808. ),
  809. cursorColor: FlutterFlowTheme.of(context).primaryText,
  810. enableInteractiveSelection: true,
  811. validator: _model
  812. .textFieldOmschrijvingTextControllerValidator
  813. .asValidator(context),
  814. ),
  815. ),
  816. Container(
  817. width: double.infinity,
  818. child: TextFormField(
  819. controller: _model.textFieldOrganisatorTextController,
  820. focusNode: _model.textFieldOrganisatorFocusNode,
  821. autofocus: false,
  822. enabled: true,
  823. obscureText: false,
  824. decoration: InputDecoration(
  825. isDense: true,
  826. labelText: FFLocalizations.of(context).getText(
  827. '7dy1oyjr' /* Organisator */,
  828. ),
  829. labelStyle:
  830. FlutterFlowTheme.of(context).labelMedium.override(
  831. font: GoogleFonts.inter(
  832. fontWeight: FlutterFlowTheme.of(context)
  833. .labelMedium
  834. .fontWeight,
  835. fontStyle: FlutterFlowTheme.of(context)
  836. .labelMedium
  837. .fontStyle,
  838. ),
  839. letterSpacing: 0.0,
  840. fontWeight: FlutterFlowTheme.of(context)
  841. .labelMedium
  842. .fontWeight,
  843. fontStyle: FlutterFlowTheme.of(context)
  844. .labelMedium
  845. .fontStyle,
  846. ),
  847. hintText: FFLocalizations.of(context).getText(
  848. 'nxfif83l' /* Organisator van de activiteit */,
  849. ),
  850. hintStyle:
  851. FlutterFlowTheme.of(context).labelMedium.override(
  852. font: GoogleFonts.inter(
  853. fontWeight: FlutterFlowTheme.of(context)
  854. .labelMedium
  855. .fontWeight,
  856. fontStyle: FlutterFlowTheme.of(context)
  857. .labelMedium
  858. .fontStyle,
  859. ),
  860. letterSpacing: 0.0,
  861. fontWeight: FlutterFlowTheme.of(context)
  862. .labelMedium
  863. .fontWeight,
  864. fontStyle: FlutterFlowTheme.of(context)
  865. .labelMedium
  866. .fontStyle,
  867. ),
  868. enabledBorder: OutlineInputBorder(
  869. borderSide: BorderSide(
  870. color: Color(0x00000000),
  871. width: 1.0,
  872. ),
  873. borderRadius: BorderRadius.circular(8.0),
  874. ),
  875. focusedBorder: OutlineInputBorder(
  876. borderSide: BorderSide(
  877. color: Color(0x00000000),
  878. width: 1.0,
  879. ),
  880. borderRadius: BorderRadius.circular(8.0),
  881. ),
  882. errorBorder: OutlineInputBorder(
  883. borderSide: BorderSide(
  884. color: FlutterFlowTheme.of(context).error,
  885. width: 1.0,
  886. ),
  887. borderRadius: BorderRadius.circular(8.0),
  888. ),
  889. focusedErrorBorder: OutlineInputBorder(
  890. borderSide: BorderSide(
  891. color: FlutterFlowTheme.of(context).error,
  892. width: 1.0,
  893. ),
  894. borderRadius: BorderRadius.circular(8.0),
  895. ),
  896. filled: true,
  897. fillColor:
  898. FlutterFlowTheme.of(context).secondaryBackground,
  899. ),
  900. style: FlutterFlowTheme.of(context).bodyMedium.override(
  901. font: GoogleFonts.inter(
  902. fontWeight: FlutterFlowTheme.of(context)
  903. .bodyMedium
  904. .fontWeight,
  905. fontStyle: FlutterFlowTheme.of(context)
  906. .bodyMedium
  907. .fontStyle,
  908. ),
  909. letterSpacing: 0.0,
  910. fontWeight: FlutterFlowTheme.of(context)
  911. .bodyMedium
  912. .fontWeight,
  913. fontStyle: FlutterFlowTheme.of(context)
  914. .bodyMedium
  915. .fontStyle,
  916. ),
  917. cursorColor: FlutterFlowTheme.of(context).primaryText,
  918. enableInteractiveSelection: true,
  919. validator: _model
  920. .textFieldOrganisatorTextControllerValidator
  921. .asValidator(context),
  922. ),
  923. ),
  924. Container(
  925. width: double.infinity,
  926. child: TextFormField(
  927. controller: _model.textFieldContactTextController,
  928. focusNode: _model.textFieldContactFocusNode,
  929. autofocus: false,
  930. enabled: true,
  931. obscureText: false,
  932. decoration: InputDecoration(
  933. isDense: true,
  934. labelText: FFLocalizations.of(context).getText(
  935. '06lh8r3a' /* Contact */,
  936. ),
  937. labelStyle:
  938. FlutterFlowTheme.of(context).labelMedium.override(
  939. font: GoogleFonts.inter(
  940. fontWeight: FlutterFlowTheme.of(context)
  941. .labelMedium
  942. .fontWeight,
  943. fontStyle: FlutterFlowTheme.of(context)
  944. .labelMedium
  945. .fontStyle,
  946. ),
  947. letterSpacing: 0.0,
  948. fontWeight: FlutterFlowTheme.of(context)
  949. .labelMedium
  950. .fontWeight,
  951. fontStyle: FlutterFlowTheme.of(context)
  952. .labelMedium
  953. .fontStyle,
  954. ),
  955. hintText: FFLocalizations.of(context).getText(
  956. 'p3rwq60m' /* Contact email/telefoon */,
  957. ),
  958. hintStyle:
  959. FlutterFlowTheme.of(context).labelMedium.override(
  960. font: GoogleFonts.inter(
  961. fontWeight: FlutterFlowTheme.of(context)
  962. .labelMedium
  963. .fontWeight,
  964. fontStyle: FlutterFlowTheme.of(context)
  965. .labelMedium
  966. .fontStyle,
  967. ),
  968. letterSpacing: 0.0,
  969. fontWeight: FlutterFlowTheme.of(context)
  970. .labelMedium
  971. .fontWeight,
  972. fontStyle: FlutterFlowTheme.of(context)
  973. .labelMedium
  974. .fontStyle,
  975. ),
  976. enabledBorder: OutlineInputBorder(
  977. borderSide: BorderSide(
  978. color: Color(0x00000000),
  979. width: 1.0,
  980. ),
  981. borderRadius: BorderRadius.circular(8.0),
  982. ),
  983. focusedBorder: OutlineInputBorder(
  984. borderSide: BorderSide(
  985. color: Color(0x00000000),
  986. width: 1.0,
  987. ),
  988. borderRadius: BorderRadius.circular(8.0),
  989. ),
  990. errorBorder: OutlineInputBorder(
  991. borderSide: BorderSide(
  992. color: FlutterFlowTheme.of(context).error,
  993. width: 1.0,
  994. ),
  995. borderRadius: BorderRadius.circular(8.0),
  996. ),
  997. focusedErrorBorder: OutlineInputBorder(
  998. borderSide: BorderSide(
  999. color: FlutterFlowTheme.of(context).error,
  1000. width: 1.0,
  1001. ),
  1002. borderRadius: BorderRadius.circular(8.0),
  1003. ),
  1004. filled: true,
  1005. fillColor:
  1006. FlutterFlowTheme.of(context).secondaryBackground,
  1007. ),
  1008. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1009. font: GoogleFonts.inter(
  1010. fontWeight: FlutterFlowTheme.of(context)
  1011. .bodyMedium
  1012. .fontWeight,
  1013. fontStyle: FlutterFlowTheme.of(context)
  1014. .bodyMedium
  1015. .fontStyle,
  1016. ),
  1017. letterSpacing: 0.0,
  1018. fontWeight: FlutterFlowTheme.of(context)
  1019. .bodyMedium
  1020. .fontWeight,
  1021. fontStyle: FlutterFlowTheme.of(context)
  1022. .bodyMedium
  1023. .fontStyle,
  1024. ),
  1025. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1026. enableInteractiveSelection: true,
  1027. validator: _model.textFieldContactTextControllerValidator
  1028. .asValidator(context),
  1029. ),
  1030. ),
  1031. Container(
  1032. width: double.infinity,
  1033. child: TextFormField(
  1034. controller: _model.textFieldAdresTextController,
  1035. focusNode: _model.textFieldAdresFocusNode,
  1036. autofocus: false,
  1037. enabled: true,
  1038. obscureText: false,
  1039. decoration: InputDecoration(
  1040. isDense: true,
  1041. labelText: FFLocalizations.of(context).getText(
  1042. '5ehouxlk' /* Adres */,
  1043. ),
  1044. labelStyle:
  1045. FlutterFlowTheme.of(context).labelMedium.override(
  1046. font: GoogleFonts.inter(
  1047. fontWeight: FlutterFlowTheme.of(context)
  1048. .labelMedium
  1049. .fontWeight,
  1050. fontStyle: FlutterFlowTheme.of(context)
  1051. .labelMedium
  1052. .fontStyle,
  1053. ),
  1054. letterSpacing: 0.0,
  1055. fontWeight: FlutterFlowTheme.of(context)
  1056. .labelMedium
  1057. .fontWeight,
  1058. fontStyle: FlutterFlowTheme.of(context)
  1059. .labelMedium
  1060. .fontStyle,
  1061. ),
  1062. hintText: FFLocalizations.of(context).getText(
  1063. '4czd99zl' /* Adres */,
  1064. ),
  1065. hintStyle:
  1066. FlutterFlowTheme.of(context).labelMedium.override(
  1067. font: GoogleFonts.inter(
  1068. fontWeight: FlutterFlowTheme.of(context)
  1069. .labelMedium
  1070. .fontWeight,
  1071. fontStyle: FlutterFlowTheme.of(context)
  1072. .labelMedium
  1073. .fontStyle,
  1074. ),
  1075. letterSpacing: 0.0,
  1076. fontWeight: FlutterFlowTheme.of(context)
  1077. .labelMedium
  1078. .fontWeight,
  1079. fontStyle: FlutterFlowTheme.of(context)
  1080. .labelMedium
  1081. .fontStyle,
  1082. ),
  1083. enabledBorder: OutlineInputBorder(
  1084. borderSide: BorderSide(
  1085. color: Color(0x00000000),
  1086. width: 1.0,
  1087. ),
  1088. borderRadius: BorderRadius.circular(8.0),
  1089. ),
  1090. focusedBorder: OutlineInputBorder(
  1091. borderSide: BorderSide(
  1092. color: Color(0x00000000),
  1093. width: 1.0,
  1094. ),
  1095. borderRadius: BorderRadius.circular(8.0),
  1096. ),
  1097. errorBorder: OutlineInputBorder(
  1098. borderSide: BorderSide(
  1099. color: FlutterFlowTheme.of(context).error,
  1100. width: 1.0,
  1101. ),
  1102. borderRadius: BorderRadius.circular(8.0),
  1103. ),
  1104. focusedErrorBorder: OutlineInputBorder(
  1105. borderSide: BorderSide(
  1106. color: FlutterFlowTheme.of(context).error,
  1107. width: 1.0,
  1108. ),
  1109. borderRadius: BorderRadius.circular(8.0),
  1110. ),
  1111. filled: true,
  1112. fillColor:
  1113. FlutterFlowTheme.of(context).secondaryBackground,
  1114. ),
  1115. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1116. font: GoogleFonts.inter(
  1117. fontWeight: FlutterFlowTheme.of(context)
  1118. .bodyMedium
  1119. .fontWeight,
  1120. fontStyle: FlutterFlowTheme.of(context)
  1121. .bodyMedium
  1122. .fontStyle,
  1123. ),
  1124. letterSpacing: 0.0,
  1125. fontWeight: FlutterFlowTheme.of(context)
  1126. .bodyMedium
  1127. .fontWeight,
  1128. fontStyle: FlutterFlowTheme.of(context)
  1129. .bodyMedium
  1130. .fontStyle,
  1131. ),
  1132. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1133. enableInteractiveSelection: true,
  1134. validator: _model.textFieldAdresTextControllerValidator
  1135. .asValidator(context),
  1136. ),
  1137. ),
  1138. Container(
  1139. width: double.infinity,
  1140. child: TextFormField(
  1141. controller: _model.textFieldPostcodeTextController,
  1142. focusNode: _model.textFieldPostcodeFocusNode,
  1143. autofocus: false,
  1144. enabled: true,
  1145. obscureText: false,
  1146. decoration: InputDecoration(
  1147. isDense: true,
  1148. labelText: FFLocalizations.of(context).getText(
  1149. 'oo7z1mp8' /* Postcode */,
  1150. ),
  1151. labelStyle:
  1152. FlutterFlowTheme.of(context).labelMedium.override(
  1153. font: GoogleFonts.inter(
  1154. fontWeight: FlutterFlowTheme.of(context)
  1155. .labelMedium
  1156. .fontWeight,
  1157. fontStyle: FlutterFlowTheme.of(context)
  1158. .labelMedium
  1159. .fontStyle,
  1160. ),
  1161. letterSpacing: 0.0,
  1162. fontWeight: FlutterFlowTheme.of(context)
  1163. .labelMedium
  1164. .fontWeight,
  1165. fontStyle: FlutterFlowTheme.of(context)
  1166. .labelMedium
  1167. .fontStyle,
  1168. ),
  1169. hintText: FFLocalizations.of(context).getText(
  1170. 'j9h65a88' /* Postcode */,
  1171. ),
  1172. hintStyle:
  1173. FlutterFlowTheme.of(context).labelMedium.override(
  1174. font: GoogleFonts.inter(
  1175. fontWeight: FlutterFlowTheme.of(context)
  1176. .labelMedium
  1177. .fontWeight,
  1178. fontStyle: FlutterFlowTheme.of(context)
  1179. .labelMedium
  1180. .fontStyle,
  1181. ),
  1182. letterSpacing: 0.0,
  1183. fontWeight: FlutterFlowTheme.of(context)
  1184. .labelMedium
  1185. .fontWeight,
  1186. fontStyle: FlutterFlowTheme.of(context)
  1187. .labelMedium
  1188. .fontStyle,
  1189. ),
  1190. enabledBorder: OutlineInputBorder(
  1191. borderSide: BorderSide(
  1192. color: Color(0x00000000),
  1193. width: 1.0,
  1194. ),
  1195. borderRadius: BorderRadius.circular(8.0),
  1196. ),
  1197. focusedBorder: OutlineInputBorder(
  1198. borderSide: BorderSide(
  1199. color: Color(0x00000000),
  1200. width: 1.0,
  1201. ),
  1202. borderRadius: BorderRadius.circular(8.0),
  1203. ),
  1204. errorBorder: OutlineInputBorder(
  1205. borderSide: BorderSide(
  1206. color: FlutterFlowTheme.of(context).error,
  1207. width: 1.0,
  1208. ),
  1209. borderRadius: BorderRadius.circular(8.0),
  1210. ),
  1211. focusedErrorBorder: OutlineInputBorder(
  1212. borderSide: BorderSide(
  1213. color: FlutterFlowTheme.of(context).error,
  1214. width: 1.0,
  1215. ),
  1216. borderRadius: BorderRadius.circular(8.0),
  1217. ),
  1218. filled: true,
  1219. fillColor:
  1220. FlutterFlowTheme.of(context).secondaryBackground,
  1221. ),
  1222. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1223. font: GoogleFonts.inter(
  1224. fontWeight: FlutterFlowTheme.of(context)
  1225. .bodyMedium
  1226. .fontWeight,
  1227. fontStyle: FlutterFlowTheme.of(context)
  1228. .bodyMedium
  1229. .fontStyle,
  1230. ),
  1231. letterSpacing: 0.0,
  1232. fontWeight: FlutterFlowTheme.of(context)
  1233. .bodyMedium
  1234. .fontWeight,
  1235. fontStyle: FlutterFlowTheme.of(context)
  1236. .bodyMedium
  1237. .fontStyle,
  1238. ),
  1239. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1240. enableInteractiveSelection: true,
  1241. validator: _model.textFieldPostcodeTextControllerValidator
  1242. .asValidator(context),
  1243. ),
  1244. ),
  1245. Container(
  1246. width: double.infinity,
  1247. child: TextFormField(
  1248. controller: _model.textFieldPlaatsTextController,
  1249. focusNode: _model.textFieldPlaatsFocusNode,
  1250. autofocus: false,
  1251. enabled: true,
  1252. obscureText: false,
  1253. decoration: InputDecoration(
  1254. isDense: true,
  1255. labelText: FFLocalizations.of(context).getText(
  1256. '825wzmk4' /* Plaats */,
  1257. ),
  1258. labelStyle:
  1259. FlutterFlowTheme.of(context).labelMedium.override(
  1260. font: GoogleFonts.inter(
  1261. fontWeight: FlutterFlowTheme.of(context)
  1262. .labelMedium
  1263. .fontWeight,
  1264. fontStyle: FlutterFlowTheme.of(context)
  1265. .labelMedium
  1266. .fontStyle,
  1267. ),
  1268. letterSpacing: 0.0,
  1269. fontWeight: FlutterFlowTheme.of(context)
  1270. .labelMedium
  1271. .fontWeight,
  1272. fontStyle: FlutterFlowTheme.of(context)
  1273. .labelMedium
  1274. .fontStyle,
  1275. ),
  1276. hintText: FFLocalizations.of(context).getText(
  1277. 'np527mil' /* Plaats activiteit */,
  1278. ),
  1279. hintStyle:
  1280. FlutterFlowTheme.of(context).labelMedium.override(
  1281. font: GoogleFonts.inter(
  1282. fontWeight: FlutterFlowTheme.of(context)
  1283. .labelMedium
  1284. .fontWeight,
  1285. fontStyle: FlutterFlowTheme.of(context)
  1286. .labelMedium
  1287. .fontStyle,
  1288. ),
  1289. letterSpacing: 0.0,
  1290. fontWeight: FlutterFlowTheme.of(context)
  1291. .labelMedium
  1292. .fontWeight,
  1293. fontStyle: FlutterFlowTheme.of(context)
  1294. .labelMedium
  1295. .fontStyle,
  1296. ),
  1297. enabledBorder: OutlineInputBorder(
  1298. borderSide: BorderSide(
  1299. color: Color(0x00000000),
  1300. width: 1.0,
  1301. ),
  1302. borderRadius: BorderRadius.circular(8.0),
  1303. ),
  1304. focusedBorder: OutlineInputBorder(
  1305. borderSide: BorderSide(
  1306. color: Color(0x00000000),
  1307. width: 1.0,
  1308. ),
  1309. borderRadius: BorderRadius.circular(8.0),
  1310. ),
  1311. errorBorder: OutlineInputBorder(
  1312. borderSide: BorderSide(
  1313. color: FlutterFlowTheme.of(context).error,
  1314. width: 1.0,
  1315. ),
  1316. borderRadius: BorderRadius.circular(8.0),
  1317. ),
  1318. focusedErrorBorder: OutlineInputBorder(
  1319. borderSide: BorderSide(
  1320. color: FlutterFlowTheme.of(context).error,
  1321. width: 1.0,
  1322. ),
  1323. borderRadius: BorderRadius.circular(8.0),
  1324. ),
  1325. filled: true,
  1326. fillColor:
  1327. FlutterFlowTheme.of(context).secondaryBackground,
  1328. ),
  1329. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1330. font: GoogleFonts.inter(
  1331. fontWeight: FlutterFlowTheme.of(context)
  1332. .bodyMedium
  1333. .fontWeight,
  1334. fontStyle: FlutterFlowTheme.of(context)
  1335. .bodyMedium
  1336. .fontStyle,
  1337. ),
  1338. letterSpacing: 0.0,
  1339. fontWeight: FlutterFlowTheme.of(context)
  1340. .bodyMedium
  1341. .fontWeight,
  1342. fontStyle: FlutterFlowTheme.of(context)
  1343. .bodyMedium
  1344. .fontStyle,
  1345. ),
  1346. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1347. enableInteractiveSelection: true,
  1348. validator: _model.textFieldPlaatsTextControllerValidator
  1349. .asValidator(context),
  1350. ),
  1351. ),
  1352. Container(
  1353. width: double.infinity,
  1354. child: TextFormField(
  1355. controller: _model.textFieldEntreeprijsTextController,
  1356. focusNode: _model.textFieldEntreeprijsFocusNode,
  1357. autofocus: false,
  1358. enabled: true,
  1359. obscureText: false,
  1360. decoration: InputDecoration(
  1361. isDense: true,
  1362. labelText: FFLocalizations.of(context).getText(
  1363. 'pftju36e' /* Entreeprijs */,
  1364. ),
  1365. labelStyle:
  1366. FlutterFlowTheme.of(context).labelMedium.override(
  1367. font: GoogleFonts.inter(
  1368. fontWeight: FlutterFlowTheme.of(context)
  1369. .labelMedium
  1370. .fontWeight,
  1371. fontStyle: FlutterFlowTheme.of(context)
  1372. .labelMedium
  1373. .fontStyle,
  1374. ),
  1375. letterSpacing: 0.0,
  1376. fontWeight: FlutterFlowTheme.of(context)
  1377. .labelMedium
  1378. .fontWeight,
  1379. fontStyle: FlutterFlowTheme.of(context)
  1380. .labelMedium
  1381. .fontStyle,
  1382. ),
  1383. hintText: FFLocalizations.of(context).getText(
  1384. 'fyltb801' /* Entreeprijs */,
  1385. ),
  1386. hintStyle:
  1387. FlutterFlowTheme.of(context).labelMedium.override(
  1388. font: GoogleFonts.inter(
  1389. fontWeight: FlutterFlowTheme.of(context)
  1390. .labelMedium
  1391. .fontWeight,
  1392. fontStyle: FlutterFlowTheme.of(context)
  1393. .labelMedium
  1394. .fontStyle,
  1395. ),
  1396. letterSpacing: 0.0,
  1397. fontWeight: FlutterFlowTheme.of(context)
  1398. .labelMedium
  1399. .fontWeight,
  1400. fontStyle: FlutterFlowTheme.of(context)
  1401. .labelMedium
  1402. .fontStyle,
  1403. ),
  1404. enabledBorder: OutlineInputBorder(
  1405. borderSide: BorderSide(
  1406. color: Color(0x00000000),
  1407. width: 1.0,
  1408. ),
  1409. borderRadius: BorderRadius.circular(8.0),
  1410. ),
  1411. focusedBorder: OutlineInputBorder(
  1412. borderSide: BorderSide(
  1413. color: Color(0x00000000),
  1414. width: 1.0,
  1415. ),
  1416. borderRadius: BorderRadius.circular(8.0),
  1417. ),
  1418. errorBorder: OutlineInputBorder(
  1419. borderSide: BorderSide(
  1420. color: FlutterFlowTheme.of(context).error,
  1421. width: 1.0,
  1422. ),
  1423. borderRadius: BorderRadius.circular(8.0),
  1424. ),
  1425. focusedErrorBorder: OutlineInputBorder(
  1426. borderSide: BorderSide(
  1427. color: FlutterFlowTheme.of(context).error,
  1428. width: 1.0,
  1429. ),
  1430. borderRadius: BorderRadius.circular(8.0),
  1431. ),
  1432. filled: true,
  1433. fillColor:
  1434. FlutterFlowTheme.of(context).secondaryBackground,
  1435. ),
  1436. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1437. font: GoogleFonts.inter(
  1438. fontWeight: FlutterFlowTheme.of(context)
  1439. .bodyMedium
  1440. .fontWeight,
  1441. fontStyle: FlutterFlowTheme.of(context)
  1442. .bodyMedium
  1443. .fontStyle,
  1444. ),
  1445. letterSpacing: 0.0,
  1446. fontWeight: FlutterFlowTheme.of(context)
  1447. .bodyMedium
  1448. .fontWeight,
  1449. fontStyle: FlutterFlowTheme.of(context)
  1450. .bodyMedium
  1451. .fontStyle,
  1452. ),
  1453. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1454. enableInteractiveSelection: true,
  1455. validator: _model
  1456. .textFieldEntreeprijsTextControllerValidator
  1457. .asValidator(context),
  1458. ),
  1459. ),
  1460. Container(
  1461. width: double.infinity,
  1462. child: TextFormField(
  1463. controller:
  1464. _model.textFieldToelichtingEntreeTextController,
  1465. focusNode: _model.textFieldToelichtingEntreeFocusNode,
  1466. autofocus: false,
  1467. enabled: true,
  1468. obscureText: false,
  1469. decoration: InputDecoration(
  1470. isDense: true,
  1471. labelText: FFLocalizations.of(context).getText(
  1472. '0brx7n79' /* Toelichting Entree */,
  1473. ),
  1474. labelStyle:
  1475. FlutterFlowTheme.of(context).labelMedium.override(
  1476. font: GoogleFonts.inter(
  1477. fontWeight: FlutterFlowTheme.of(context)
  1478. .labelMedium
  1479. .fontWeight,
  1480. fontStyle: FlutterFlowTheme.of(context)
  1481. .labelMedium
  1482. .fontStyle,
  1483. ),
  1484. letterSpacing: 0.0,
  1485. fontWeight: FlutterFlowTheme.of(context)
  1486. .labelMedium
  1487. .fontWeight,
  1488. fontStyle: FlutterFlowTheme.of(context)
  1489. .labelMedium
  1490. .fontStyle,
  1491. ),
  1492. hintStyle:
  1493. FlutterFlowTheme.of(context).labelMedium.override(
  1494. font: GoogleFonts.inter(
  1495. fontWeight: FlutterFlowTheme.of(context)
  1496. .labelMedium
  1497. .fontWeight,
  1498. fontStyle: FlutterFlowTheme.of(context)
  1499. .labelMedium
  1500. .fontStyle,
  1501. ),
  1502. letterSpacing: 0.0,
  1503. fontWeight: FlutterFlowTheme.of(context)
  1504. .labelMedium
  1505. .fontWeight,
  1506. fontStyle: FlutterFlowTheme.of(context)
  1507. .labelMedium
  1508. .fontStyle,
  1509. ),
  1510. enabledBorder: OutlineInputBorder(
  1511. borderSide: BorderSide(
  1512. color: Color(0x00000000),
  1513. width: 1.0,
  1514. ),
  1515. borderRadius: BorderRadius.circular(8.0),
  1516. ),
  1517. focusedBorder: OutlineInputBorder(
  1518. borderSide: BorderSide(
  1519. color: Color(0x00000000),
  1520. width: 1.0,
  1521. ),
  1522. borderRadius: BorderRadius.circular(8.0),
  1523. ),
  1524. errorBorder: OutlineInputBorder(
  1525. borderSide: BorderSide(
  1526. color: FlutterFlowTheme.of(context).error,
  1527. width: 1.0,
  1528. ),
  1529. borderRadius: BorderRadius.circular(8.0),
  1530. ),
  1531. focusedErrorBorder: OutlineInputBorder(
  1532. borderSide: BorderSide(
  1533. color: FlutterFlowTheme.of(context).error,
  1534. width: 1.0,
  1535. ),
  1536. borderRadius: BorderRadius.circular(8.0),
  1537. ),
  1538. filled: true,
  1539. fillColor:
  1540. FlutterFlowTheme.of(context).secondaryBackground,
  1541. ),
  1542. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1543. font: GoogleFonts.inter(
  1544. fontWeight: FlutterFlowTheme.of(context)
  1545. .bodyMedium
  1546. .fontWeight,
  1547. fontStyle: FlutterFlowTheme.of(context)
  1548. .bodyMedium
  1549. .fontStyle,
  1550. ),
  1551. letterSpacing: 0.0,
  1552. fontWeight: FlutterFlowTheme.of(context)
  1553. .bodyMedium
  1554. .fontWeight,
  1555. fontStyle: FlutterFlowTheme.of(context)
  1556. .bodyMedium
  1557. .fontStyle,
  1558. ),
  1559. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1560. enableInteractiveSelection: true,
  1561. validator: _model
  1562. .textFieldToelichtingEntreeTextControllerValidator
  1563. .asValidator(context),
  1564. ),
  1565. ),
  1566. Container(
  1567. width: 200.0,
  1568. child: TextFormField(
  1569. controller: _model.textFieldWebsiteURLTextController,
  1570. focusNode: _model.textFieldWebsiteURLFocusNode,
  1571. autofocus: false,
  1572. enabled: true,
  1573. obscureText: false,
  1574. decoration: InputDecoration(
  1575. isDense: true,
  1576. labelText: FFLocalizations.of(context).getText(
  1577. 'i66ori1d' /* WebsiteURL */,
  1578. ),
  1579. labelStyle:
  1580. FlutterFlowTheme.of(context).labelMedium.override(
  1581. font: GoogleFonts.inter(
  1582. fontWeight: FlutterFlowTheme.of(context)
  1583. .labelMedium
  1584. .fontWeight,
  1585. fontStyle: FlutterFlowTheme.of(context)
  1586. .labelMedium
  1587. .fontStyle,
  1588. ),
  1589. letterSpacing: 0.0,
  1590. fontWeight: FlutterFlowTheme.of(context)
  1591. .labelMedium
  1592. .fontWeight,
  1593. fontStyle: FlutterFlowTheme.of(context)
  1594. .labelMedium
  1595. .fontStyle,
  1596. ),
  1597. hintText: FFLocalizations.of(context).getText(
  1598. 'bhydpd6h' /* Website van de activiteit */,
  1599. ),
  1600. hintStyle:
  1601. FlutterFlowTheme.of(context).labelMedium.override(
  1602. font: GoogleFonts.inter(
  1603. fontWeight: FlutterFlowTheme.of(context)
  1604. .labelMedium
  1605. .fontWeight,
  1606. fontStyle: FlutterFlowTheme.of(context)
  1607. .labelMedium
  1608. .fontStyle,
  1609. ),
  1610. letterSpacing: 0.0,
  1611. fontWeight: FlutterFlowTheme.of(context)
  1612. .labelMedium
  1613. .fontWeight,
  1614. fontStyle: FlutterFlowTheme.of(context)
  1615. .labelMedium
  1616. .fontStyle,
  1617. ),
  1618. enabledBorder: OutlineInputBorder(
  1619. borderSide: BorderSide(
  1620. color: Color(0x00000000),
  1621. width: 1.0,
  1622. ),
  1623. borderRadius: BorderRadius.circular(8.0),
  1624. ),
  1625. focusedBorder: OutlineInputBorder(
  1626. borderSide: BorderSide(
  1627. color: Color(0x00000000),
  1628. width: 1.0,
  1629. ),
  1630. borderRadius: BorderRadius.circular(8.0),
  1631. ),
  1632. errorBorder: OutlineInputBorder(
  1633. borderSide: BorderSide(
  1634. color: FlutterFlowTheme.of(context).error,
  1635. width: 1.0,
  1636. ),
  1637. borderRadius: BorderRadius.circular(8.0),
  1638. ),
  1639. focusedErrorBorder: OutlineInputBorder(
  1640. borderSide: BorderSide(
  1641. color: FlutterFlowTheme.of(context).error,
  1642. width: 1.0,
  1643. ),
  1644. borderRadius: BorderRadius.circular(8.0),
  1645. ),
  1646. filled: true,
  1647. fillColor:
  1648. FlutterFlowTheme.of(context).secondaryBackground,
  1649. ),
  1650. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1651. font: GoogleFonts.inter(
  1652. fontWeight: FlutterFlowTheme.of(context)
  1653. .bodyMedium
  1654. .fontWeight,
  1655. fontStyle: FlutterFlowTheme.of(context)
  1656. .bodyMedium
  1657. .fontStyle,
  1658. ),
  1659. letterSpacing: 0.0,
  1660. fontWeight: FlutterFlowTheme.of(context)
  1661. .bodyMedium
  1662. .fontWeight,
  1663. fontStyle: FlutterFlowTheme.of(context)
  1664. .bodyMedium
  1665. .fontStyle,
  1666. ),
  1667. cursorColor: FlutterFlowTheme.of(context).primaryText,
  1668. enableInteractiveSelection: true,
  1669. validator: _model
  1670. .textFieldWebsiteURLTextControllerValidator
  1671. .asValidator(context),
  1672. ),
  1673. ),
  1674. ],
  1675. ),
  1676. ),
  1677. ),
  1678. ),
  1679. ),
  1680. );
  1681. }
  1682. }