uitgaansevenement_aanmaken_widget.dart 183 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297
  1. import '/backend/api_requests/api_calls.dart';
  2. import '/components/header_buttons_component_widget.dart';
  3. import '/flutter_flow/flutter_flow_drop_down.dart';
  4. import '/flutter_flow/flutter_flow_theme.dart';
  5. import '/flutter_flow/flutter_flow_util.dart';
  6. import '/flutter_flow/flutter_flow_widgets.dart';
  7. import '/flutter_flow/form_field_controller.dart';
  8. import '/flutter_flow/upload_data.dart';
  9. import '/shared/drawer_component/drawer_component_widget.dart';
  10. import '/shared/lege_lijst_component/lege_lijst_component_widget.dart';
  11. import 'dart:ui';
  12. import '/custom_code/actions/index.dart' as actions;
  13. import '/flutter_flow/custom_functions.dart' as functions;
  14. import 'package:flutter/foundation.dart';
  15. import 'package:flutter/material.dart';
  16. import 'package:flutter/scheduler.dart';
  17. import 'package:flutter_spinkit/flutter_spinkit.dart';
  18. import 'package:google_fonts/google_fonts.dart';
  19. import 'package:provider/provider.dart';
  20. import 'uitgaansevenement_aanmaken_model.dart';
  21. export 'uitgaansevenement_aanmaken_model.dart';
  22. class UitgaansevenementAanmakenWidget extends StatefulWidget {
  23. const UitgaansevenementAanmakenWidget({
  24. super.key,
  25. this.horecagelegenheidNid,
  26. });
  27. final String? horecagelegenheidNid;
  28. static String routeName = 'uitgaansevenementAanmaken';
  29. static String routePath = '/uitgaansevenementAanmaken';
  30. @override
  31. State<UitgaansevenementAanmakenWidget> createState() =>
  32. _UitgaansevenementAanmakenWidgetState();
  33. }
  34. class _UitgaansevenementAanmakenWidgetState
  35. extends State<UitgaansevenementAanmakenWidget> with RouteAware {
  36. late UitgaansevenementAanmakenModel _model;
  37. final scaffoldKey = GlobalKey<ScaffoldState>();
  38. @override
  39. void initState() {
  40. super.initState();
  41. _model = createModel(context, () => UitgaansevenementAanmakenModel());
  42. // On page load action.
  43. SchedulerBinding.instance.addPostFrameCallback((_) async {
  44. _model.mijnHorecaResp = await MijnHorecagelegenhedenCall.call(
  45. sessionName: FFAppState().userSessionname,
  46. sessid: FFAppState().userSessionid,
  47. );
  48. _model.createHorecagelegenheidNid = functions.horecaVoorselectie(
  49. (_model.mijnHorecaResp?.jsonBody ?? ''),
  50. widget!.horecagelegenheidNid);
  51. _model.createEntreeTid =
  52. functions.kloonTekst(FFAppState().kloonBron, 'entree_tid');
  53. _model.createLogoFid =
  54. functions.kloonTekst(FFAppState().kloonBron, 'logo_fid');
  55. _model.createCategorieTids = functions
  56. .kloonLijst(FFAppState().kloonBron, 'categorie_tids')
  57. .toList()
  58. .cast<String>();
  59. _model.createFotosFids = functions
  60. .kloonLijst(FFAppState().kloonBron, 'fotos_fids')
  61. .toList()
  62. .cast<String>();
  63. _model.createLogoUrl =
  64. functions.kloonBeeld(FFAppState().kloonBron, 'logo_url');
  65. _model.createFotosUrls = functions
  66. .kloonBeelden(FFAppState().kloonBron, 'fotos_urls')
  67. .toList()
  68. .cast<String>();
  69. safeSetState(() {});
  70. });
  71. _model.textFieldTitelTextController ??= TextEditingController(
  72. text: functions.kloonTekst(FFAppState().kloonBron, 'titel'))
  73. ..addListener(() {
  74. debugLogWidgetClass(_model);
  75. });
  76. _model.textFieldTitelFocusNode ??= FocusNode();
  77. _model.textFieldOmschrijvingTextController ??= TextEditingController(
  78. text: functions.kloonTekst(FFAppState().kloonBron, 'omschrijving'))
  79. ..addListener(() {
  80. debugLogWidgetClass(_model);
  81. });
  82. _model.textFieldOmschrijvingFocusNode ??= FocusNode();
  83. _model.textFieldDatumStartTextController ??= TextEditingController()
  84. ..addListener(() {
  85. debugLogWidgetClass(_model);
  86. });
  87. _model.textFieldDatumStartFocusNode ??= FocusNode();
  88. _model.textFieldDatumEindTextController ??= TextEditingController()
  89. ..addListener(() {
  90. debugLogWidgetClass(_model);
  91. });
  92. _model.textFieldDatumEindFocusNode ??= FocusNode();
  93. _model.textFieldWebsiteURLTextController ??= TextEditingController(
  94. text: functions.kloonTekst(FFAppState().kloonBron, 'website_url'))
  95. ..addListener(() {
  96. debugLogWidgetClass(_model);
  97. });
  98. _model.textFieldWebsiteURLFocusNode ??= FocusNode();
  99. _model.textFieldTicketsURLTextController ??= TextEditingController(
  100. text: functions.kloonTekst(FFAppState().kloonBron, 'tickets_url'))
  101. ..addListener(() {
  102. debugLogWidgetClass(_model);
  103. });
  104. _model.textFieldTicketsURLFocusNode ??= FocusNode();
  105. _model.textFieldToelichtingEntreeTextController ??= TextEditingController(
  106. text:
  107. functions.kloonTekst(FFAppState().kloonBron, 'toelichting_entree'))
  108. ..addListener(() {
  109. debugLogWidgetClass(_model);
  110. });
  111. _model.textFieldToelichtingEntreeFocusNode ??= FocusNode();
  112. _model.textFieldEntreeprijsTextController ??= TextEditingController(
  113. text: functions.kloonTekst(FFAppState().kloonBron, 'entree_prijs'))
  114. ..addListener(() {
  115. debugLogWidgetClass(_model);
  116. });
  117. _model.textFieldEntreeprijsFocusNode ??= FocusNode();
  118. }
  119. @override
  120. void dispose() {
  121. routeObserver.unsubscribe(this);
  122. _model.dispose();
  123. super.dispose();
  124. }
  125. @override
  126. void didUpdateWidget(UitgaansevenementAanmakenWidget oldWidget) {
  127. super.didUpdateWidget(oldWidget);
  128. _model.widget = widget;
  129. }
  130. @override
  131. void didChangeDependencies() {
  132. super.didChangeDependencies();
  133. final route = DebugModalRoute.of(context);
  134. if (route != null) {
  135. routeObserver.subscribe(this, route);
  136. }
  137. debugLogGlobalProperty(context);
  138. }
  139. @override
  140. void didPopNext() {
  141. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  142. setState(() => _model.isRouteVisible = true);
  143. debugLogWidgetClass(_model);
  144. }
  145. }
  146. @override
  147. void didPush() {
  148. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  149. setState(() => _model.isRouteVisible = true);
  150. debugLogWidgetClass(_model);
  151. }
  152. }
  153. @override
  154. void didPop() {
  155. _model.isRouteVisible = false;
  156. }
  157. @override
  158. void didPushNext() {
  159. _model.isRouteVisible = false;
  160. }
  161. @override
  162. Widget build(BuildContext context) {
  163. DebugFlutterFlowModelContext.maybeOf(context)
  164. ?.parentModelCallback
  165. ?.call(_model);
  166. context.watch<FFAppState>();
  167. return GestureDetector(
  168. onTap: () {
  169. FocusScope.of(context).unfocus();
  170. FocusManager.instance.primaryFocus?.unfocus();
  171. },
  172. child: Scaffold(
  173. key: scaffoldKey,
  174. backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
  175. drawer: Drawer(
  176. elevation: 16.0,
  177. child: wrapWithModel(
  178. model: _model.drawerComponentModel,
  179. updateCallback: () => safeSetState(() {}),
  180. child: Builder(builder: (_) {
  181. return DebugFlutterFlowModelContext(
  182. rootModel: _model.rootModel,
  183. child: DrawerComponentWidget(),
  184. );
  185. }),
  186. ),
  187. ),
  188. appBar: PreferredSize(
  189. preferredSize: Size.fromHeight(80.0),
  190. child: AppBar(
  191. backgroundColor: FlutterFlowTheme.of(context).primaryText,
  192. automaticallyImplyLeading: false,
  193. actions: [],
  194. flexibleSpace: FlexibleSpaceBar(
  195. background: wrapWithModel(
  196. model: _model.headerButtonsComponentModel,
  197. updateCallback: () => safeSetState(() {}),
  198. child: Builder(builder: (_) {
  199. return DebugFlutterFlowModelContext(
  200. rootModel: _model.rootModel,
  201. child: HeaderButtonsComponentWidget(
  202. showBackButton: true,
  203. ),
  204. );
  205. }),
  206. ),
  207. centerTitle: true,
  208. expandedTitleScale: 1.0,
  209. ),
  210. bottom: PreferredSize(
  211. preferredSize: Size.fromHeight(70.0),
  212. child: Container(),
  213. ),
  214. toolbarHeight: MediaQuery.sizeOf(context).height * 0.25,
  215. elevation: 2.0,
  216. ),
  217. ),
  218. body: SafeArea(
  219. top: true,
  220. child: Padding(
  221. padding: EdgeInsets.all(16.0),
  222. child: SingleChildScrollView(
  223. child: Column(
  224. mainAxisSize: MainAxisSize.max,
  225. children: [
  226. Align(
  227. alignment: AlignmentDirectional(-1.0, 0.0),
  228. child: Padding(
  229. padding: EdgeInsets.all(16.0),
  230. child: Text(
  231. FFLocalizations.of(context).getText(
  232. 'vkjvzuqz' /* Meld hier een evenement aan va... */,
  233. ),
  234. style: FlutterFlowTheme.of(context).bodyMedium.override(
  235. font: GoogleFonts.roboto(
  236. fontWeight: FlutterFlowTheme.of(context)
  237. .bodyMedium
  238. .fontWeight,
  239. fontStyle: FlutterFlowTheme.of(context)
  240. .bodyMedium
  241. .fontStyle,
  242. ),
  243. letterSpacing: 0.0,
  244. fontWeight: FlutterFlowTheme.of(context)
  245. .bodyMedium
  246. .fontWeight,
  247. fontStyle: FlutterFlowTheme.of(context)
  248. .bodyMedium
  249. .fontStyle,
  250. ),
  251. ),
  252. ),
  253. ),
  254. Align(
  255. alignment: AlignmentDirectional(-1.0, 0.0),
  256. child: Padding(
  257. padding: EdgeInsets.all(16.0),
  258. child: Container(
  259. width: double.infinity,
  260. decoration: BoxDecoration(
  261. color:
  262. FlutterFlowTheme.of(context).secondaryBackground,
  263. borderRadius: BorderRadius.only(),
  264. border: Border.all(
  265. color: Color(0xFFEEEEEE),
  266. width: 3.0,
  267. ),
  268. ),
  269. child: Column(
  270. mainAxisSize: MainAxisSize.max,
  271. children: [
  272. Align(
  273. alignment: AlignmentDirectional(-1.0, 0.0),
  274. child: Text(
  275. FFLocalizations.of(context).getText(
  276. 'opgbl8g0' /* Wat */,
  277. ),
  278. style: FlutterFlowTheme.of(context)
  279. .bodyMedium
  280. .override(
  281. font: GoogleFonts.roboto(
  282. fontWeight: FontWeight.w600,
  283. fontStyle: FlutterFlowTheme.of(context)
  284. .bodyMedium
  285. .fontStyle,
  286. ),
  287. fontSize: 16.0,
  288. letterSpacing: 0.0,
  289. fontWeight: FontWeight.w600,
  290. fontStyle: FlutterFlowTheme.of(context)
  291. .bodyMedium
  292. .fontStyle,
  293. ),
  294. ),
  295. ),
  296. Align(
  297. alignment: AlignmentDirectional(-1.0, 0.0),
  298. child: Container(
  299. width: double.infinity,
  300. child: TextFormField(
  301. controller:
  302. _model.textFieldTitelTextController,
  303. focusNode: _model.textFieldTitelFocusNode,
  304. autofocus: false,
  305. enabled: true,
  306. obscureText: false,
  307. decoration: InputDecoration(
  308. isDense: true,
  309. labelText:
  310. FFLocalizations.of(context).getText(
  311. 'vc80d3lh' /* Titel * */,
  312. ),
  313. labelStyle: FlutterFlowTheme.of(context)
  314. .labelMedium
  315. .override(
  316. font: GoogleFonts.roboto(
  317. fontWeight:
  318. FlutterFlowTheme.of(context)
  319. .labelMedium
  320. .fontWeight,
  321. fontStyle:
  322. FlutterFlowTheme.of(context)
  323. .labelMedium
  324. .fontStyle,
  325. ),
  326. letterSpacing: 0.0,
  327. fontWeight:
  328. FlutterFlowTheme.of(context)
  329. .labelMedium
  330. .fontWeight,
  331. fontStyle:
  332. FlutterFlowTheme.of(context)
  333. .labelMedium
  334. .fontStyle,
  335. ),
  336. hintText:
  337. FFLocalizations.of(context).getText(
  338. 'vu6qv8cj' /* Titel evenement */,
  339. ),
  340. hintStyle: FlutterFlowTheme.of(context)
  341. .labelMedium
  342. .override(
  343. font: GoogleFonts.roboto(
  344. fontWeight:
  345. FlutterFlowTheme.of(context)
  346. .labelMedium
  347. .fontWeight,
  348. fontStyle:
  349. FlutterFlowTheme.of(context)
  350. .labelMedium
  351. .fontStyle,
  352. ),
  353. letterSpacing: 0.0,
  354. fontWeight:
  355. FlutterFlowTheme.of(context)
  356. .labelMedium
  357. .fontWeight,
  358. fontStyle:
  359. FlutterFlowTheme.of(context)
  360. .labelMedium
  361. .fontStyle,
  362. ),
  363. enabledBorder: OutlineInputBorder(
  364. borderSide: BorderSide(
  365. color: Color(0x00000000),
  366. width: 1.0,
  367. ),
  368. borderRadius: BorderRadius.circular(0.0),
  369. ),
  370. focusedBorder: OutlineInputBorder(
  371. borderSide: BorderSide(
  372. color: Color(0x00000000),
  373. width: 1.0,
  374. ),
  375. borderRadius: BorderRadius.circular(0.0),
  376. ),
  377. errorBorder: OutlineInputBorder(
  378. borderSide: BorderSide(
  379. color:
  380. FlutterFlowTheme.of(context).error,
  381. width: 1.0,
  382. ),
  383. borderRadius: BorderRadius.circular(0.0),
  384. ),
  385. focusedErrorBorder: OutlineInputBorder(
  386. borderSide: BorderSide(
  387. color:
  388. FlutterFlowTheme.of(context).error,
  389. width: 1.0,
  390. ),
  391. borderRadius: BorderRadius.circular(0.0),
  392. ),
  393. filled: true,
  394. fillColor: FlutterFlowTheme.of(context)
  395. .primaryBackground,
  396. ),
  397. style: FlutterFlowTheme.of(context)
  398. .bodyMedium
  399. .override(
  400. font: GoogleFonts.roboto(
  401. fontWeight:
  402. FlutterFlowTheme.of(context)
  403. .bodyMedium
  404. .fontWeight,
  405. fontStyle:
  406. FlutterFlowTheme.of(context)
  407. .bodyMedium
  408. .fontStyle,
  409. ),
  410. letterSpacing: 0.0,
  411. fontWeight: FlutterFlowTheme.of(context)
  412. .bodyMedium
  413. .fontWeight,
  414. fontStyle: FlutterFlowTheme.of(context)
  415. .bodyMedium
  416. .fontStyle,
  417. ),
  418. cursorColor:
  419. FlutterFlowTheme.of(context).primaryText,
  420. enableInteractiveSelection: true,
  421. validator: _model
  422. .textFieldTitelTextControllerValidator
  423. .asValidator(context),
  424. ),
  425. ),
  426. ),
  427. Container(
  428. width: double.infinity,
  429. child: TextFormField(
  430. controller:
  431. _model.textFieldOmschrijvingTextController,
  432. focusNode:
  433. _model.textFieldOmschrijvingFocusNode,
  434. autofocus: false,
  435. enabled: true,
  436. obscureText: false,
  437. decoration: InputDecoration(
  438. isDense: true,
  439. labelText:
  440. FFLocalizations.of(context).getText(
  441. 'd7zhpzuo' /* Omschrijving */,
  442. ),
  443. labelStyle: FlutterFlowTheme.of(context)
  444. .labelMedium
  445. .override(
  446. font: GoogleFonts.roboto(
  447. fontWeight:
  448. FlutterFlowTheme.of(context)
  449. .labelMedium
  450. .fontWeight,
  451. fontStyle:
  452. FlutterFlowTheme.of(context)
  453. .labelMedium
  454. .fontStyle,
  455. ),
  456. letterSpacing: 0.0,
  457. fontWeight: FlutterFlowTheme.of(context)
  458. .labelMedium
  459. .fontWeight,
  460. fontStyle: FlutterFlowTheme.of(context)
  461. .labelMedium
  462. .fontStyle,
  463. ),
  464. hintText: FFLocalizations.of(context).getText(
  465. '1gf3e9v1' /* Omschrijving evenement */,
  466. ),
  467. hintStyle: FlutterFlowTheme.of(context)
  468. .labelMedium
  469. .override(
  470. font: GoogleFonts.roboto(
  471. fontWeight:
  472. FlutterFlowTheme.of(context)
  473. .labelMedium
  474. .fontWeight,
  475. fontStyle:
  476. FlutterFlowTheme.of(context)
  477. .labelMedium
  478. .fontStyle,
  479. ),
  480. letterSpacing: 0.0,
  481. fontWeight: FlutterFlowTheme.of(context)
  482. .labelMedium
  483. .fontWeight,
  484. fontStyle: FlutterFlowTheme.of(context)
  485. .labelMedium
  486. .fontStyle,
  487. ),
  488. enabledBorder: OutlineInputBorder(
  489. borderSide: BorderSide(
  490. color: Color(0x00000000),
  491. width: 1.0,
  492. ),
  493. borderRadius: BorderRadius.circular(0.0),
  494. ),
  495. focusedBorder: OutlineInputBorder(
  496. borderSide: BorderSide(
  497. color: Color(0x00000000),
  498. width: 1.0,
  499. ),
  500. borderRadius: BorderRadius.circular(0.0),
  501. ),
  502. errorBorder: OutlineInputBorder(
  503. borderSide: BorderSide(
  504. color: FlutterFlowTheme.of(context).error,
  505. width: 1.0,
  506. ),
  507. borderRadius: BorderRadius.circular(0.0),
  508. ),
  509. focusedErrorBorder: OutlineInputBorder(
  510. borderSide: BorderSide(
  511. color: FlutterFlowTheme.of(context).error,
  512. width: 1.0,
  513. ),
  514. borderRadius: BorderRadius.circular(0.0),
  515. ),
  516. filled: true,
  517. fillColor: FlutterFlowTheme.of(context)
  518. .primaryBackground,
  519. ),
  520. style: FlutterFlowTheme.of(context)
  521. .bodyMedium
  522. .override(
  523. font: GoogleFonts.roboto(
  524. fontWeight: FlutterFlowTheme.of(context)
  525. .bodyMedium
  526. .fontWeight,
  527. fontStyle: FlutterFlowTheme.of(context)
  528. .bodyMedium
  529. .fontStyle,
  530. ),
  531. letterSpacing: 0.0,
  532. fontWeight: FlutterFlowTheme.of(context)
  533. .bodyMedium
  534. .fontWeight,
  535. fontStyle: FlutterFlowTheme.of(context)
  536. .bodyMedium
  537. .fontStyle,
  538. ),
  539. maxLines: 5,
  540. cursorColor:
  541. FlutterFlowTheme.of(context).primaryText,
  542. enableInteractiveSelection: true,
  543. validator: _model
  544. .textFieldOmschrijvingTextControllerValidator
  545. .asValidator(context),
  546. ),
  547. ),
  548. Align(
  549. alignment: AlignmentDirectional(-1.0, 0.0),
  550. child: Text(
  551. FFLocalizations.of(context).getText(
  552. 'rqx6m3yf' /* Je horecagelegenheid */,
  553. ),
  554. style: FlutterFlowTheme.of(context)
  555. .bodyMedium
  556. .override(
  557. font: GoogleFonts.roboto(
  558. fontWeight: FlutterFlowTheme.of(context)
  559. .bodyMedium
  560. .fontWeight,
  561. fontStyle: FlutterFlowTheme.of(context)
  562. .bodyMedium
  563. .fontStyle,
  564. ),
  565. letterSpacing: 0.0,
  566. fontWeight: FlutterFlowTheme.of(context)
  567. .bodyMedium
  568. .fontWeight,
  569. fontStyle: FlutterFlowTheme.of(context)
  570. .bodyMedium
  571. .fontStyle,
  572. ),
  573. ),
  574. ),
  575. Align(
  576. alignment: AlignmentDirectional(-1.0, 0.0),
  577. child: Text(
  578. FFLocalizations.of(context).getText(
  579. 'fbkrt89w' /* Kies de zaak waar het evenemen... */,
  580. ),
  581. style: FlutterFlowTheme.of(context)
  582. .bodyMedium
  583. .override(
  584. font: GoogleFonts.roboto(
  585. fontWeight: FlutterFlowTheme.of(context)
  586. .bodyMedium
  587. .fontWeight,
  588. fontStyle: FlutterFlowTheme.of(context)
  589. .bodyMedium
  590. .fontStyle,
  591. ),
  592. color: FlutterFlowTheme.of(context)
  593. .secondaryText,
  594. fontSize: 12.0,
  595. letterSpacing: 0.0,
  596. fontWeight: FlutterFlowTheme.of(context)
  597. .bodyMedium
  598. .fontWeight,
  599. fontStyle: FlutterFlowTheme.of(context)
  600. .bodyMedium
  601. .fontStyle,
  602. ),
  603. ),
  604. ),
  605. Align(
  606. alignment: AlignmentDirectional(-1.0, 0.0),
  607. child: InkWell(
  608. splashColor: Colors.transparent,
  609. focusColor: Colors.transparent,
  610. hoverColor: Colors.transparent,
  611. highlightColor: Colors.transparent,
  612. onTap: () async {
  613. await launchURL(
  614. 'https://uitgaanskrant.com/nl/ondernemers');
  615. },
  616. child: Text(
  617. FFLocalizations.of(context).getText(
  618. 'zkc8ido7' /* Nog geen zaak aangemeld? Dat d... */,
  619. ),
  620. style: FlutterFlowTheme.of(context)
  621. .bodyMedium
  622. .override(
  623. font: GoogleFonts.roboto(
  624. fontWeight:
  625. FlutterFlowTheme.of(context)
  626. .bodyMedium
  627. .fontWeight,
  628. fontStyle:
  629. FlutterFlowTheme.of(context)
  630. .bodyMedium
  631. .fontStyle,
  632. ),
  633. color: FlutterFlowTheme.of(context)
  634. .secondary,
  635. fontSize: 12.0,
  636. letterSpacing: 0.0,
  637. fontWeight: FlutterFlowTheme.of(context)
  638. .bodyMedium
  639. .fontWeight,
  640. fontStyle: FlutterFlowTheme.of(context)
  641. .bodyMedium
  642. .fontStyle,
  643. decoration: TextDecoration.underline,
  644. ),
  645. ),
  646. ),
  647. ),
  648. Align(
  649. alignment: AlignmentDirectional(-1.0, 0.0),
  650. child: FutureBuilder<ApiCallResponse>(
  651. future: MijnHorecagelegenhedenCall.call(
  652. sessionName: FFAppState().userSessionname,
  653. sessid: FFAppState().userSessionid,
  654. ),
  655. builder: (context, snapshot) {
  656. // Customize what your widget looks like when it's loading.
  657. if (!snapshot.hasData) {
  658. return Center(
  659. child: SizedBox(
  660. width: 80.0,
  661. height: 80.0,
  662. child: SpinKitFadingCircle(
  663. color: FlutterFlowTheme.of(context)
  664. .primary,
  665. size: 80.0,
  666. ),
  667. ),
  668. );
  669. }
  670. final dropDownHorecagelegenheidMijnHorecagelegenhedenResponse =
  671. snapshot.data!;
  672. _model.debugBackendQueries[
  673. 'MijnHorecagelegenhedenCall_statusCode_DropDown_ldnx9nnq'] =
  674. debugSerializeParam(
  675. dropDownHorecagelegenheidMijnHorecagelegenhedenResponse
  676. .statusCode,
  677. ParamType.int,
  678. link:
  679. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  680. name: 'int',
  681. nullable: false,
  682. );
  683. _model.debugBackendQueries[
  684. 'MijnHorecagelegenhedenCall_responseBody_DropDown_ldnx9nnq'] =
  685. debugSerializeParam(
  686. dropDownHorecagelegenheidMijnHorecagelegenhedenResponse
  687. .bodyText,
  688. ParamType.String,
  689. link:
  690. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  691. name: 'String',
  692. nullable: false,
  693. );
  694. debugLogWidgetClass(_model);
  695. return FlutterFlowDropDown<String>(
  696. controller: _model
  697. .dropDownHorecagelegenheidValueController ??=
  698. FormFieldController<String>(
  699. _model.dropDownHorecagelegenheidValue ??=
  700. functions.horecaVoorselectie(
  701. dropDownHorecagelegenheidMijnHorecagelegenhedenResponse
  702. .jsonBody,
  703. widget!.horecagelegenheidNid),
  704. ),
  705. options: List<String>.from((getJsonField(
  706. dropDownHorecagelegenheidMijnHorecagelegenhedenResponse
  707. .jsonBody,
  708. r'''$[:].nid''',
  709. true,
  710. ) as List?)!
  711. .map<String>((e) => e.toString())
  712. .toList()
  713. .cast<String>()),
  714. optionLabels: (getJsonField(
  715. dropDownHorecagelegenheidMijnHorecagelegenhedenResponse
  716. .jsonBody,
  717. r'''$[:].titel''',
  718. true,
  719. ) as List?)!
  720. .map<String>((e) => e.toString())
  721. .toList()
  722. .cast<String>(),
  723. onChanged: (val) async {
  724. safeSetState(() => _model
  725. .dropDownHorecagelegenheidValue =
  726. val);
  727. _model.createHorecagelegenheidNid =
  728. _model.dropDownHorecagelegenheidValue;
  729. safeSetState(() {});
  730. },
  731. width: double.infinity,
  732. height: 40.0,
  733. searchHintTextStyle:
  734. FlutterFlowTheme.of(context)
  735. .labelMedium
  736. .override(
  737. font: GoogleFonts.roboto(
  738. fontWeight:
  739. FlutterFlowTheme.of(context)
  740. .labelMedium
  741. .fontWeight,
  742. fontStyle:
  743. FlutterFlowTheme.of(context)
  744. .labelMedium
  745. .fontStyle,
  746. ),
  747. letterSpacing: 0.0,
  748. fontWeight:
  749. FlutterFlowTheme.of(context)
  750. .labelMedium
  751. .fontWeight,
  752. fontStyle:
  753. FlutterFlowTheme.of(context)
  754. .labelMedium
  755. .fontStyle,
  756. ),
  757. searchTextStyle:
  758. FlutterFlowTheme.of(context)
  759. .bodyMedium
  760. .override(
  761. font: GoogleFonts.roboto(
  762. fontWeight:
  763. FlutterFlowTheme.of(context)
  764. .bodyMedium
  765. .fontWeight,
  766. fontStyle:
  767. FlutterFlowTheme.of(context)
  768. .bodyMedium
  769. .fontStyle,
  770. ),
  771. letterSpacing: 0.0,
  772. fontWeight:
  773. FlutterFlowTheme.of(context)
  774. .bodyMedium
  775. .fontWeight,
  776. fontStyle:
  777. FlutterFlowTheme.of(context)
  778. .bodyMedium
  779. .fontStyle,
  780. ),
  781. textStyle: FlutterFlowTheme.of(context)
  782. .bodyMedium
  783. .override(
  784. font: GoogleFonts.roboto(
  785. fontWeight:
  786. FlutterFlowTheme.of(context)
  787. .bodyMedium
  788. .fontWeight,
  789. fontStyle:
  790. FlutterFlowTheme.of(context)
  791. .bodyMedium
  792. .fontStyle,
  793. ),
  794. letterSpacing: 0.0,
  795. fontWeight:
  796. FlutterFlowTheme.of(context)
  797. .bodyMedium
  798. .fontWeight,
  799. fontStyle:
  800. FlutterFlowTheme.of(context)
  801. .bodyMedium
  802. .fontStyle,
  803. ),
  804. hintText:
  805. FFLocalizations.of(context).getText(
  806. 'nhnxstvm' /* Kies je horecagelegenheid * */,
  807. ),
  808. searchHintText:
  809. FFLocalizations.of(context).getText(
  810. 'pnh9yrrk' /* Zoek... */,
  811. ),
  812. icon: Icon(
  813. Icons.keyboard_arrow_down_rounded,
  814. color: FlutterFlowTheme.of(context)
  815. .secondaryText,
  816. size: 24.0,
  817. ),
  818. fillColor: FlutterFlowTheme.of(context)
  819. .primaryBackground,
  820. elevation: 2.0,
  821. borderColor: Colors.transparent,
  822. borderWidth: 0.0,
  823. borderRadius: 8.0,
  824. margin: EdgeInsetsDirectional.fromSTEB(
  825. 12.0, 0.0, 12.0, 0.0),
  826. hidesUnderline: true,
  827. isOverButton: false,
  828. isSearchable: true,
  829. isMultiSelect: false,
  830. );
  831. },
  832. ),
  833. ),
  834. Align(
  835. alignment: AlignmentDirectional(-1.0, 0.0),
  836. child: Text(
  837. FFLocalizations.of(context).getText(
  838. 'p0xm7daj' /* Categorie evenement * */,
  839. ),
  840. style: FlutterFlowTheme.of(context)
  841. .bodyMedium
  842. .override(
  843. font: GoogleFonts.roboto(
  844. fontWeight: FlutterFlowTheme.of(context)
  845. .bodyMedium
  846. .fontWeight,
  847. fontStyle: FlutterFlowTheme.of(context)
  848. .bodyMedium
  849. .fontStyle,
  850. ),
  851. letterSpacing: 0.0,
  852. fontWeight: FlutterFlowTheme.of(context)
  853. .bodyMedium
  854. .fontWeight,
  855. fontStyle: FlutterFlowTheme.of(context)
  856. .bodyMedium
  857. .fontStyle,
  858. ),
  859. ),
  860. ),
  861. Align(
  862. alignment: AlignmentDirectional(-1.0, 0.0),
  863. child: Text(
  864. FFLocalizations.of(context).getText(
  865. 'j68hqlk7' /* Let op: de categorie bepaalt i... */,
  866. ),
  867. style: FlutterFlowTheme.of(context)
  868. .bodyMedium
  869. .override(
  870. font: GoogleFonts.roboto(
  871. fontWeight: FlutterFlowTheme.of(context)
  872. .bodyMedium
  873. .fontWeight,
  874. fontStyle: FlutterFlowTheme.of(context)
  875. .bodyMedium
  876. .fontStyle,
  877. ),
  878. color: FlutterFlowTheme.of(context)
  879. .secondaryText,
  880. fontSize: 12.0,
  881. letterSpacing: 0.0,
  882. fontWeight: FlutterFlowTheme.of(context)
  883. .bodyMedium
  884. .fontWeight,
  885. fontStyle: FlutterFlowTheme.of(context)
  886. .bodyMedium
  887. .fontStyle,
  888. ),
  889. ),
  890. ),
  891. Align(
  892. alignment: AlignmentDirectional(-1.0, 0.0),
  893. child: FutureBuilder<ApiCallResponse>(
  894. future: ProductieGroup.categorieenCall.call(
  895. sessionName: FFAppState().userSessionname,
  896. sessid: FFAppState().userSessionid,
  897. ),
  898. builder: (context, snapshot) {
  899. // Customize what your widget looks like when it's loading.
  900. if (!snapshot.hasData) {
  901. return Center(
  902. child: SizedBox(
  903. width: 80.0,
  904. height: 80.0,
  905. child: SpinKitFadingCircle(
  906. color: FlutterFlowTheme.of(context)
  907. .primary,
  908. size: 80.0,
  909. ),
  910. ),
  911. );
  912. }
  913. final dropDownCategorieenCategorieenResponse =
  914. snapshot.data!;
  915. _model.debugBackendQueries[
  916. 'ProductieGroup.categorieenCall_statusCode_DropDown_b8cbpd9v'] =
  917. debugSerializeParam(
  918. dropDownCategorieenCategorieenResponse
  919. .statusCode,
  920. ParamType.int,
  921. link:
  922. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  923. name: 'int',
  924. nullable: false,
  925. );
  926. _model.debugBackendQueries[
  927. 'ProductieGroup.categorieenCall_responseBody_DropDown_b8cbpd9v'] =
  928. debugSerializeParam(
  929. dropDownCategorieenCategorieenResponse
  930. .bodyText,
  931. ParamType.String,
  932. link:
  933. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  934. name: 'String',
  935. nullable: false,
  936. );
  937. debugLogWidgetClass(_model);
  938. return FlutterFlowDropDown<String>(
  939. multiSelectController: _model
  940. .dropDownCategorieenValueController ??=
  941. FormListFieldController<String>(
  942. _model.dropDownCategorieenValue ??=
  943. List<String>.from(
  944. functions.kloonLijst(
  945. FFAppState().kloonBron,
  946. 'categorie_tids') ??
  947. [],
  948. )),
  949. options: List<String>.from(
  950. functions.categorieSubTids(
  951. dropDownCategorieenCategorieenResponse
  952. .jsonBody)!),
  953. optionLabels: functions.categorieSubLabels(
  954. dropDownCategorieenCategorieenResponse
  955. .jsonBody)!,
  956. width: double.infinity,
  957. height: 40.0,
  958. searchHintTextStyle:
  959. FlutterFlowTheme.of(context)
  960. .labelMedium
  961. .override(
  962. font: GoogleFonts.roboto(
  963. fontWeight:
  964. FlutterFlowTheme.of(context)
  965. .labelMedium
  966. .fontWeight,
  967. fontStyle:
  968. FlutterFlowTheme.of(context)
  969. .labelMedium
  970. .fontStyle,
  971. ),
  972. letterSpacing: 0.0,
  973. fontWeight:
  974. FlutterFlowTheme.of(context)
  975. .labelMedium
  976. .fontWeight,
  977. fontStyle:
  978. FlutterFlowTheme.of(context)
  979. .labelMedium
  980. .fontStyle,
  981. ),
  982. searchTextStyle:
  983. FlutterFlowTheme.of(context)
  984. .bodyMedium
  985. .override(
  986. font: GoogleFonts.roboto(
  987. fontWeight:
  988. FlutterFlowTheme.of(context)
  989. .bodyMedium
  990. .fontWeight,
  991. fontStyle:
  992. FlutterFlowTheme.of(context)
  993. .bodyMedium
  994. .fontStyle,
  995. ),
  996. letterSpacing: 0.0,
  997. fontWeight:
  998. FlutterFlowTheme.of(context)
  999. .bodyMedium
  1000. .fontWeight,
  1001. fontStyle:
  1002. FlutterFlowTheme.of(context)
  1003. .bodyMedium
  1004. .fontStyle,
  1005. ),
  1006. textStyle: FlutterFlowTheme.of(context)
  1007. .bodyMedium
  1008. .override(
  1009. font: GoogleFonts.roboto(
  1010. fontWeight:
  1011. FlutterFlowTheme.of(context)
  1012. .bodyMedium
  1013. .fontWeight,
  1014. fontStyle:
  1015. FlutterFlowTheme.of(context)
  1016. .bodyMedium
  1017. .fontStyle,
  1018. ),
  1019. letterSpacing: 0.0,
  1020. fontWeight:
  1021. FlutterFlowTheme.of(context)
  1022. .bodyMedium
  1023. .fontWeight,
  1024. fontStyle:
  1025. FlutterFlowTheme.of(context)
  1026. .bodyMedium
  1027. .fontStyle,
  1028. ),
  1029. hintText:
  1030. FFLocalizations.of(context).getText(
  1031. '2hitlrxa' /* Select... */,
  1032. ),
  1033. searchHintText:
  1034. FFLocalizations.of(context).getText(
  1035. 'qtnlg7nd' /* Search... */,
  1036. ),
  1037. icon: Icon(
  1038. Icons.keyboard_arrow_down_rounded,
  1039. color: FlutterFlowTheme.of(context)
  1040. .secondaryText,
  1041. size: 24.0,
  1042. ),
  1043. fillColor: FlutterFlowTheme.of(context)
  1044. .primaryBackground,
  1045. elevation: 2.0,
  1046. borderColor: Colors.transparent,
  1047. borderWidth: 0.0,
  1048. borderRadius: 8.0,
  1049. margin: EdgeInsetsDirectional.fromSTEB(
  1050. 12.0, 0.0, 12.0, 0.0),
  1051. hidesUnderline: true,
  1052. isOverButton: false,
  1053. isSearchable: true,
  1054. isMultiSelect: true,
  1055. onMultiSelectChanged: (val) async {
  1056. safeSetState(() => _model
  1057. .dropDownCategorieenValue = val);
  1058. _model.createCategorieTids = _model
  1059. .dropDownCategorieenValue!
  1060. .toList()
  1061. .cast<String>();
  1062. safeSetState(() {});
  1063. },
  1064. );
  1065. },
  1066. ),
  1067. ),
  1068. ],
  1069. ),
  1070. ),
  1071. ),
  1072. ),
  1073. Align(
  1074. alignment: AlignmentDirectional(-1.0, 0.0),
  1075. child: Padding(
  1076. padding: EdgeInsets.all(16.0),
  1077. child: Container(
  1078. width: double.infinity,
  1079. decoration: BoxDecoration(
  1080. color:
  1081. FlutterFlowTheme.of(context).secondaryBackground,
  1082. borderRadius: BorderRadius.only(),
  1083. border: Border.all(
  1084. color: Color(0xFFEEEEEE),
  1085. width: 3.0,
  1086. ),
  1087. ),
  1088. child: Column(
  1089. mainAxisSize: MainAxisSize.max,
  1090. children: [
  1091. Align(
  1092. alignment: AlignmentDirectional(-1.0, 0.0),
  1093. child: Text(
  1094. FFLocalizations.of(context).getText(
  1095. 'gysg1wwq' /* Wanneer */,
  1096. ),
  1097. style: FlutterFlowTheme.of(context)
  1098. .bodyMedium
  1099. .override(
  1100. font: GoogleFonts.roboto(
  1101. fontWeight: FlutterFlowTheme.of(context)
  1102. .bodyMedium
  1103. .fontWeight,
  1104. fontStyle: FlutterFlowTheme.of(context)
  1105. .bodyMedium
  1106. .fontStyle,
  1107. ),
  1108. letterSpacing: 0.0,
  1109. fontWeight: FlutterFlowTheme.of(context)
  1110. .bodyMedium
  1111. .fontWeight,
  1112. fontStyle: FlutterFlowTheme.of(context)
  1113. .bodyMedium
  1114. .fontStyle,
  1115. ),
  1116. ),
  1117. ),
  1118. Align(
  1119. alignment: AlignmentDirectional(-1.0, 0.0),
  1120. child: Text(
  1121. FFLocalizations.of(context).getText(
  1122. 'f8hii0ci' /* De begindatum is verplicht. Ei... */,
  1123. ),
  1124. style: FlutterFlowTheme.of(context)
  1125. .bodyMedium
  1126. .override(
  1127. font: GoogleFonts.roboto(
  1128. fontWeight: FlutterFlowTheme.of(context)
  1129. .bodyMedium
  1130. .fontWeight,
  1131. fontStyle: FlutterFlowTheme.of(context)
  1132. .bodyMedium
  1133. .fontStyle,
  1134. ),
  1135. color: FlutterFlowTheme.of(context)
  1136. .secondaryText,
  1137. fontSize: 12.0,
  1138. letterSpacing: 0.0,
  1139. fontWeight: FlutterFlowTheme.of(context)
  1140. .bodyMedium
  1141. .fontWeight,
  1142. fontStyle: FlutterFlowTheme.of(context)
  1143. .bodyMedium
  1144. .fontStyle,
  1145. ),
  1146. ),
  1147. ),
  1148. InkWell(
  1149. splashColor: Colors.transparent,
  1150. focusColor: Colors.transparent,
  1151. hoverColor: Colors.transparent,
  1152. highlightColor: Colors.transparent,
  1153. onTap: () async {
  1154. final _datePicked1Date = await showDatePicker(
  1155. context: context,
  1156. initialDate: getCurrentTimestamp,
  1157. firstDate: getCurrentTimestamp,
  1158. lastDate: DateTime(2050),
  1159. builder: (context, child) {
  1160. return wrapInMaterialDatePickerTheme(
  1161. context,
  1162. child!,
  1163. headerBackgroundColor:
  1164. FlutterFlowTheme.of(context).primary,
  1165. headerForegroundColor:
  1166. FlutterFlowTheme.of(context).info,
  1167. headerTextStyle: FlutterFlowTheme.of(
  1168. context)
  1169. .headlineLarge
  1170. .override(
  1171. font: GoogleFonts.notoSerif(
  1172. fontWeight: FontWeight.w600,
  1173. fontStyle:
  1174. FlutterFlowTheme.of(context)
  1175. .headlineLarge
  1176. .fontStyle,
  1177. ),
  1178. fontSize: 32.0,
  1179. letterSpacing: 0.0,
  1180. fontWeight: FontWeight.w600,
  1181. fontStyle:
  1182. FlutterFlowTheme.of(context)
  1183. .headlineLarge
  1184. .fontStyle,
  1185. ),
  1186. pickerBackgroundColor:
  1187. FlutterFlowTheme.of(context)
  1188. .secondaryBackground,
  1189. pickerForegroundColor:
  1190. FlutterFlowTheme.of(context)
  1191. .primaryText,
  1192. selectedDateTimeBackgroundColor:
  1193. FlutterFlowTheme.of(context).primary,
  1194. selectedDateTimeForegroundColor:
  1195. FlutterFlowTheme.of(context).info,
  1196. actionButtonForegroundColor:
  1197. FlutterFlowTheme.of(context)
  1198. .primaryText,
  1199. iconSize: 24.0,
  1200. );
  1201. },
  1202. );
  1203. TimeOfDay? _datePicked1Time;
  1204. if (_datePicked1Date != null) {
  1205. _datePicked1Time = await showTimePicker(
  1206. context: context,
  1207. initialTime: TimeOfDay.fromDateTime(
  1208. getCurrentTimestamp),
  1209. builder: (context, child) {
  1210. return wrapInMaterialTimePickerTheme(
  1211. context,
  1212. child!,
  1213. headerBackgroundColor:
  1214. FlutterFlowTheme.of(context)
  1215. .primary,
  1216. headerForegroundColor:
  1217. FlutterFlowTheme.of(context).info,
  1218. headerTextStyle: FlutterFlowTheme.of(
  1219. context)
  1220. .headlineLarge
  1221. .override(
  1222. font: GoogleFonts.notoSerif(
  1223. fontWeight: FontWeight.w600,
  1224. fontStyle:
  1225. FlutterFlowTheme.of(context)
  1226. .headlineLarge
  1227. .fontStyle,
  1228. ),
  1229. fontSize: 32.0,
  1230. letterSpacing: 0.0,
  1231. fontWeight: FontWeight.w600,
  1232. fontStyle:
  1233. FlutterFlowTheme.of(context)
  1234. .headlineLarge
  1235. .fontStyle,
  1236. ),
  1237. pickerBackgroundColor:
  1238. FlutterFlowTheme.of(context)
  1239. .secondaryBackground,
  1240. pickerForegroundColor:
  1241. FlutterFlowTheme.of(context)
  1242. .primaryText,
  1243. selectedDateTimeBackgroundColor:
  1244. FlutterFlowTheme.of(context)
  1245. .primary,
  1246. selectedDateTimeForegroundColor:
  1247. FlutterFlowTheme.of(context).info,
  1248. actionButtonForegroundColor:
  1249. FlutterFlowTheme.of(context)
  1250. .primaryText,
  1251. iconSize: 24.0,
  1252. );
  1253. },
  1254. );
  1255. }
  1256. if (_datePicked1Date != null &&
  1257. _datePicked1Time != null) {
  1258. safeSetState(() {
  1259. _model.datePicked1 = DateTime(
  1260. _datePicked1Date.year,
  1261. _datePicked1Date.month,
  1262. _datePicked1Date.day,
  1263. _datePicked1Time!.hour,
  1264. _datePicked1Time.minute,
  1265. );
  1266. });
  1267. } else if (_model.datePicked1 != null) {
  1268. safeSetState(() {
  1269. _model.datePicked1 = getCurrentTimestamp;
  1270. });
  1271. }
  1272. safeSetState(() {
  1273. _model.textFieldDatumStartTextController
  1274. ?.text = dateTimeFormat(
  1275. "dd-MM-yyyy HH:mm",
  1276. _model.datePicked1,
  1277. locale: FFLocalizations.of(context)
  1278. .languageCode,
  1279. );
  1280. });
  1281. },
  1282. child: Container(
  1283. width: double.infinity,
  1284. decoration: BoxDecoration(),
  1285. child: Container(
  1286. width: double.infinity,
  1287. child: TextFormField(
  1288. controller: _model
  1289. .textFieldDatumStartTextController,
  1290. focusNode:
  1291. _model.textFieldDatumStartFocusNode,
  1292. autofocus: false,
  1293. enabled: false,
  1294. readOnly: true,
  1295. obscureText: false,
  1296. decoration: InputDecoration(
  1297. isDense: true,
  1298. labelText:
  1299. FFLocalizations.of(context).getText(
  1300. 'xceonmpt' /* Datum * */,
  1301. ),
  1302. labelStyle: FlutterFlowTheme.of(context)
  1303. .labelMedium
  1304. .override(
  1305. font: GoogleFonts.roboto(
  1306. fontWeight:
  1307. FlutterFlowTheme.of(context)
  1308. .labelMedium
  1309. .fontWeight,
  1310. fontStyle:
  1311. FlutterFlowTheme.of(context)
  1312. .labelMedium
  1313. .fontStyle,
  1314. ),
  1315. letterSpacing: 0.0,
  1316. fontWeight:
  1317. FlutterFlowTheme.of(context)
  1318. .labelMedium
  1319. .fontWeight,
  1320. fontStyle:
  1321. FlutterFlowTheme.of(context)
  1322. .labelMedium
  1323. .fontStyle,
  1324. ),
  1325. hintText:
  1326. FFLocalizations.of(context).getText(
  1327. 'nws4h1nz' /* Datum */,
  1328. ),
  1329. hintStyle: FlutterFlowTheme.of(context)
  1330. .labelMedium
  1331. .override(
  1332. font: GoogleFonts.roboto(
  1333. fontWeight:
  1334. FlutterFlowTheme.of(context)
  1335. .labelMedium
  1336. .fontWeight,
  1337. fontStyle:
  1338. FlutterFlowTheme.of(context)
  1339. .labelMedium
  1340. .fontStyle,
  1341. ),
  1342. letterSpacing: 0.0,
  1343. fontWeight:
  1344. FlutterFlowTheme.of(context)
  1345. .labelMedium
  1346. .fontWeight,
  1347. fontStyle:
  1348. FlutterFlowTheme.of(context)
  1349. .labelMedium
  1350. .fontStyle,
  1351. ),
  1352. enabledBorder: OutlineInputBorder(
  1353. borderSide: BorderSide(
  1354. color: Color(0x00000000),
  1355. width: 1.0,
  1356. ),
  1357. borderRadius:
  1358. BorderRadius.circular(0.0),
  1359. ),
  1360. focusedBorder: OutlineInputBorder(
  1361. borderSide: BorderSide(
  1362. color: Color(0x00000000),
  1363. width: 1.0,
  1364. ),
  1365. borderRadius:
  1366. BorderRadius.circular(0.0),
  1367. ),
  1368. errorBorder: OutlineInputBorder(
  1369. borderSide: BorderSide(
  1370. color: FlutterFlowTheme.of(context)
  1371. .error,
  1372. width: 1.0,
  1373. ),
  1374. borderRadius:
  1375. BorderRadius.circular(0.0),
  1376. ),
  1377. focusedErrorBorder: OutlineInputBorder(
  1378. borderSide: BorderSide(
  1379. color: FlutterFlowTheme.of(context)
  1380. .error,
  1381. width: 1.0,
  1382. ),
  1383. borderRadius:
  1384. BorderRadius.circular(0.0),
  1385. ),
  1386. filled: true,
  1387. fillColor: FlutterFlowTheme.of(context)
  1388. .primaryBackground,
  1389. ),
  1390. style: FlutterFlowTheme.of(context)
  1391. .bodyMedium
  1392. .override(
  1393. font: GoogleFonts.roboto(
  1394. fontWeight:
  1395. FlutterFlowTheme.of(context)
  1396. .bodyMedium
  1397. .fontWeight,
  1398. fontStyle:
  1399. FlutterFlowTheme.of(context)
  1400. .bodyMedium
  1401. .fontStyle,
  1402. ),
  1403. letterSpacing: 0.0,
  1404. fontWeight:
  1405. FlutterFlowTheme.of(context)
  1406. .bodyMedium
  1407. .fontWeight,
  1408. fontStyle:
  1409. FlutterFlowTheme.of(context)
  1410. .bodyMedium
  1411. .fontStyle,
  1412. ),
  1413. cursorColor: FlutterFlowTheme.of(context)
  1414. .primaryText,
  1415. enableInteractiveSelection: true,
  1416. validator: _model
  1417. .textFieldDatumStartTextControllerValidator
  1418. .asValidator(context),
  1419. ),
  1420. ),
  1421. ),
  1422. ),
  1423. InkWell(
  1424. splashColor: Colors.transparent,
  1425. focusColor: Colors.transparent,
  1426. hoverColor: Colors.transparent,
  1427. highlightColor: Colors.transparent,
  1428. onTap: () async {
  1429. final _datePicked2Date = await showDatePicker(
  1430. context: context,
  1431. initialDate: getCurrentTimestamp,
  1432. firstDate: getCurrentTimestamp,
  1433. lastDate: DateTime(2050),
  1434. builder: (context, child) {
  1435. return wrapInMaterialDatePickerTheme(
  1436. context,
  1437. child!,
  1438. headerBackgroundColor:
  1439. FlutterFlowTheme.of(context).primary,
  1440. headerForegroundColor:
  1441. FlutterFlowTheme.of(context).info,
  1442. headerTextStyle: FlutterFlowTheme.of(
  1443. context)
  1444. .headlineLarge
  1445. .override(
  1446. font: GoogleFonts.notoSerif(
  1447. fontWeight: FontWeight.w600,
  1448. fontStyle:
  1449. FlutterFlowTheme.of(context)
  1450. .headlineLarge
  1451. .fontStyle,
  1452. ),
  1453. fontSize: 32.0,
  1454. letterSpacing: 0.0,
  1455. fontWeight: FontWeight.w600,
  1456. fontStyle:
  1457. FlutterFlowTheme.of(context)
  1458. .headlineLarge
  1459. .fontStyle,
  1460. ),
  1461. pickerBackgroundColor:
  1462. FlutterFlowTheme.of(context)
  1463. .secondaryBackground,
  1464. pickerForegroundColor:
  1465. FlutterFlowTheme.of(context)
  1466. .primaryText,
  1467. selectedDateTimeBackgroundColor:
  1468. FlutterFlowTheme.of(context).primary,
  1469. selectedDateTimeForegroundColor:
  1470. FlutterFlowTheme.of(context).info,
  1471. actionButtonForegroundColor:
  1472. FlutterFlowTheme.of(context)
  1473. .primaryText,
  1474. iconSize: 24.0,
  1475. );
  1476. },
  1477. );
  1478. TimeOfDay? _datePicked2Time;
  1479. if (_datePicked2Date != null) {
  1480. _datePicked2Time = await showTimePicker(
  1481. context: context,
  1482. initialTime: TimeOfDay.fromDateTime(
  1483. getCurrentTimestamp),
  1484. builder: (context, child) {
  1485. return wrapInMaterialTimePickerTheme(
  1486. context,
  1487. child!,
  1488. headerBackgroundColor:
  1489. FlutterFlowTheme.of(context)
  1490. .primary,
  1491. headerForegroundColor:
  1492. FlutterFlowTheme.of(context).info,
  1493. headerTextStyle: FlutterFlowTheme.of(
  1494. context)
  1495. .headlineLarge
  1496. .override(
  1497. font: GoogleFonts.notoSerif(
  1498. fontWeight: FontWeight.w600,
  1499. fontStyle:
  1500. FlutterFlowTheme.of(context)
  1501. .headlineLarge
  1502. .fontStyle,
  1503. ),
  1504. fontSize: 32.0,
  1505. letterSpacing: 0.0,
  1506. fontWeight: FontWeight.w600,
  1507. fontStyle:
  1508. FlutterFlowTheme.of(context)
  1509. .headlineLarge
  1510. .fontStyle,
  1511. ),
  1512. pickerBackgroundColor:
  1513. FlutterFlowTheme.of(context)
  1514. .secondaryBackground,
  1515. pickerForegroundColor:
  1516. FlutterFlowTheme.of(context)
  1517. .primaryText,
  1518. selectedDateTimeBackgroundColor:
  1519. FlutterFlowTheme.of(context)
  1520. .primary,
  1521. selectedDateTimeForegroundColor:
  1522. FlutterFlowTheme.of(context).info,
  1523. actionButtonForegroundColor:
  1524. FlutterFlowTheme.of(context)
  1525. .primaryText,
  1526. iconSize: 24.0,
  1527. );
  1528. },
  1529. );
  1530. }
  1531. if (_datePicked2Date != null &&
  1532. _datePicked2Time != null) {
  1533. safeSetState(() {
  1534. _model.datePicked2 = DateTime(
  1535. _datePicked2Date.year,
  1536. _datePicked2Date.month,
  1537. _datePicked2Date.day,
  1538. _datePicked2Time!.hour,
  1539. _datePicked2Time.minute,
  1540. );
  1541. });
  1542. } else if (_model.datePicked2 != null) {
  1543. safeSetState(() {
  1544. _model.datePicked2 = getCurrentTimestamp;
  1545. });
  1546. }
  1547. safeSetState(() {
  1548. _model.textFieldDatumEindTextController
  1549. ?.text = dateTimeFormat(
  1550. "dd-MM-yyyy HH:mm",
  1551. _model.datePicked2,
  1552. locale: FFLocalizations.of(context)
  1553. .languageCode,
  1554. );
  1555. });
  1556. },
  1557. child: Container(
  1558. width: double.infinity,
  1559. decoration: BoxDecoration(),
  1560. child: Container(
  1561. width: double.infinity,
  1562. child: TextFormField(
  1563. controller:
  1564. _model.textFieldDatumEindTextController,
  1565. focusNode:
  1566. _model.textFieldDatumEindFocusNode,
  1567. autofocus: false,
  1568. enabled: false,
  1569. readOnly: true,
  1570. obscureText: false,
  1571. decoration: InputDecoration(
  1572. isDense: true,
  1573. labelText:
  1574. FFLocalizations.of(context).getText(
  1575. 'wkn1mu1d' /* Einddatum */,
  1576. ),
  1577. labelStyle: FlutterFlowTheme.of(context)
  1578. .labelMedium
  1579. .override(
  1580. font: GoogleFonts.roboto(
  1581. fontWeight:
  1582. FlutterFlowTheme.of(context)
  1583. .labelMedium
  1584. .fontWeight,
  1585. fontStyle:
  1586. FlutterFlowTheme.of(context)
  1587. .labelMedium
  1588. .fontStyle,
  1589. ),
  1590. letterSpacing: 0.0,
  1591. fontWeight:
  1592. FlutterFlowTheme.of(context)
  1593. .labelMedium
  1594. .fontWeight,
  1595. fontStyle:
  1596. FlutterFlowTheme.of(context)
  1597. .labelMedium
  1598. .fontStyle,
  1599. ),
  1600. hintText:
  1601. FFLocalizations.of(context).getText(
  1602. 'e42lwmdh' /* Einddatum */,
  1603. ),
  1604. hintStyle: FlutterFlowTheme.of(context)
  1605. .labelMedium
  1606. .override(
  1607. font: GoogleFonts.roboto(
  1608. fontWeight:
  1609. FlutterFlowTheme.of(context)
  1610. .labelMedium
  1611. .fontWeight,
  1612. fontStyle:
  1613. FlutterFlowTheme.of(context)
  1614. .labelMedium
  1615. .fontStyle,
  1616. ),
  1617. letterSpacing: 0.0,
  1618. fontWeight:
  1619. FlutterFlowTheme.of(context)
  1620. .labelMedium
  1621. .fontWeight,
  1622. fontStyle:
  1623. FlutterFlowTheme.of(context)
  1624. .labelMedium
  1625. .fontStyle,
  1626. ),
  1627. enabledBorder: OutlineInputBorder(
  1628. borderSide: BorderSide(
  1629. color: Color(0x00000000),
  1630. width: 1.0,
  1631. ),
  1632. borderRadius:
  1633. BorderRadius.circular(8.0),
  1634. ),
  1635. focusedBorder: OutlineInputBorder(
  1636. borderSide: BorderSide(
  1637. color: Color(0x00000000),
  1638. width: 1.0,
  1639. ),
  1640. borderRadius:
  1641. BorderRadius.circular(8.0),
  1642. ),
  1643. errorBorder: OutlineInputBorder(
  1644. borderSide: BorderSide(
  1645. color: FlutterFlowTheme.of(context)
  1646. .error,
  1647. width: 1.0,
  1648. ),
  1649. borderRadius:
  1650. BorderRadius.circular(8.0),
  1651. ),
  1652. focusedErrorBorder: OutlineInputBorder(
  1653. borderSide: BorderSide(
  1654. color: FlutterFlowTheme.of(context)
  1655. .error,
  1656. width: 1.0,
  1657. ),
  1658. borderRadius:
  1659. BorderRadius.circular(8.0),
  1660. ),
  1661. filled: true,
  1662. fillColor: FlutterFlowTheme.of(context)
  1663. .primaryBackground,
  1664. ),
  1665. style: FlutterFlowTheme.of(context)
  1666. .bodyMedium
  1667. .override(
  1668. font: GoogleFonts.roboto(
  1669. fontWeight:
  1670. FlutterFlowTheme.of(context)
  1671. .bodyMedium
  1672. .fontWeight,
  1673. fontStyle:
  1674. FlutterFlowTheme.of(context)
  1675. .bodyMedium
  1676. .fontStyle,
  1677. ),
  1678. letterSpacing: 0.0,
  1679. fontWeight:
  1680. FlutterFlowTheme.of(context)
  1681. .bodyMedium
  1682. .fontWeight,
  1683. fontStyle:
  1684. FlutterFlowTheme.of(context)
  1685. .bodyMedium
  1686. .fontStyle,
  1687. ),
  1688. cursorColor: FlutterFlowTheme.of(context)
  1689. .primaryText,
  1690. enableInteractiveSelection: true,
  1691. validator: _model
  1692. .textFieldDatumEindTextControllerValidator
  1693. .asValidator(context),
  1694. ),
  1695. ),
  1696. ),
  1697. ),
  1698. ],
  1699. ),
  1700. ),
  1701. ),
  1702. ),
  1703. Align(
  1704. alignment: AlignmentDirectional(-1.0, 0.0),
  1705. child: Padding(
  1706. padding: EdgeInsets.all(16.0),
  1707. child: Container(
  1708. width: double.infinity,
  1709. decoration: BoxDecoration(
  1710. color:
  1711. FlutterFlowTheme.of(context).secondaryBackground,
  1712. borderRadius: BorderRadius.only(),
  1713. border: Border.all(
  1714. color: Color(0xFFEEEEEE),
  1715. width: 3.0,
  1716. ),
  1717. ),
  1718. child: Column(
  1719. mainAxisSize: MainAxisSize.max,
  1720. children: [
  1721. Align(
  1722. alignment: AlignmentDirectional(-1.0, 0.0),
  1723. child: Text(
  1724. FFLocalizations.of(context).getText(
  1725. 'vkyrmq6a' /* Organisatie */,
  1726. ),
  1727. style: FlutterFlowTheme.of(context)
  1728. .bodyMedium
  1729. .override(
  1730. font: GoogleFonts.roboto(
  1731. fontWeight: FlutterFlowTheme.of(context)
  1732. .bodyMedium
  1733. .fontWeight,
  1734. fontStyle: FlutterFlowTheme.of(context)
  1735. .bodyMedium
  1736. .fontStyle,
  1737. ),
  1738. letterSpacing: 0.0,
  1739. fontWeight: FlutterFlowTheme.of(context)
  1740. .bodyMedium
  1741. .fontWeight,
  1742. fontStyle: FlutterFlowTheme.of(context)
  1743. .bodyMedium
  1744. .fontStyle,
  1745. ),
  1746. ),
  1747. ),
  1748. Align(
  1749. alignment: AlignmentDirectional(-1.0, 0.0),
  1750. child: Text(
  1751. FFLocalizations.of(context).getText(
  1752. 'len3npim' /* Optioneel. Een website of tick... */,
  1753. ),
  1754. style: FlutterFlowTheme.of(context)
  1755. .bodyMedium
  1756. .override(
  1757. font: GoogleFonts.roboto(
  1758. fontWeight: FlutterFlowTheme.of(context)
  1759. .bodyMedium
  1760. .fontWeight,
  1761. fontStyle: FlutterFlowTheme.of(context)
  1762. .bodyMedium
  1763. .fontStyle,
  1764. ),
  1765. color: FlutterFlowTheme.of(context)
  1766. .secondaryText,
  1767. fontSize: 12.0,
  1768. letterSpacing: 0.0,
  1769. fontWeight: FlutterFlowTheme.of(context)
  1770. .bodyMedium
  1771. .fontWeight,
  1772. fontStyle: FlutterFlowTheme.of(context)
  1773. .bodyMedium
  1774. .fontStyle,
  1775. ),
  1776. ),
  1777. ),
  1778. Align(
  1779. alignment: AlignmentDirectional(-1.0, 0.0),
  1780. child: Container(
  1781. width: double.infinity,
  1782. child: TextFormField(
  1783. controller:
  1784. _model.textFieldWebsiteURLTextController,
  1785. focusNode:
  1786. _model.textFieldWebsiteURLFocusNode,
  1787. autofocus: false,
  1788. enabled: true,
  1789. obscureText: false,
  1790. decoration: InputDecoration(
  1791. isDense: true,
  1792. labelText:
  1793. FFLocalizations.of(context).getText(
  1794. 'e9n6cj1o' /* Website */,
  1795. ),
  1796. labelStyle: FlutterFlowTheme.of(context)
  1797. .labelMedium
  1798. .override(
  1799. font: GoogleFonts.roboto(
  1800. fontWeight:
  1801. FlutterFlowTheme.of(context)
  1802. .labelMedium
  1803. .fontWeight,
  1804. fontStyle:
  1805. FlutterFlowTheme.of(context)
  1806. .labelMedium
  1807. .fontStyle,
  1808. ),
  1809. letterSpacing: 0.0,
  1810. fontWeight:
  1811. FlutterFlowTheme.of(context)
  1812. .labelMedium
  1813. .fontWeight,
  1814. fontStyle:
  1815. FlutterFlowTheme.of(context)
  1816. .labelMedium
  1817. .fontStyle,
  1818. ),
  1819. hintText:
  1820. FFLocalizations.of(context).getText(
  1821. 'qsf2va25' /* Website van het evenement */,
  1822. ),
  1823. hintStyle: FlutterFlowTheme.of(context)
  1824. .labelMedium
  1825. .override(
  1826. font: GoogleFonts.roboto(
  1827. fontWeight:
  1828. FlutterFlowTheme.of(context)
  1829. .labelMedium
  1830. .fontWeight,
  1831. fontStyle:
  1832. FlutterFlowTheme.of(context)
  1833. .labelMedium
  1834. .fontStyle,
  1835. ),
  1836. letterSpacing: 0.0,
  1837. fontWeight:
  1838. FlutterFlowTheme.of(context)
  1839. .labelMedium
  1840. .fontWeight,
  1841. fontStyle:
  1842. FlutterFlowTheme.of(context)
  1843. .labelMedium
  1844. .fontStyle,
  1845. ),
  1846. enabledBorder: OutlineInputBorder(
  1847. borderSide: BorderSide(
  1848. color: Color(0x00000000),
  1849. width: 1.0,
  1850. ),
  1851. borderRadius: BorderRadius.circular(8.0),
  1852. ),
  1853. focusedBorder: OutlineInputBorder(
  1854. borderSide: BorderSide(
  1855. color: Color(0x00000000),
  1856. width: 1.0,
  1857. ),
  1858. borderRadius: BorderRadius.circular(8.0),
  1859. ),
  1860. errorBorder: OutlineInputBorder(
  1861. borderSide: BorderSide(
  1862. color:
  1863. FlutterFlowTheme.of(context).error,
  1864. width: 1.0,
  1865. ),
  1866. borderRadius: BorderRadius.circular(8.0),
  1867. ),
  1868. focusedErrorBorder: OutlineInputBorder(
  1869. borderSide: BorderSide(
  1870. color:
  1871. FlutterFlowTheme.of(context).error,
  1872. width: 1.0,
  1873. ),
  1874. borderRadius: BorderRadius.circular(8.0),
  1875. ),
  1876. filled: true,
  1877. fillColor: FlutterFlowTheme.of(context)
  1878. .primaryBackground,
  1879. ),
  1880. style: FlutterFlowTheme.of(context)
  1881. .bodyMedium
  1882. .override(
  1883. font: GoogleFonts.roboto(
  1884. fontWeight:
  1885. FlutterFlowTheme.of(context)
  1886. .bodyMedium
  1887. .fontWeight,
  1888. fontStyle:
  1889. FlutterFlowTheme.of(context)
  1890. .bodyMedium
  1891. .fontStyle,
  1892. ),
  1893. letterSpacing: 0.0,
  1894. fontWeight: FlutterFlowTheme.of(context)
  1895. .bodyMedium
  1896. .fontWeight,
  1897. fontStyle: FlutterFlowTheme.of(context)
  1898. .bodyMedium
  1899. .fontStyle,
  1900. ),
  1901. cursorColor:
  1902. FlutterFlowTheme.of(context).primaryText,
  1903. enableInteractiveSelection: true,
  1904. validator: _model
  1905. .textFieldWebsiteURLTextControllerValidator
  1906. .asValidator(context),
  1907. ),
  1908. ),
  1909. ),
  1910. Align(
  1911. alignment: AlignmentDirectional(-1.0, 0.0),
  1912. child: Container(
  1913. width: double.infinity,
  1914. child: TextFormField(
  1915. controller:
  1916. _model.textFieldTicketsURLTextController,
  1917. focusNode:
  1918. _model.textFieldTicketsURLFocusNode,
  1919. autofocus: false,
  1920. enabled: true,
  1921. obscureText: false,
  1922. decoration: InputDecoration(
  1923. isDense: true,
  1924. labelText:
  1925. FFLocalizations.of(context).getText(
  1926. 'zfofdq9a' /* Ticketlink */,
  1927. ),
  1928. labelStyle: FlutterFlowTheme.of(context)
  1929. .labelMedium
  1930. .override(
  1931. font: GoogleFonts.roboto(
  1932. fontWeight:
  1933. FlutterFlowTheme.of(context)
  1934. .labelMedium
  1935. .fontWeight,
  1936. fontStyle:
  1937. FlutterFlowTheme.of(context)
  1938. .labelMedium
  1939. .fontStyle,
  1940. ),
  1941. letterSpacing: 0.0,
  1942. fontWeight:
  1943. FlutterFlowTheme.of(context)
  1944. .labelMedium
  1945. .fontWeight,
  1946. fontStyle:
  1947. FlutterFlowTheme.of(context)
  1948. .labelMedium
  1949. .fontStyle,
  1950. ),
  1951. hintText:
  1952. FFLocalizations.of(context).getText(
  1953. 'nzaqrq0w' /* Link om kaarten te kopen */,
  1954. ),
  1955. hintStyle: FlutterFlowTheme.of(context)
  1956. .labelMedium
  1957. .override(
  1958. font: GoogleFonts.roboto(
  1959. fontWeight:
  1960. FlutterFlowTheme.of(context)
  1961. .labelMedium
  1962. .fontWeight,
  1963. fontStyle:
  1964. FlutterFlowTheme.of(context)
  1965. .labelMedium
  1966. .fontStyle,
  1967. ),
  1968. letterSpacing: 0.0,
  1969. fontWeight:
  1970. FlutterFlowTheme.of(context)
  1971. .labelMedium
  1972. .fontWeight,
  1973. fontStyle:
  1974. FlutterFlowTheme.of(context)
  1975. .labelMedium
  1976. .fontStyle,
  1977. ),
  1978. enabledBorder: OutlineInputBorder(
  1979. borderSide: BorderSide(
  1980. color: Color(0x00000000),
  1981. width: 1.0,
  1982. ),
  1983. borderRadius: BorderRadius.circular(8.0),
  1984. ),
  1985. focusedBorder: OutlineInputBorder(
  1986. borderSide: BorderSide(
  1987. color: Color(0x00000000),
  1988. width: 1.0,
  1989. ),
  1990. borderRadius: BorderRadius.circular(8.0),
  1991. ),
  1992. errorBorder: OutlineInputBorder(
  1993. borderSide: BorderSide(
  1994. color:
  1995. FlutterFlowTheme.of(context).error,
  1996. width: 1.0,
  1997. ),
  1998. borderRadius: BorderRadius.circular(8.0),
  1999. ),
  2000. focusedErrorBorder: OutlineInputBorder(
  2001. borderSide: BorderSide(
  2002. color:
  2003. FlutterFlowTheme.of(context).error,
  2004. width: 1.0,
  2005. ),
  2006. borderRadius: BorderRadius.circular(8.0),
  2007. ),
  2008. filled: true,
  2009. fillColor: FlutterFlowTheme.of(context)
  2010. .primaryBackground,
  2011. ),
  2012. style: FlutterFlowTheme.of(context)
  2013. .bodyMedium
  2014. .override(
  2015. font: GoogleFonts.roboto(
  2016. fontWeight:
  2017. FlutterFlowTheme.of(context)
  2018. .bodyMedium
  2019. .fontWeight,
  2020. fontStyle:
  2021. FlutterFlowTheme.of(context)
  2022. .bodyMedium
  2023. .fontStyle,
  2024. ),
  2025. letterSpacing: 0.0,
  2026. fontWeight: FlutterFlowTheme.of(context)
  2027. .bodyMedium
  2028. .fontWeight,
  2029. fontStyle: FlutterFlowTheme.of(context)
  2030. .bodyMedium
  2031. .fontStyle,
  2032. ),
  2033. cursorColor:
  2034. FlutterFlowTheme.of(context).primaryText,
  2035. enableInteractiveSelection: true,
  2036. validator: _model
  2037. .textFieldTicketsURLTextControllerValidator
  2038. .asValidator(context),
  2039. ),
  2040. ),
  2041. ),
  2042. ],
  2043. ),
  2044. ),
  2045. ),
  2046. ),
  2047. Align(
  2048. alignment: AlignmentDirectional(-1.0, 0.0),
  2049. child: Padding(
  2050. padding: EdgeInsets.all(16.0),
  2051. child: Container(
  2052. width: double.infinity,
  2053. decoration: BoxDecoration(
  2054. color:
  2055. FlutterFlowTheme.of(context).secondaryBackground,
  2056. borderRadius: BorderRadius.only(),
  2057. border: Border.all(
  2058. color: Color(0xFFEEEEEE),
  2059. width: 3.0,
  2060. ),
  2061. ),
  2062. child: Align(
  2063. alignment: AlignmentDirectional(-1.0, 0.0),
  2064. child: Column(
  2065. mainAxisSize: MainAxisSize.max,
  2066. children: [
  2067. Align(
  2068. alignment: AlignmentDirectional(-1.0, 0.0),
  2069. child: Text(
  2070. FFLocalizations.of(context).getText(
  2071. 'obaet4ky' /* Entree */,
  2072. ),
  2073. style: FlutterFlowTheme.of(context)
  2074. .headlineSmall
  2075. .override(
  2076. font: GoogleFonts.notoSerif(
  2077. fontWeight:
  2078. FlutterFlowTheme.of(context)
  2079. .headlineSmall
  2080. .fontWeight,
  2081. fontStyle:
  2082. FlutterFlowTheme.of(context)
  2083. .headlineSmall
  2084. .fontStyle,
  2085. ),
  2086. fontSize: 16.0,
  2087. letterSpacing: 0.0,
  2088. fontWeight: FlutterFlowTheme.of(context)
  2089. .headlineSmall
  2090. .fontWeight,
  2091. fontStyle: FlutterFlowTheme.of(context)
  2092. .headlineSmall
  2093. .fontStyle,
  2094. ),
  2095. ),
  2096. ),
  2097. Align(
  2098. alignment: AlignmentDirectional(-1.0, 0.0),
  2099. child: Text(
  2100. FFLocalizations.of(context).getText(
  2101. 'rj9dgdp7' /* Entree informatie */,
  2102. ),
  2103. style: FlutterFlowTheme.of(context)
  2104. .bodySmall
  2105. .override(
  2106. font: GoogleFonts.roboto(
  2107. fontWeight:
  2108. FlutterFlowTheme.of(context)
  2109. .bodySmall
  2110. .fontWeight,
  2111. fontStyle:
  2112. FlutterFlowTheme.of(context)
  2113. .bodySmall
  2114. .fontStyle,
  2115. ),
  2116. color: FlutterFlowTheme.of(context)
  2117. .secondaryText,
  2118. letterSpacing: 0.0,
  2119. fontWeight: FlutterFlowTheme.of(context)
  2120. .bodySmall
  2121. .fontWeight,
  2122. fontStyle: FlutterFlowTheme.of(context)
  2123. .bodySmall
  2124. .fontStyle,
  2125. ),
  2126. ),
  2127. ),
  2128. Align(
  2129. alignment: AlignmentDirectional(-1.0, 0.0),
  2130. child: FutureBuilder<ApiCallResponse>(
  2131. future: ProductieGroup.entreeoptiesCall.call(
  2132. sessionName: FFAppState().userSessionname,
  2133. sessid: FFAppState().userSessionid,
  2134. ),
  2135. builder: (context, snapshot) {
  2136. // Customize what your widget looks like when it's loading.
  2137. if (!snapshot.hasData) {
  2138. return Center(
  2139. child: SizedBox(
  2140. width: 80.0,
  2141. height: 80.0,
  2142. child: SpinKitFadingCircle(
  2143. color: FlutterFlowTheme.of(context)
  2144. .primary,
  2145. size: 80.0,
  2146. ),
  2147. ),
  2148. );
  2149. }
  2150. final dropDownEntreeEntreeoptiesResponse =
  2151. snapshot.data!;
  2152. _model.debugBackendQueries[
  2153. 'ProductieGroup.entreeoptiesCall_statusCode_DropDown_pscb0l37'] =
  2154. debugSerializeParam(
  2155. dropDownEntreeEntreeoptiesResponse
  2156. .statusCode,
  2157. ParamType.int,
  2158. link:
  2159. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  2160. name: 'int',
  2161. nullable: false,
  2162. );
  2163. _model.debugBackendQueries[
  2164. 'ProductieGroup.entreeoptiesCall_responseBody_DropDown_pscb0l37'] =
  2165. debugSerializeParam(
  2166. dropDownEntreeEntreeoptiesResponse
  2167. .bodyText,
  2168. ParamType.String,
  2169. link:
  2170. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  2171. name: 'String',
  2172. nullable: false,
  2173. );
  2174. debugLogWidgetClass(_model);
  2175. return FlutterFlowDropDown<String>(
  2176. controller: _model
  2177. .dropDownEntreeValueController ??=
  2178. FormFieldController<String>(
  2179. _model.dropDownEntreeValue ??=
  2180. functions.kloonTekst(
  2181. FFAppState().kloonBron,
  2182. 'entree_tid'),
  2183. ),
  2184. options: List<String>.from((getJsonField(
  2185. dropDownEntreeEntreeoptiesResponse
  2186. .jsonBody,
  2187. r'''$[:].tid''',
  2188. true,
  2189. ) as List?)!
  2190. .map<String>((e) => e.toString())
  2191. .toList()
  2192. .cast<String>()),
  2193. optionLabels: (getJsonField(
  2194. dropDownEntreeEntreeoptiesResponse
  2195. .jsonBody,
  2196. r'''$[:].naam''',
  2197. true,
  2198. ) as List?)!
  2199. .map<String>((e) => e.toString())
  2200. .toList()
  2201. .cast<String>(),
  2202. onChanged: (val) async {
  2203. safeSetState(() =>
  2204. _model.dropDownEntreeValue = val);
  2205. _model.createEntreeTid =
  2206. _model.dropDownEntreeValue;
  2207. safeSetState(() {});
  2208. },
  2209. width: double.infinity,
  2210. height: 40.0,
  2211. textStyle: FlutterFlowTheme.of(context)
  2212. .bodyMedium
  2213. .override(
  2214. font: GoogleFonts.roboto(
  2215. fontWeight:
  2216. FlutterFlowTheme.of(context)
  2217. .bodyMedium
  2218. .fontWeight,
  2219. fontStyle:
  2220. FlutterFlowTheme.of(context)
  2221. .bodyMedium
  2222. .fontStyle,
  2223. ),
  2224. letterSpacing: 0.0,
  2225. fontWeight:
  2226. FlutterFlowTheme.of(context)
  2227. .bodyMedium
  2228. .fontWeight,
  2229. fontStyle:
  2230. FlutterFlowTheme.of(context)
  2231. .bodyMedium
  2232. .fontStyle,
  2233. ),
  2234. hintText:
  2235. FFLocalizations.of(context).getText(
  2236. 'ht4toe4o' /* Select... */,
  2237. ),
  2238. icon: Icon(
  2239. Icons.keyboard_arrow_down_rounded,
  2240. color: FlutterFlowTheme.of(context)
  2241. .secondaryText,
  2242. size: 24.0,
  2243. ),
  2244. fillColor: FlutterFlowTheme.of(context)
  2245. .primaryBackground,
  2246. elevation: 2.0,
  2247. borderColor: Colors.transparent,
  2248. borderWidth: 0.0,
  2249. borderRadius: 8.0,
  2250. margin: EdgeInsetsDirectional.fromSTEB(
  2251. 12.0, 0.0, 12.0, 0.0),
  2252. hidesUnderline: true,
  2253. isOverButton: false,
  2254. isSearchable: false,
  2255. isMultiSelect: false,
  2256. );
  2257. },
  2258. ),
  2259. ),
  2260. Align(
  2261. alignment: AlignmentDirectional(-1.0, 0.0),
  2262. child: Container(
  2263. width: double.infinity,
  2264. child: TextFormField(
  2265. controller: _model
  2266. .textFieldToelichtingEntreeTextController,
  2267. focusNode: _model
  2268. .textFieldToelichtingEntreeFocusNode,
  2269. autofocus: false,
  2270. enabled: true,
  2271. obscureText: false,
  2272. decoration: InputDecoration(
  2273. isDense: true,
  2274. labelText:
  2275. FFLocalizations.of(context).getText(
  2276. 'taujsjo7' /* Toelichting entree */,
  2277. ),
  2278. labelStyle: FlutterFlowTheme.of(context)
  2279. .labelMedium
  2280. .override(
  2281. font: GoogleFonts.roboto(
  2282. fontWeight:
  2283. FlutterFlowTheme.of(context)
  2284. .labelMedium
  2285. .fontWeight,
  2286. fontStyle:
  2287. FlutterFlowTheme.of(context)
  2288. .labelMedium
  2289. .fontStyle,
  2290. ),
  2291. letterSpacing: 0.0,
  2292. fontWeight:
  2293. FlutterFlowTheme.of(context)
  2294. .labelMedium
  2295. .fontWeight,
  2296. fontStyle:
  2297. FlutterFlowTheme.of(context)
  2298. .labelMedium
  2299. .fontStyle,
  2300. ),
  2301. hintText:
  2302. FFLocalizations.of(context).getText(
  2303. 'y7mzhxd8' /* Toelichting entree */,
  2304. ),
  2305. hintStyle: FlutterFlowTheme.of(context)
  2306. .labelMedium
  2307. .override(
  2308. font: GoogleFonts.roboto(
  2309. fontWeight:
  2310. FlutterFlowTheme.of(context)
  2311. .labelMedium
  2312. .fontWeight,
  2313. fontStyle:
  2314. FlutterFlowTheme.of(context)
  2315. .labelMedium
  2316. .fontStyle,
  2317. ),
  2318. letterSpacing: 0.0,
  2319. fontWeight:
  2320. FlutterFlowTheme.of(context)
  2321. .labelMedium
  2322. .fontWeight,
  2323. fontStyle:
  2324. FlutterFlowTheme.of(context)
  2325. .labelMedium
  2326. .fontStyle,
  2327. ),
  2328. enabledBorder: OutlineInputBorder(
  2329. borderSide: BorderSide(
  2330. color: Color(0x00000000),
  2331. width: 1.0,
  2332. ),
  2333. borderRadius:
  2334. BorderRadius.circular(8.0),
  2335. ),
  2336. focusedBorder: OutlineInputBorder(
  2337. borderSide: BorderSide(
  2338. color: Color(0x00000000),
  2339. width: 1.0,
  2340. ),
  2341. borderRadius:
  2342. BorderRadius.circular(8.0),
  2343. ),
  2344. errorBorder: OutlineInputBorder(
  2345. borderSide: BorderSide(
  2346. color: FlutterFlowTheme.of(context)
  2347. .error,
  2348. width: 1.0,
  2349. ),
  2350. borderRadius:
  2351. BorderRadius.circular(8.0),
  2352. ),
  2353. focusedErrorBorder: OutlineInputBorder(
  2354. borderSide: BorderSide(
  2355. color: FlutterFlowTheme.of(context)
  2356. .error,
  2357. width: 1.0,
  2358. ),
  2359. borderRadius:
  2360. BorderRadius.circular(8.0),
  2361. ),
  2362. filled: true,
  2363. fillColor: FlutterFlowTheme.of(context)
  2364. .primaryBackground,
  2365. ),
  2366. style: FlutterFlowTheme.of(context)
  2367. .bodyMedium
  2368. .override(
  2369. font: GoogleFonts.roboto(
  2370. fontWeight:
  2371. FlutterFlowTheme.of(context)
  2372. .bodyMedium
  2373. .fontWeight,
  2374. fontStyle:
  2375. FlutterFlowTheme.of(context)
  2376. .bodyMedium
  2377. .fontStyle,
  2378. ),
  2379. letterSpacing: 0.0,
  2380. fontWeight:
  2381. FlutterFlowTheme.of(context)
  2382. .bodyMedium
  2383. .fontWeight,
  2384. fontStyle:
  2385. FlutterFlowTheme.of(context)
  2386. .bodyMedium
  2387. .fontStyle,
  2388. ),
  2389. cursorColor: FlutterFlowTheme.of(context)
  2390. .primaryText,
  2391. enableInteractiveSelection: true,
  2392. validator: _model
  2393. .textFieldToelichtingEntreeTextControllerValidator
  2394. .asValidator(context),
  2395. ),
  2396. ),
  2397. ),
  2398. Align(
  2399. alignment: AlignmentDirectional(-1.0, 0.0),
  2400. child: Container(
  2401. width: double.infinity,
  2402. child: TextFormField(
  2403. controller: _model
  2404. .textFieldEntreeprijsTextController,
  2405. focusNode:
  2406. _model.textFieldEntreeprijsFocusNode,
  2407. autofocus: false,
  2408. enabled: true,
  2409. obscureText: false,
  2410. decoration: InputDecoration(
  2411. isDense: true,
  2412. labelText:
  2413. FFLocalizations.of(context).getText(
  2414. '3h3k4jh2' /* Entreeprijs */,
  2415. ),
  2416. labelStyle: FlutterFlowTheme.of(context)
  2417. .labelMedium
  2418. .override(
  2419. font: GoogleFonts.roboto(
  2420. fontWeight:
  2421. FlutterFlowTheme.of(context)
  2422. .labelMedium
  2423. .fontWeight,
  2424. fontStyle:
  2425. FlutterFlowTheme.of(context)
  2426. .labelMedium
  2427. .fontStyle,
  2428. ),
  2429. letterSpacing: 0.0,
  2430. fontWeight:
  2431. FlutterFlowTheme.of(context)
  2432. .labelMedium
  2433. .fontWeight,
  2434. fontStyle:
  2435. FlutterFlowTheme.of(context)
  2436. .labelMedium
  2437. .fontStyle,
  2438. ),
  2439. hintText:
  2440. FFLocalizations.of(context).getText(
  2441. 'ge5o3gf7' /* Entreeprijs */,
  2442. ),
  2443. hintStyle: FlutterFlowTheme.of(context)
  2444. .labelMedium
  2445. .override(
  2446. font: GoogleFonts.roboto(
  2447. fontWeight:
  2448. FlutterFlowTheme.of(context)
  2449. .labelMedium
  2450. .fontWeight,
  2451. fontStyle:
  2452. FlutterFlowTheme.of(context)
  2453. .labelMedium
  2454. .fontStyle,
  2455. ),
  2456. letterSpacing: 0.0,
  2457. fontWeight:
  2458. FlutterFlowTheme.of(context)
  2459. .labelMedium
  2460. .fontWeight,
  2461. fontStyle:
  2462. FlutterFlowTheme.of(context)
  2463. .labelMedium
  2464. .fontStyle,
  2465. ),
  2466. enabledBorder: OutlineInputBorder(
  2467. borderSide: BorderSide(
  2468. color: Color(0x00000000),
  2469. width: 1.0,
  2470. ),
  2471. borderRadius:
  2472. BorderRadius.circular(8.0),
  2473. ),
  2474. focusedBorder: OutlineInputBorder(
  2475. borderSide: BorderSide(
  2476. color: Color(0x00000000),
  2477. width: 1.0,
  2478. ),
  2479. borderRadius:
  2480. BorderRadius.circular(8.0),
  2481. ),
  2482. errorBorder: OutlineInputBorder(
  2483. borderSide: BorderSide(
  2484. color: FlutterFlowTheme.of(context)
  2485. .error,
  2486. width: 1.0,
  2487. ),
  2488. borderRadius:
  2489. BorderRadius.circular(8.0),
  2490. ),
  2491. focusedErrorBorder: OutlineInputBorder(
  2492. borderSide: BorderSide(
  2493. color: FlutterFlowTheme.of(context)
  2494. .error,
  2495. width: 1.0,
  2496. ),
  2497. borderRadius:
  2498. BorderRadius.circular(8.0),
  2499. ),
  2500. filled: true,
  2501. fillColor: FlutterFlowTheme.of(context)
  2502. .primaryBackground,
  2503. ),
  2504. style: FlutterFlowTheme.of(context)
  2505. .bodyMedium
  2506. .override(
  2507. font: GoogleFonts.roboto(
  2508. fontWeight:
  2509. FlutterFlowTheme.of(context)
  2510. .bodyMedium
  2511. .fontWeight,
  2512. fontStyle:
  2513. FlutterFlowTheme.of(context)
  2514. .bodyMedium
  2515. .fontStyle,
  2516. ),
  2517. letterSpacing: 0.0,
  2518. fontWeight:
  2519. FlutterFlowTheme.of(context)
  2520. .bodyMedium
  2521. .fontWeight,
  2522. fontStyle:
  2523. FlutterFlowTheme.of(context)
  2524. .bodyMedium
  2525. .fontStyle,
  2526. ),
  2527. cursorColor: FlutterFlowTheme.of(context)
  2528. .primaryText,
  2529. enableInteractiveSelection: true,
  2530. validator: _model
  2531. .textFieldEntreeprijsTextControllerValidator
  2532. .asValidator(context),
  2533. ),
  2534. ),
  2535. ),
  2536. ],
  2537. ),
  2538. ),
  2539. ),
  2540. ),
  2541. ),
  2542. Container(
  2543. width: double.infinity,
  2544. decoration: BoxDecoration(
  2545. color: FlutterFlowTheme.of(context).secondaryBackground,
  2546. border: Border.all(
  2547. color: FlutterFlowTheme.of(context).alternate,
  2548. width: 3.0,
  2549. ),
  2550. ),
  2551. child: Column(
  2552. mainAxisSize: MainAxisSize.max,
  2553. children: [
  2554. Align(
  2555. alignment: AlignmentDirectional(-1.0, 0.0),
  2556. child: Text(
  2557. FFLocalizations.of(context).getText(
  2558. '4a28vwlf' /* Media */,
  2559. ),
  2560. style: FlutterFlowTheme.of(context)
  2561. .headlineSmall
  2562. .override(
  2563. font: GoogleFonts.notoSerif(
  2564. fontWeight: FlutterFlowTheme.of(context)
  2565. .headlineSmall
  2566. .fontWeight,
  2567. fontStyle: FlutterFlowTheme.of(context)
  2568. .headlineSmall
  2569. .fontStyle,
  2570. ),
  2571. fontSize: 16.0,
  2572. letterSpacing: 0.0,
  2573. fontWeight: FlutterFlowTheme.of(context)
  2574. .headlineSmall
  2575. .fontWeight,
  2576. fontStyle: FlutterFlowTheme.of(context)
  2577. .headlineSmall
  2578. .fontStyle,
  2579. ),
  2580. ),
  2581. ),
  2582. Align(
  2583. alignment: AlignmentDirectional(-1.0, 0.0),
  2584. child: Text(
  2585. FFLocalizations.of(context).getText(
  2586. 'nvi2k89n' /* Een logo en meerdere foto's. T... */,
  2587. ),
  2588. style:
  2589. FlutterFlowTheme.of(context).bodySmall.override(
  2590. font: GoogleFonts.roboto(
  2591. fontWeight: FlutterFlowTheme.of(context)
  2592. .bodySmall
  2593. .fontWeight,
  2594. fontStyle: FlutterFlowTheme.of(context)
  2595. .bodySmall
  2596. .fontStyle,
  2597. ),
  2598. color: FlutterFlowTheme.of(context)
  2599. .secondaryText,
  2600. letterSpacing: 0.0,
  2601. fontWeight: FlutterFlowTheme.of(context)
  2602. .bodySmall
  2603. .fontWeight,
  2604. fontStyle: FlutterFlowTheme.of(context)
  2605. .bodySmall
  2606. .fontStyle,
  2607. ),
  2608. ),
  2609. ),
  2610. Row(
  2611. mainAxisSize: MainAxisSize.max,
  2612. children: [
  2613. Align(
  2614. alignment: AlignmentDirectional(-1.0, 0.0),
  2615. child: FFButtonWidget(
  2616. onPressed: () async {
  2617. final selectedMedia =
  2618. await selectMediaWithSourceBottomSheet(
  2619. context: context,
  2620. allowPhoto: true,
  2621. );
  2622. if (selectedMedia != null &&
  2623. selectedMedia.every((m) =>
  2624. validateFileFormat(
  2625. m.storagePath, context))) {
  2626. safeSetState(() => _model
  2627. .isDataUploading_uploadDataLogoEvenement =
  2628. true);
  2629. var selectedUploadedFiles =
  2630. <FFUploadedFile>[];
  2631. try {
  2632. selectedUploadedFiles = selectedMedia
  2633. .map((m) => FFUploadedFile(
  2634. name: m.storagePath
  2635. .split('/')
  2636. .last,
  2637. bytes: m.bytes,
  2638. height: m.dimensions?.height,
  2639. width: m.dimensions?.width,
  2640. blurHash: m.blurHash,
  2641. originalFilename:
  2642. m.originalFilename,
  2643. ))
  2644. .toList();
  2645. } finally {
  2646. _model.isDataUploading_uploadDataLogoEvenement =
  2647. false;
  2648. }
  2649. if (selectedUploadedFiles.length ==
  2650. selectedMedia.length) {
  2651. safeSetState(() {
  2652. _model.uploadedLocalFile_uploadDataLogoEvenement =
  2653. selectedUploadedFiles.first;
  2654. });
  2655. } else {
  2656. safeSetState(() {});
  2657. return;
  2658. }
  2659. }
  2660. _model.logoevenementuploadResult =
  2661. await actions.bestandUpload(
  2662. _model
  2663. .uploadedLocalFile_uploadDataLogoEvenement,
  2664. '/en/flutterdrup/bestand_upload/upload.json',
  2665. FFAppState().userSessionname,
  2666. FFAppState().userSessionid,
  2667. FFAppState().userToken,
  2668. );
  2669. if (getJsonField(
  2670. _model.logoevenementuploadResult,
  2671. r'''$.success''',
  2672. )) {
  2673. _model.createLogoFid = getJsonField(
  2674. _model.logoevenementuploadResult,
  2675. r'''$.fid''',
  2676. ).toString();
  2677. _model.createLogoUrl = getJsonField(
  2678. _model.logoevenementuploadResult,
  2679. r'''$.url''',
  2680. ).toString();
  2681. safeSetState(() {});
  2682. } else {
  2683. ScaffoldMessenger.of(context).showSnackBar(
  2684. SnackBar(
  2685. content: Text(
  2686. getJsonField(
  2687. _model.logoevenementuploadResult,
  2688. r'''$.error''',
  2689. ).toString(),
  2690. style: TextStyle(
  2691. color: FlutterFlowTheme.of(context)
  2692. .primaryText,
  2693. ),
  2694. ),
  2695. duration: Duration(milliseconds: 4000),
  2696. backgroundColor:
  2697. FlutterFlowTheme.of(context)
  2698. .secondary,
  2699. ),
  2700. );
  2701. }
  2702. safeSetState(() {});
  2703. },
  2704. text: FFLocalizations.of(context).getText(
  2705. 'df4oowbq' /* Logo kiezen */,
  2706. ),
  2707. options: FFButtonOptions(
  2708. height: 40.0,
  2709. padding: EdgeInsetsDirectional.fromSTEB(
  2710. 16.0, 0.0, 16.0, 0.0),
  2711. iconPadding: EdgeInsetsDirectional.fromSTEB(
  2712. 0.0, 0.0, 0.0, 0.0),
  2713. color: FlutterFlowTheme.of(context).secondary,
  2714. textStyle: FlutterFlowTheme.of(context)
  2715. .titleSmall
  2716. .override(
  2717. font: GoogleFonts.roboto(
  2718. fontWeight:
  2719. FlutterFlowTheme.of(context)
  2720. .titleSmall
  2721. .fontWeight,
  2722. fontStyle:
  2723. FlutterFlowTheme.of(context)
  2724. .titleSmall
  2725. .fontStyle,
  2726. ),
  2727. color: Colors.white,
  2728. letterSpacing: 0.0,
  2729. fontWeight: FlutterFlowTheme.of(context)
  2730. .titleSmall
  2731. .fontWeight,
  2732. fontStyle: FlutterFlowTheme.of(context)
  2733. .titleSmall
  2734. .fontStyle,
  2735. ),
  2736. elevation: 0.0,
  2737. borderRadius: BorderRadius.circular(8.0),
  2738. ),
  2739. ),
  2740. ),
  2741. Align(
  2742. alignment: AlignmentDirectional(-1.0, 0.0),
  2743. child: FFButtonWidget(
  2744. onPressed: () async {
  2745. _model.fotoboekOpen = !_model.fotoboekOpen;
  2746. safeSetState(() {});
  2747. },
  2748. text: FFLocalizations.of(context).getText(
  2749. 'ml0k1fmv' /* Uit fotoboek */,
  2750. ),
  2751. options: FFButtonOptions(
  2752. height: 40.0,
  2753. padding: EdgeInsetsDirectional.fromSTEB(
  2754. 16.0, 0.0, 16.0, 0.0),
  2755. iconPadding: EdgeInsetsDirectional.fromSTEB(
  2756. 0.0, 0.0, 0.0, 0.0),
  2757. color: FlutterFlowTheme.of(context).secondary,
  2758. textStyle: FlutterFlowTheme.of(context)
  2759. .titleSmall
  2760. .override(
  2761. font: GoogleFonts.roboto(
  2762. fontWeight:
  2763. FlutterFlowTheme.of(context)
  2764. .titleSmall
  2765. .fontWeight,
  2766. fontStyle:
  2767. FlutterFlowTheme.of(context)
  2768. .titleSmall
  2769. .fontStyle,
  2770. ),
  2771. color: Colors.white,
  2772. letterSpacing: 0.0,
  2773. fontWeight: FlutterFlowTheme.of(context)
  2774. .titleSmall
  2775. .fontWeight,
  2776. fontStyle: FlutterFlowTheme.of(context)
  2777. .titleSmall
  2778. .fontStyle,
  2779. ),
  2780. elevation: 0.0,
  2781. borderRadius: BorderRadius.circular(8.0),
  2782. ),
  2783. ),
  2784. ),
  2785. if (_model.createLogoUrl != null &&
  2786. _model.createLogoUrl != '')
  2787. ClipRRect(
  2788. borderRadius: BorderRadius.circular(8.0),
  2789. child: Image.network(
  2790. _model.createLogoUrl!,
  2791. width: 80.0,
  2792. height: 80.0,
  2793. fit: BoxFit.contain,
  2794. ),
  2795. ),
  2796. ],
  2797. ),
  2798. Row(
  2799. mainAxisSize: MainAxisSize.max,
  2800. children: [
  2801. if (_model.createFotosFids.length < 5)
  2802. Align(
  2803. alignment: AlignmentDirectional(-1.0, 0.0),
  2804. child: FFButtonWidget(
  2805. onPressed: () async {
  2806. final selectedMedia =
  2807. await selectMediaWithSourceBottomSheet(
  2808. context: context,
  2809. allowPhoto: true,
  2810. );
  2811. if (selectedMedia != null &&
  2812. selectedMedia.every((m) =>
  2813. validateFileFormat(
  2814. m.storagePath, context))) {
  2815. safeSetState(() => _model
  2816. .isDataUploading_uploadDataFotosEvent =
  2817. true);
  2818. var selectedUploadedFiles =
  2819. <FFUploadedFile>[];
  2820. try {
  2821. selectedUploadedFiles = selectedMedia
  2822. .map((m) => FFUploadedFile(
  2823. name: m.storagePath
  2824. .split('/')
  2825. .last,
  2826. bytes: m.bytes,
  2827. height: m.dimensions?.height,
  2828. width: m.dimensions?.width,
  2829. blurHash: m.blurHash,
  2830. originalFilename:
  2831. m.originalFilename,
  2832. ))
  2833. .toList();
  2834. } finally {
  2835. _model.isDataUploading_uploadDataFotosEvent =
  2836. false;
  2837. }
  2838. if (selectedUploadedFiles.length ==
  2839. selectedMedia.length) {
  2840. safeSetState(() {
  2841. _model.uploadedLocalFile_uploadDataFotosEvent =
  2842. selectedUploadedFiles.first;
  2843. });
  2844. } else {
  2845. safeSetState(() {});
  2846. return;
  2847. }
  2848. }
  2849. _model.fotoEvenementuploadResult =
  2850. await actions.bestandUpload(
  2851. _model
  2852. .uploadedLocalFile_uploadDataFotosEvent,
  2853. '/en/flutterdrup/bestand_upload/upload.json',
  2854. FFAppState().userSessionname,
  2855. FFAppState().userSessionid,
  2856. FFAppState().userToken,
  2857. );
  2858. if (getJsonField(
  2859. _model.fotoEvenementuploadResult,
  2860. r'''$.success''',
  2861. )) {
  2862. _model.addToCreateFotosFids(getJsonField(
  2863. _model.fotoEvenementuploadResult,
  2864. r'''$.fid''',
  2865. ).toString());
  2866. _model.addToCreateFotosUrls(getJsonField(
  2867. _model.fotoEvenementuploadResult,
  2868. r'''$.url''',
  2869. ).toString());
  2870. safeSetState(() {});
  2871. } else {
  2872. ScaffoldMessenger.of(context)
  2873. .showSnackBar(
  2874. SnackBar(
  2875. content: Text(
  2876. getJsonField(
  2877. _model.fotoEvenementuploadResult,
  2878. r'''$.error''',
  2879. ).toString(),
  2880. style: TextStyle(
  2881. color:
  2882. FlutterFlowTheme.of(context)
  2883. .primaryText,
  2884. ),
  2885. ),
  2886. duration:
  2887. Duration(milliseconds: 4000),
  2888. backgroundColor:
  2889. FlutterFlowTheme.of(context)
  2890. .secondary,
  2891. ),
  2892. );
  2893. }
  2894. safeSetState(() {});
  2895. },
  2896. text: FFLocalizations.of(context).getText(
  2897. 'hqwm9set' /* Foto's kiezen */,
  2898. ),
  2899. options: FFButtonOptions(
  2900. height: 40.0,
  2901. padding: EdgeInsetsDirectional.fromSTEB(
  2902. 16.0, 0.0, 16.0, 0.0),
  2903. iconPadding: EdgeInsetsDirectional.fromSTEB(
  2904. 0.0, 0.0, 0.0, 0.0),
  2905. color:
  2906. FlutterFlowTheme.of(context).secondary,
  2907. textStyle: FlutterFlowTheme.of(context)
  2908. .titleSmall
  2909. .override(
  2910. font: GoogleFonts.roboto(
  2911. fontWeight:
  2912. FlutterFlowTheme.of(context)
  2913. .titleSmall
  2914. .fontWeight,
  2915. fontStyle:
  2916. FlutterFlowTheme.of(context)
  2917. .titleSmall
  2918. .fontStyle,
  2919. ),
  2920. color: Colors.white,
  2921. letterSpacing: 0.0,
  2922. fontWeight:
  2923. FlutterFlowTheme.of(context)
  2924. .titleSmall
  2925. .fontWeight,
  2926. fontStyle:
  2927. FlutterFlowTheme.of(context)
  2928. .titleSmall
  2929. .fontStyle,
  2930. ),
  2931. elevation: 0.0,
  2932. borderRadius: BorderRadius.circular(8.0),
  2933. ),
  2934. ),
  2935. ),
  2936. if (_model.createFotosUrls.length > 0)
  2937. Builder(
  2938. builder: (context) {
  2939. final fotoItem =
  2940. _model.createFotosUrls.toList();
  2941. _model.debugGeneratorVariables[
  2942. 'fotoItem${fotoItem.length > 100 ? ' (first 100)' : ''}'] =
  2943. debugSerializeParam(
  2944. fotoItem.take(100),
  2945. ParamType.String,
  2946. isList: true,
  2947. link:
  2948. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  2949. name: 'String',
  2950. nullable: false,
  2951. );
  2952. debugLogWidgetClass(_model);
  2953. return Wrap(
  2954. spacing: 8.0,
  2955. runSpacing: 8.0,
  2956. alignment: WrapAlignment.start,
  2957. crossAxisAlignment:
  2958. WrapCrossAlignment.start,
  2959. direction: Axis.horizontal,
  2960. runAlignment: WrapAlignment.start,
  2961. verticalDirection: VerticalDirection.down,
  2962. clipBehavior: Clip.none,
  2963. children: List.generate(fotoItem.length,
  2964. (fotoItemIndex) {
  2965. final fotoItemItem =
  2966. fotoItem[fotoItemIndex];
  2967. return ClipRRect(
  2968. borderRadius:
  2969. BorderRadius.circular(8.0),
  2970. child: Image.network(
  2971. fotoItemItem,
  2972. width: 80.0,
  2973. height: 80.0,
  2974. fit: BoxFit.cover,
  2975. ),
  2976. );
  2977. }),
  2978. );
  2979. },
  2980. ),
  2981. ],
  2982. ),
  2983. if (_model.fotoboekOpen)
  2984. Padding(
  2985. padding: EdgeInsetsDirectional.fromSTEB(
  2986. 0.0, 12.0, 0.0, 0.0),
  2987. child: Container(
  2988. height: 300.0,
  2989. decoration: BoxDecoration(),
  2990. child: Visibility(
  2991. visible: _model.fotoboekOpen,
  2992. child: Column(
  2993. mainAxisSize: MainAxisSize.max,
  2994. children: [
  2995. Expanded(
  2996. child: FutureBuilder<ApiCallResponse>(
  2997. future: MijnFotosCall.call(
  2998. sessionName:
  2999. FFAppState().userSessionname,
  3000. sessid: FFAppState().userSessionid,
  3001. ),
  3002. builder: (context, snapshot) {
  3003. // Customize what your widget looks like when it's loading.
  3004. if (!snapshot.hasData) {
  3005. return Center(
  3006. child: SizedBox(
  3007. width: 80.0,
  3008. height: 80.0,
  3009. child: SpinKitFadingCircle(
  3010. color: FlutterFlowTheme.of(
  3011. context)
  3012. .primary,
  3013. size: 80.0,
  3014. ),
  3015. ),
  3016. );
  3017. }
  3018. final gridViewMijnFotosResponse =
  3019. snapshot.data!;
  3020. _model.debugBackendQueries[
  3021. 'MijnFotosCall_statusCode_GridView_pu3jv77b'] =
  3022. debugSerializeParam(
  3023. gridViewMijnFotosResponse
  3024. .statusCode,
  3025. ParamType.int,
  3026. link:
  3027. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  3028. name: 'int',
  3029. nullable: false,
  3030. );
  3031. _model.debugBackendQueries[
  3032. 'MijnFotosCall_responseBody_GridView_pu3jv77b'] =
  3033. debugSerializeParam(
  3034. gridViewMijnFotosResponse.bodyText,
  3035. ParamType.String,
  3036. link:
  3037. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  3038. name: 'String',
  3039. nullable: false,
  3040. );
  3041. debugLogWidgetClass(_model);
  3042. return Builder(
  3043. builder: (context) {
  3044. final fotoboekItem =
  3045. MijnFotosCall.items(
  3046. gridViewMijnFotosResponse
  3047. .jsonBody,
  3048. )?.toList() ??
  3049. [];
  3050. if (fotoboekItem.isEmpty) {
  3051. return Center(
  3052. child:
  3053. LegeLijstComponentWidget(
  3054. tekst:
  3055. 'Je hebt nog geen foto\'s. Upload er een met Logo kiezen.',
  3056. ),
  3057. );
  3058. }
  3059. _model.debugGeneratorVariables[
  3060. 'fotoboekItem${fotoboekItem.length > 100 ? ' (first 100)' : ''}'] =
  3061. debugSerializeParam(
  3062. fotoboekItem.take(100),
  3063. ParamType.JSON,
  3064. isList: true,
  3065. link:
  3066. 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=uitgaansevenementAanmaken',
  3067. name: 'dynamic',
  3068. nullable: false,
  3069. );
  3070. debugLogWidgetClass(_model);
  3071. return GridView.builder(
  3072. padding: EdgeInsets.zero,
  3073. gridDelegate:
  3074. SliverGridDelegateWithFixedCrossAxisCount(
  3075. crossAxisCount: 3,
  3076. crossAxisSpacing: 10.0,
  3077. mainAxisSpacing: 10.0,
  3078. childAspectRatio: 1.0,
  3079. ),
  3080. scrollDirection: Axis.vertical,
  3081. itemCount: fotoboekItem.length,
  3082. itemBuilder: (context,
  3083. fotoboekItemIndex) {
  3084. final fotoboekItemItem =
  3085. fotoboekItem[
  3086. fotoboekItemIndex];
  3087. return InkWell(
  3088. splashColor:
  3089. Colors.transparent,
  3090. focusColor:
  3091. Colors.transparent,
  3092. hoverColor:
  3093. Colors.transparent,
  3094. highlightColor:
  3095. Colors.transparent,
  3096. onTap: () async {
  3097. _model.createLogoFid =
  3098. getJsonField(
  3099. fotoboekItemItem,
  3100. r'''$.fid''',
  3101. ).toString();
  3102. _model.createLogoUrl =
  3103. getJsonField(
  3104. fotoboekItemItem,
  3105. r'''$.url''',
  3106. ).toString();
  3107. _model.fotoboekOpen =
  3108. false;
  3109. safeSetState(() {});
  3110. },
  3111. child: ClipRRect(
  3112. borderRadius:
  3113. BorderRadius.circular(
  3114. 8.0),
  3115. child: Image.network(
  3116. getJsonField(
  3117. fotoboekItemItem,
  3118. r'''$.thumb''',
  3119. ).toString(),
  3120. width: double.infinity,
  3121. height: double.infinity,
  3122. fit: BoxFit.cover,
  3123. ),
  3124. ),
  3125. );
  3126. },
  3127. );
  3128. },
  3129. );
  3130. },
  3131. ),
  3132. ),
  3133. ],
  3134. ),
  3135. ),
  3136. ),
  3137. ),
  3138. ],
  3139. ),
  3140. ),
  3141. if (_model.createHorecagelegenheidNid != null &&
  3142. _model.createHorecagelegenheidNid != '')
  3143. FFButtonWidget(
  3144. onPressed: () async {
  3145. _model.createResult = await actions.evenementCreate(
  3146. FFAppState().userSessionname,
  3147. FFAppState().userSessionid,
  3148. FFAppState().userToken,
  3149. _model.createHorecagelegenheidNid!,
  3150. _model.textFieldTitelTextController.text,
  3151. dateTimeFormat(
  3152. "yyyy-MM-dd HH:mm:ss",
  3153. _model.datePicked1,
  3154. locale: FFLocalizations.of(context).languageCode,
  3155. ),
  3156. dateTimeFormat(
  3157. "yyyy-MM-dd HH:mm:ss",
  3158. _model.datePicked2,
  3159. locale: FFLocalizations.of(context).languageCode,
  3160. ),
  3161. _model.textFieldOmschrijvingTextController.text,
  3162. _model.createEntreeTid,
  3163. _model.textFieldEntreeprijsTextController.text,
  3164. _model.textFieldToelichtingEntreeTextController.text,
  3165. _model.textFieldTicketsURLTextController.text,
  3166. _model.textFieldWebsiteURLTextController.text,
  3167. _model.createCategorieTids.toList(),
  3168. _model.createLogoFid,
  3169. _model.createFotosFids.toList(),
  3170. );
  3171. if (getJsonField(
  3172. _model.createResult,
  3173. r'''$.success''',
  3174. )) {
  3175. ScaffoldMessenger.of(context).showSnackBar(
  3176. SnackBar(
  3177. content: Text(
  3178. 'Je evenement is geplaatst.',
  3179. style: TextStyle(
  3180. color:
  3181. FlutterFlowTheme.of(context).primaryText,
  3182. ),
  3183. ),
  3184. duration: Duration(milliseconds: 5000),
  3185. backgroundColor:
  3186. FlutterFlowTheme.of(context).secondary,
  3187. ),
  3188. );
  3189. context.safePop();
  3190. } else {
  3191. ScaffoldMessenger.of(context).showSnackBar(
  3192. SnackBar(
  3193. content: Text(
  3194. getJsonField(
  3195. _model.createResult,
  3196. r'''$.error''',
  3197. ).toString(),
  3198. style: TextStyle(
  3199. color:
  3200. FlutterFlowTheme.of(context).primaryText,
  3201. ),
  3202. ),
  3203. duration: Duration(milliseconds: 4000),
  3204. backgroundColor:
  3205. FlutterFlowTheme.of(context).secondary,
  3206. ),
  3207. );
  3208. }
  3209. safeSetState(() {});
  3210. },
  3211. text: FFLocalizations.of(context).getText(
  3212. '9qx16tm9' /* Evenement indienen */,
  3213. ),
  3214. options: FFButtonOptions(
  3215. height: 40.0,
  3216. padding: EdgeInsetsDirectional.fromSTEB(
  3217. 16.0, 0.0, 16.0, 0.0),
  3218. iconPadding:
  3219. EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
  3220. color: FlutterFlowTheme.of(context).secondary,
  3221. textStyle:
  3222. FlutterFlowTheme.of(context).titleSmall.override(
  3223. font: GoogleFonts.roboto(
  3224. fontWeight: FlutterFlowTheme.of(context)
  3225. .titleSmall
  3226. .fontWeight,
  3227. fontStyle: FlutterFlowTheme.of(context)
  3228. .titleSmall
  3229. .fontStyle,
  3230. ),
  3231. color: Colors.white,
  3232. letterSpacing: 0.0,
  3233. fontWeight: FlutterFlowTheme.of(context)
  3234. .titleSmall
  3235. .fontWeight,
  3236. fontStyle: FlutterFlowTheme.of(context)
  3237. .titleSmall
  3238. .fontStyle,
  3239. ),
  3240. elevation: 0.0,
  3241. borderRadius: BorderRadius.circular(8.0),
  3242. ),
  3243. ),
  3244. ],
  3245. ),
  3246. ),
  3247. ),
  3248. ),
  3249. ),
  3250. );
  3251. }
  3252. }