drawer_component_widget.dart 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466
  1. import '/flutter_flow/flutter_flow_theme.dart';
  2. import '/flutter_flow/flutter_flow_util.dart';
  3. import '/flutter_flow/flutter_flow_widgets.dart';
  4. import 'dart:ui';
  5. import '/flutter_flow/custom_functions.dart' as functions;
  6. import '/index.dart';
  7. import 'package:flutter/material.dart';
  8. import 'package:flutter_spinkit/flutter_spinkit.dart';
  9. import 'package:font_awesome_flutter/font_awesome_flutter.dart';
  10. import 'package:google_fonts/google_fonts.dart';
  11. import 'package:provider/provider.dart';
  12. import 'drawer_component_model.dart';
  13. export 'drawer_component_model.dart';
  14. class DrawerComponentWidget extends StatefulWidget {
  15. const DrawerComponentWidget({super.key});
  16. @override
  17. State<DrawerComponentWidget> createState() => _DrawerComponentWidgetState();
  18. }
  19. class _DrawerComponentWidgetState extends State<DrawerComponentWidget>
  20. with RouteAware {
  21. late DrawerComponentModel _model;
  22. @override
  23. void setState(VoidCallback callback) {
  24. super.setState(callback);
  25. _model.onUpdate();
  26. }
  27. @override
  28. void initState() {
  29. super.initState();
  30. _model = createModel(context, () => DrawerComponentModel());
  31. }
  32. @override
  33. void dispose() {
  34. routeObserver.unsubscribe(this);
  35. _model.maybeDispose();
  36. super.dispose();
  37. }
  38. @override
  39. void didUpdateWidget(DrawerComponentWidget oldWidget) {
  40. super.didUpdateWidget(oldWidget);
  41. _model.widget = widget;
  42. }
  43. @override
  44. void didChangeDependencies() {
  45. super.didChangeDependencies();
  46. final route = DebugModalRoute.of(context);
  47. if (route != null) {
  48. routeObserver.subscribe(this, route);
  49. }
  50. debugLogGlobalProperty(context);
  51. }
  52. @override
  53. void didPopNext() {
  54. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  55. setState(() => _model.isRouteVisible = true);
  56. debugLogWidgetClass(_model);
  57. }
  58. }
  59. @override
  60. void didPush() {
  61. if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
  62. setState(() => _model.isRouteVisible = true);
  63. debugLogWidgetClass(_model);
  64. }
  65. }
  66. @override
  67. void didPop() {
  68. _model.isRouteVisible = false;
  69. }
  70. @override
  71. void didPushNext() {
  72. _model.isRouteVisible = false;
  73. }
  74. @override
  75. Widget build(BuildContext context) {
  76. DebugFlutterFlowModelContext.maybeOf(context)
  77. ?.parentModelCallback
  78. ?.call(_model);
  79. context.watch<FFAppState>();
  80. return SingleChildScrollView(
  81. child: Column(
  82. mainAxisSize: MainAxisSize.max,
  83. crossAxisAlignment: CrossAxisAlignment.start,
  84. children: [
  85. Row(
  86. mainAxisSize: MainAxisSize.min,
  87. children: [
  88. Expanded(
  89. child: Padding(
  90. padding: EdgeInsetsDirectional.fromSTEB(0.0, 8.0, 0.0, 5.0),
  91. child: ClipRRect(
  92. borderRadius: BorderRadius.circular(8.0),
  93. child: Image.asset(
  94. 'assets/images/logo800px.png',
  95. width: 300.0,
  96. height: 42.0,
  97. fit: BoxFit.contain,
  98. alignment: Alignment(0.0, 0.0),
  99. ),
  100. ),
  101. ),
  102. ),
  103. ],
  104. ),
  105. Container(
  106. decoration: BoxDecoration(),
  107. child: Column(
  108. mainAxisSize: MainAxisSize.max,
  109. children: [
  110. InkWell(
  111. splashColor: Colors.transparent,
  112. focusColor: Colors.transparent,
  113. hoverColor: Colors.transparent,
  114. highlightColor: Colors.transparent,
  115. onTap: () async {
  116. context.pushNamed(SelectprovinciegemeenteWidget.routeName);
  117. },
  118. child: Material(
  119. color: Colors.transparent,
  120. child: ListTile(
  121. leading: Icon(
  122. Icons.holiday_village_sharp,
  123. size: 24.0,
  124. ),
  125. title: Text(
  126. FFLocalizations.of(context).getText(
  127. 'j0ompw01' /* Zoek stad */,
  128. ),
  129. style: FlutterFlowTheme.of(context).titleLarge.override(
  130. font: GoogleFonts.roboto(
  131. fontWeight: FlutterFlowTheme.of(context)
  132. .titleLarge
  133. .fontWeight,
  134. fontStyle: FlutterFlowTheme.of(context)
  135. .titleLarge
  136. .fontStyle,
  137. ),
  138. letterSpacing: 0.0,
  139. fontWeight: FlutterFlowTheme.of(context)
  140. .titleLarge
  141. .fontWeight,
  142. fontStyle: FlutterFlowTheme.of(context)
  143. .titleLarge
  144. .fontStyle,
  145. ),
  146. ),
  147. trailing: Icon(
  148. Icons.arrow_forward_ios_rounded,
  149. color: FlutterFlowTheme.of(context).secondaryText,
  150. size: 14.0,
  151. ),
  152. tileColor:
  153. FlutterFlowTheme.of(context).secondaryBackground,
  154. dense: true,
  155. contentPadding:
  156. EdgeInsetsDirectional.fromSTEB(12.0, 0.0, 12.0, 0.0),
  157. shape: RoundedRectangleBorder(
  158. borderRadius: BorderRadius.circular(8.0),
  159. ),
  160. ),
  161. ),
  162. ),
  163. Padding(
  164. padding: EdgeInsetsDirectional.fromSTEB(0.0, 5.0, 0.0, 0.0),
  165. child: InkWell(
  166. splashColor: Colors.transparent,
  167. focusColor: Colors.transparent,
  168. hoverColor: Colors.transparent,
  169. highlightColor: Colors.transparent,
  170. onTap: () async {
  171. context.pushNamed(HomeWidget.routeName);
  172. },
  173. child: Material(
  174. color: Colors.transparent,
  175. child: ListTile(
  176. leading: Icon(
  177. Icons.home,
  178. ),
  179. title: Text(
  180. FFLocalizations.of(context).getText(
  181. '5xqi2sto' /* Home */,
  182. ),
  183. style:
  184. FlutterFlowTheme.of(context).titleLarge.override(
  185. font: GoogleFonts.roboto(
  186. fontWeight: FlutterFlowTheme.of(context)
  187. .titleLarge
  188. .fontWeight,
  189. fontStyle: FlutterFlowTheme.of(context)
  190. .titleLarge
  191. .fontStyle,
  192. ),
  193. letterSpacing: 0.0,
  194. fontWeight: FlutterFlowTheme.of(context)
  195. .titleLarge
  196. .fontWeight,
  197. fontStyle: FlutterFlowTheme.of(context)
  198. .titleLarge
  199. .fontStyle,
  200. ),
  201. ),
  202. trailing: Icon(
  203. Icons.arrow_forward_ios_rounded,
  204. color: FlutterFlowTheme.of(context).secondaryText,
  205. size: 20.0,
  206. ),
  207. tileColor:
  208. FlutterFlowTheme.of(context).secondaryBackground,
  209. dense: true,
  210. contentPadding: EdgeInsetsDirectional.fromSTEB(
  211. 12.0, 0.0, 12.0, 0.0),
  212. shape: RoundedRectangleBorder(
  213. borderRadius: BorderRadius.circular(8.0),
  214. ),
  215. ),
  216. ),
  217. ),
  218. ),
  219. Padding(
  220. padding: EdgeInsetsDirectional.fromSTEB(0.0, 5.0, 0.0, 0.0),
  221. child: InkWell(
  222. splashColor: Colors.transparent,
  223. focusColor: Colors.transparent,
  224. hoverColor: Colors.transparent,
  225. highlightColor: Colors.transparent,
  226. onTap: () async {
  227. context.pushNamed(FavorietenWidget.routeName);
  228. },
  229. child: Material(
  230. color: Colors.transparent,
  231. child: ListTile(
  232. leading: Icon(
  233. Icons.favorite_border,
  234. ),
  235. title: Text(
  236. FFLocalizations.of(context).getText(
  237. '7pacsyhe' /* Favorieten */,
  238. ),
  239. style:
  240. FlutterFlowTheme.of(context).titleLarge.override(
  241. font: GoogleFonts.roboto(
  242. fontWeight: FlutterFlowTheme.of(context)
  243. .titleLarge
  244. .fontWeight,
  245. fontStyle: FlutterFlowTheme.of(context)
  246. .titleLarge
  247. .fontStyle,
  248. ),
  249. letterSpacing: 0.0,
  250. fontWeight: FlutterFlowTheme.of(context)
  251. .titleLarge
  252. .fontWeight,
  253. fontStyle: FlutterFlowTheme.of(context)
  254. .titleLarge
  255. .fontStyle,
  256. ),
  257. ),
  258. trailing: Icon(
  259. Icons.arrow_forward_ios_rounded,
  260. color: FlutterFlowTheme.of(context).secondaryText,
  261. size: 20.0,
  262. ),
  263. tileColor:
  264. FlutterFlowTheme.of(context).secondaryBackground,
  265. dense: true,
  266. contentPadding: EdgeInsetsDirectional.fromSTEB(
  267. 12.0, 0.0, 12.0, 0.0),
  268. shape: RoundedRectangleBorder(
  269. borderRadius: BorderRadius.circular(8.0),
  270. ),
  271. ),
  272. ),
  273. ),
  274. ),
  275. Padding(
  276. padding: EdgeInsetsDirectional.fromSTEB(0.0, 5.0, 0.0, 0.0),
  277. child: Material(
  278. color: Colors.transparent,
  279. child: ListTile(
  280. leading: Icon(
  281. Icons.house,
  282. ),
  283. title: Text(
  284. FFLocalizations.of(context).getText(
  285. 'qoszyexg' /* Gemeente */,
  286. ),
  287. style: FlutterFlowTheme.of(context)
  288. .headlineMedium
  289. .override(
  290. font: GoogleFonts.notoSerif(
  291. fontWeight: FlutterFlowTheme.of(context)
  292. .headlineMedium
  293. .fontWeight,
  294. fontStyle: FlutterFlowTheme.of(context)
  295. .headlineMedium
  296. .fontStyle,
  297. ),
  298. letterSpacing: 0.0,
  299. fontWeight: FlutterFlowTheme.of(context)
  300. .headlineMedium
  301. .fontWeight,
  302. fontStyle: FlutterFlowTheme.of(context)
  303. .headlineMedium
  304. .fontStyle,
  305. ),
  306. ),
  307. trailing: Icon(
  308. Icons.arrow_forward_ios_rounded,
  309. color: FlutterFlowTheme.of(context).secondaryText,
  310. size: 24.0,
  311. ),
  312. tileColor:
  313. FlutterFlowTheme.of(context).secondaryBackground,
  314. dense: true,
  315. contentPadding:
  316. EdgeInsetsDirectional.fromSTEB(12.0, 0.0, 12.0, 0.0),
  317. shape: RoundedRectangleBorder(
  318. borderRadius: BorderRadius.circular(8.0),
  319. ),
  320. ),
  321. ),
  322. ),
  323. Padding(
  324. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  325. child: InkWell(
  326. splashColor: Colors.transparent,
  327. focusColor: Colors.transparent,
  328. hoverColor: Colors.transparent,
  329. highlightColor: Colors.transparent,
  330. onTap: () async {
  331. context.pushNamed(
  332. PUitgaanPageWidget.routeName,
  333. queryParameters: {
  334. 'plaats': serializeParam(
  335. FFAppState().gemeenteSelectId,
  336. ParamType.String,
  337. ),
  338. 'services': serializeParam(
  339. 'services_3',
  340. ParamType.String,
  341. ),
  342. }.withoutNulls,
  343. );
  344. },
  345. child: Material(
  346. color: Colors.transparent,
  347. child: ListTile(
  348. leading: Icon(
  349. Icons.music_note_outlined,
  350. ),
  351. title: Text(
  352. FFLocalizations.of(context).getText(
  353. 'f2xucb65' /* Uitgaan */,
  354. ),
  355. style:
  356. FlutterFlowTheme.of(context).titleMedium.override(
  357. font: GoogleFonts.roboto(
  358. fontWeight: FlutterFlowTheme.of(context)
  359. .titleMedium
  360. .fontWeight,
  361. fontStyle: FlutterFlowTheme.of(context)
  362. .titleMedium
  363. .fontStyle,
  364. ),
  365. letterSpacing: 0.0,
  366. fontWeight: FlutterFlowTheme.of(context)
  367. .titleMedium
  368. .fontWeight,
  369. fontStyle: FlutterFlowTheme.of(context)
  370. .titleMedium
  371. .fontStyle,
  372. ),
  373. ),
  374. trailing: Icon(
  375. Icons.arrow_forward_ios_rounded,
  376. color: FlutterFlowTheme.of(context).secondaryText,
  377. size: 24.0,
  378. ),
  379. tileColor:
  380. FlutterFlowTheme.of(context).secondaryBackground,
  381. dense: true,
  382. contentPadding: EdgeInsetsDirectional.fromSTEB(
  383. 12.0, 0.0, 12.0, 0.0),
  384. shape: RoundedRectangleBorder(
  385. borderRadius: BorderRadius.circular(8.0),
  386. ),
  387. ),
  388. ),
  389. ),
  390. ),
  391. Padding(
  392. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  393. child: InkWell(
  394. splashColor: Colors.transparent,
  395. focusColor: Colors.transparent,
  396. hoverColor: Colors.transparent,
  397. highlightColor: Colors.transparent,
  398. onTap: () async {
  399. context.pushNamed(
  400. PUitgaanPageWidget.routeName,
  401. queryParameters: {
  402. 'plaats': serializeParam(
  403. FFAppState().gemeenteSelectId,
  404. ParamType.String,
  405. ),
  406. 'services': serializeParam(
  407. 'services_4',
  408. ParamType.String,
  409. ),
  410. }.withoutNulls,
  411. );
  412. },
  413. child: Material(
  414. color: Colors.transparent,
  415. child: ListTile(
  416. leading: FaIcon(
  417. FontAwesomeIcons.flagCheckered,
  418. ),
  419. title: Text(
  420. FFLocalizations.of(context).getText(
  421. 'aco5j6v5' /* Activiteiten */,
  422. ),
  423. style:
  424. FlutterFlowTheme.of(context).titleMedium.override(
  425. font: GoogleFonts.roboto(
  426. fontWeight: FlutterFlowTheme.of(context)
  427. .titleMedium
  428. .fontWeight,
  429. fontStyle: FlutterFlowTheme.of(context)
  430. .titleMedium
  431. .fontStyle,
  432. ),
  433. letterSpacing: 0.0,
  434. fontWeight: FlutterFlowTheme.of(context)
  435. .titleMedium
  436. .fontWeight,
  437. fontStyle: FlutterFlowTheme.of(context)
  438. .titleMedium
  439. .fontStyle,
  440. ),
  441. ),
  442. trailing: Icon(
  443. Icons.arrow_forward_ios_rounded,
  444. color: FlutterFlowTheme.of(context).secondaryText,
  445. size: 24.0,
  446. ),
  447. tileColor:
  448. FlutterFlowTheme.of(context).secondaryBackground,
  449. dense: true,
  450. contentPadding: EdgeInsetsDirectional.fromSTEB(
  451. 12.0, 0.0, 12.0, 0.0),
  452. shape: RoundedRectangleBorder(
  453. borderRadius: BorderRadius.circular(8.0),
  454. ),
  455. ),
  456. ),
  457. ),
  458. ),
  459. Padding(
  460. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  461. child: InkWell(
  462. splashColor: Colors.transparent,
  463. focusColor: Colors.transparent,
  464. hoverColor: Colors.transparent,
  465. highlightColor: Colors.transparent,
  466. onTap: () async {
  467. context.pushNamed(
  468. PUitgaanPageWidget.routeName,
  469. queryParameters: {
  470. 'plaats': serializeParam(
  471. FFAppState().gemeenteSelectId,
  472. ParamType.String,
  473. ),
  474. 'services': serializeParam(
  475. 'services_5',
  476. ParamType.String,
  477. ),
  478. }.withoutNulls,
  479. );
  480. },
  481. child: Material(
  482. color: Colors.transparent,
  483. child: ListTile(
  484. leading: Icon(
  485. Icons.theater_comedy,
  486. ),
  487. title: Text(
  488. FFLocalizations.of(context).getText(
  489. 'u6kma8y1' /* Cultuur */,
  490. ),
  491. style:
  492. FlutterFlowTheme.of(context).titleMedium.override(
  493. font: GoogleFonts.roboto(
  494. fontWeight: FlutterFlowTheme.of(context)
  495. .titleMedium
  496. .fontWeight,
  497. fontStyle: FlutterFlowTheme.of(context)
  498. .titleMedium
  499. .fontStyle,
  500. ),
  501. letterSpacing: 0.0,
  502. fontWeight: FlutterFlowTheme.of(context)
  503. .titleMedium
  504. .fontWeight,
  505. fontStyle: FlutterFlowTheme.of(context)
  506. .titleMedium
  507. .fontStyle,
  508. ),
  509. ),
  510. trailing: Icon(
  511. Icons.arrow_forward_ios_rounded,
  512. color: FlutterFlowTheme.of(context).secondaryText,
  513. size: 24.0,
  514. ),
  515. tileColor:
  516. FlutterFlowTheme.of(context).secondaryBackground,
  517. dense: true,
  518. contentPadding: EdgeInsetsDirectional.fromSTEB(
  519. 12.0, 0.0, 12.0, 0.0),
  520. shape: RoundedRectangleBorder(
  521. borderRadius: BorderRadius.circular(8.0),
  522. ),
  523. ),
  524. ),
  525. ),
  526. ),
  527. Padding(
  528. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  529. child: InkWell(
  530. splashColor: Colors.transparent,
  531. focusColor: Colors.transparent,
  532. hoverColor: Colors.transparent,
  533. highlightColor: Colors.transparent,
  534. onTap: () async {
  535. context.pushNamed(
  536. PUitgaanPageWidget.routeName,
  537. queryParameters: {
  538. 'plaats': serializeParam(
  539. FFAppState().gemeenteSelectId,
  540. ParamType.String,
  541. ),
  542. 'services': serializeParam(
  543. 'services_6',
  544. ParamType.String,
  545. ),
  546. }.withoutNulls,
  547. );
  548. },
  549. child: Material(
  550. color: Colors.transparent,
  551. child: ListTile(
  552. leading: Icon(
  553. Icons.movie_outlined,
  554. ),
  555. title: Text(
  556. FFLocalizations.of(context).getText(
  557. 'hpm7mxhj' /* Films */,
  558. ),
  559. style:
  560. FlutterFlowTheme.of(context).titleLarge.override(
  561. font: GoogleFonts.roboto(
  562. fontWeight: FlutterFlowTheme.of(context)
  563. .titleLarge
  564. .fontWeight,
  565. fontStyle: FlutterFlowTheme.of(context)
  566. .titleLarge
  567. .fontStyle,
  568. ),
  569. letterSpacing: 0.0,
  570. fontWeight: FlutterFlowTheme.of(context)
  571. .titleLarge
  572. .fontWeight,
  573. fontStyle: FlutterFlowTheme.of(context)
  574. .titleLarge
  575. .fontStyle,
  576. ),
  577. ),
  578. trailing: Icon(
  579. Icons.arrow_forward_ios_rounded,
  580. color: FlutterFlowTheme.of(context).secondaryText,
  581. size: 24.0,
  582. ),
  583. tileColor:
  584. FlutterFlowTheme.of(context).secondaryBackground,
  585. dense: true,
  586. contentPadding: EdgeInsetsDirectional.fromSTEB(
  587. 12.0, 0.0, 12.0, 0.0),
  588. shape: RoundedRectangleBorder(
  589. borderRadius: BorderRadius.circular(8.0),
  590. ),
  591. ),
  592. ),
  593. ),
  594. ),
  595. Padding(
  596. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  597. child: InkWell(
  598. splashColor: Colors.transparent,
  599. focusColor: Colors.transparent,
  600. hoverColor: Colors.transparent,
  601. highlightColor: Colors.transparent,
  602. onTap: () async {
  603. context.pushNamed(
  604. PUitgaanPageWidget.routeName,
  605. queryParameters: {
  606. 'plaats': serializeParam(
  607. FFAppState().gemeenteSelectId,
  608. ParamType.String,
  609. ),
  610. 'services': serializeParam(
  611. 'services_7',
  612. ParamType.String,
  613. ),
  614. }.withoutNulls,
  615. );
  616. },
  617. child: Material(
  618. color: Colors.transparent,
  619. child: ListTile(
  620. leading: Icon(
  621. Icons.emoji_people,
  622. ),
  623. title: Text(
  624. FFLocalizations.of(context).getText(
  625. 'clxcjmfh' /* Jeugd */,
  626. ),
  627. style:
  628. FlutterFlowTheme.of(context).titleLarge.override(
  629. font: GoogleFonts.roboto(
  630. fontWeight: FlutterFlowTheme.of(context)
  631. .titleLarge
  632. .fontWeight,
  633. fontStyle: FlutterFlowTheme.of(context)
  634. .titleLarge
  635. .fontStyle,
  636. ),
  637. letterSpacing: 0.0,
  638. fontWeight: FlutterFlowTheme.of(context)
  639. .titleLarge
  640. .fontWeight,
  641. fontStyle: FlutterFlowTheme.of(context)
  642. .titleLarge
  643. .fontStyle,
  644. ),
  645. ),
  646. trailing: Icon(
  647. Icons.arrow_forward_ios_rounded,
  648. color: FlutterFlowTheme.of(context).secondaryText,
  649. size: 24.0,
  650. ),
  651. tileColor:
  652. FlutterFlowTheme.of(context).secondaryBackground,
  653. dense: true,
  654. contentPadding: EdgeInsetsDirectional.fromSTEB(
  655. 12.0, 0.0, 12.0, 0.0),
  656. shape: RoundedRectangleBorder(
  657. borderRadius: BorderRadius.circular(8.0),
  658. ),
  659. ),
  660. ),
  661. ),
  662. ),
  663. Padding(
  664. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  665. child: InkWell(
  666. splashColor: Colors.transparent,
  667. focusColor: Colors.transparent,
  668. hoverColor: Colors.transparent,
  669. highlightColor: Colors.transparent,
  670. onTap: () async {
  671. context.pushNamed(
  672. HorecagelegenhedenOverzichtCurrentWidget.routeName,
  673. queryParameters: {
  674. 'plaats': serializeParam(
  675. FFAppState().gemeenteSelectId,
  676. ParamType.String,
  677. ),
  678. }.withoutNulls,
  679. );
  680. },
  681. child: Material(
  682. color: Colors.transparent,
  683. child: ListTile(
  684. leading: Icon(
  685. Icons.restaurant_sharp,
  686. ),
  687. title: Text(
  688. FFLocalizations.of(context).getText(
  689. 'mk70rozo' /* Horeca */,
  690. ),
  691. style:
  692. FlutterFlowTheme.of(context).titleLarge.override(
  693. font: GoogleFonts.roboto(
  694. fontWeight: FlutterFlowTheme.of(context)
  695. .titleLarge
  696. .fontWeight,
  697. fontStyle: FlutterFlowTheme.of(context)
  698. .titleLarge
  699. .fontStyle,
  700. ),
  701. letterSpacing: 0.0,
  702. fontWeight: FlutterFlowTheme.of(context)
  703. .titleLarge
  704. .fontWeight,
  705. fontStyle: FlutterFlowTheme.of(context)
  706. .titleLarge
  707. .fontStyle,
  708. ),
  709. ),
  710. trailing: Icon(
  711. Icons.arrow_forward_ios_rounded,
  712. color: FlutterFlowTheme.of(context).secondaryText,
  713. size: 24.0,
  714. ),
  715. tileColor:
  716. FlutterFlowTheme.of(context).secondaryBackground,
  717. dense: true,
  718. contentPadding: EdgeInsetsDirectional.fromSTEB(
  719. 12.0, 0.0, 12.0, 0.0),
  720. shape: RoundedRectangleBorder(
  721. borderRadius: BorderRadius.circular(8.0),
  722. ),
  723. ),
  724. ),
  725. ),
  726. ),
  727. Padding(
  728. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  729. child: InkWell(
  730. splashColor: Colors.transparent,
  731. focusColor: Colors.transparent,
  732. hoverColor: Colors.transparent,
  733. highlightColor: Colors.transparent,
  734. onTap: () async {
  735. context.pushNamed(
  736. ThuisBezorgenWidget.routeName,
  737. queryParameters: {
  738. 'plaats': serializeParam(
  739. FFAppState().gemeenteSelectId,
  740. ParamType.String,
  741. ),
  742. }.withoutNulls,
  743. );
  744. },
  745. child: Material(
  746. color: Colors.transparent,
  747. child: ListTile(
  748. leading: Icon(
  749. Icons.delivery_dining,
  750. ),
  751. title: Text(
  752. FFLocalizations.of(context).getText(
  753. 't46xiboh' /* Thuis bezorgen */,
  754. ),
  755. style:
  756. FlutterFlowTheme.of(context).titleLarge.override(
  757. font: GoogleFonts.roboto(
  758. fontWeight: FlutterFlowTheme.of(context)
  759. .titleLarge
  760. .fontWeight,
  761. fontStyle: FlutterFlowTheme.of(context)
  762. .titleLarge
  763. .fontStyle,
  764. ),
  765. letterSpacing: 0.0,
  766. fontWeight: FlutterFlowTheme.of(context)
  767. .titleLarge
  768. .fontWeight,
  769. fontStyle: FlutterFlowTheme.of(context)
  770. .titleLarge
  771. .fontStyle,
  772. ),
  773. ),
  774. trailing: Icon(
  775. Icons.arrow_forward_ios_rounded,
  776. color: FlutterFlowTheme.of(context).secondaryText,
  777. size: 24.0,
  778. ),
  779. tileColor:
  780. FlutterFlowTheme.of(context).secondaryBackground,
  781. dense: false,
  782. contentPadding: EdgeInsetsDirectional.fromSTEB(
  783. 12.0, 0.0, 12.0, 0.0),
  784. shape: RoundedRectangleBorder(
  785. borderRadius: BorderRadius.circular(8.0),
  786. ),
  787. ),
  788. ),
  789. ),
  790. ),
  791. Padding(
  792. padding: EdgeInsetsDirectional.fromSTEB(0.0, 5.0, 0.0, 0.0),
  793. child: Material(
  794. color: Colors.transparent,
  795. child: ListTile(
  796. leading: Icon(
  797. Icons.castle,
  798. ),
  799. title: Text(
  800. FFLocalizations.of(context).getText(
  801. '4u9vsobq' /* Provincie */,
  802. ),
  803. style: FlutterFlowTheme.of(context)
  804. .headlineMedium
  805. .override(
  806. font: GoogleFonts.notoSerif(
  807. fontWeight: FlutterFlowTheme.of(context)
  808. .headlineMedium
  809. .fontWeight,
  810. fontStyle: FlutterFlowTheme.of(context)
  811. .headlineMedium
  812. .fontStyle,
  813. ),
  814. letterSpacing: 0.0,
  815. fontWeight: FlutterFlowTheme.of(context)
  816. .headlineMedium
  817. .fontWeight,
  818. fontStyle: FlutterFlowTheme.of(context)
  819. .headlineMedium
  820. .fontStyle,
  821. ),
  822. ),
  823. trailing: Icon(
  824. Icons.arrow_forward_ios_rounded,
  825. color: FlutterFlowTheme.of(context).secondaryText,
  826. size: 24.0,
  827. ),
  828. tileColor:
  829. FlutterFlowTheme.of(context).secondaryBackground,
  830. dense: true,
  831. contentPadding:
  832. EdgeInsetsDirectional.fromSTEB(12.0, 0.0, 12.0, 0.0),
  833. shape: RoundedRectangleBorder(
  834. borderRadius: BorderRadius.circular(8.0),
  835. ),
  836. ),
  837. ),
  838. ),
  839. Padding(
  840. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  841. child: InkWell(
  842. splashColor: Colors.transparent,
  843. focusColor: Colors.transparent,
  844. hoverColor: Colors.transparent,
  845. highlightColor: Colors.transparent,
  846. onTap: () async {
  847. context.pushNamed(
  848. PUitgaanPageWidget.routeName,
  849. queryParameters: {
  850. 'plaats': serializeParam(
  851. FFAppState().provincieSelectId,
  852. ParamType.String,
  853. ),
  854. 'services': serializeParam(
  855. 'services_3',
  856. ParamType.String,
  857. ),
  858. }.withoutNulls,
  859. );
  860. },
  861. child: Material(
  862. color: Colors.transparent,
  863. child: ListTile(
  864. leading: Icon(
  865. Icons.music_note_outlined,
  866. ),
  867. title: Text(
  868. FFLocalizations.of(context).getText(
  869. '8luezemw' /* Uitgaan */,
  870. ),
  871. style:
  872. FlutterFlowTheme.of(context).titleMedium.override(
  873. font: GoogleFonts.roboto(
  874. fontWeight: FlutterFlowTheme.of(context)
  875. .titleMedium
  876. .fontWeight,
  877. fontStyle: FlutterFlowTheme.of(context)
  878. .titleMedium
  879. .fontStyle,
  880. ),
  881. letterSpacing: 0.0,
  882. fontWeight: FlutterFlowTheme.of(context)
  883. .titleMedium
  884. .fontWeight,
  885. fontStyle: FlutterFlowTheme.of(context)
  886. .titleMedium
  887. .fontStyle,
  888. ),
  889. ),
  890. trailing: Icon(
  891. Icons.arrow_forward_ios_rounded,
  892. color: FlutterFlowTheme.of(context).secondaryText,
  893. size: 24.0,
  894. ),
  895. tileColor:
  896. FlutterFlowTheme.of(context).secondaryBackground,
  897. dense: true,
  898. contentPadding: EdgeInsetsDirectional.fromSTEB(
  899. 12.0, 0.0, 12.0, 0.0),
  900. shape: RoundedRectangleBorder(
  901. borderRadius: BorderRadius.circular(8.0),
  902. ),
  903. ),
  904. ),
  905. ),
  906. ),
  907. Padding(
  908. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  909. child: InkWell(
  910. splashColor: Colors.transparent,
  911. focusColor: Colors.transparent,
  912. hoverColor: Colors.transparent,
  913. highlightColor: Colors.transparent,
  914. onTap: () async {
  915. context.pushNamed(
  916. PUitgaanPageWidget.routeName,
  917. queryParameters: {
  918. 'plaats': serializeParam(
  919. FFAppState().provincieSelectId,
  920. ParamType.String,
  921. ),
  922. 'services': serializeParam(
  923. 'services_4',
  924. ParamType.String,
  925. ),
  926. }.withoutNulls,
  927. );
  928. },
  929. child: Material(
  930. color: Colors.transparent,
  931. child: ListTile(
  932. leading: Icon(
  933. Icons.sports_score,
  934. ),
  935. title: Text(
  936. FFLocalizations.of(context).getText(
  937. 'rb8etfad' /* Activiteiten */,
  938. ),
  939. style:
  940. FlutterFlowTheme.of(context).titleMedium.override(
  941. font: GoogleFonts.roboto(
  942. fontWeight: FlutterFlowTheme.of(context)
  943. .titleMedium
  944. .fontWeight,
  945. fontStyle: FlutterFlowTheme.of(context)
  946. .titleMedium
  947. .fontStyle,
  948. ),
  949. letterSpacing: 0.0,
  950. fontWeight: FlutterFlowTheme.of(context)
  951. .titleMedium
  952. .fontWeight,
  953. fontStyle: FlutterFlowTheme.of(context)
  954. .titleMedium
  955. .fontStyle,
  956. ),
  957. ),
  958. trailing: Icon(
  959. Icons.arrow_forward_ios_rounded,
  960. color: FlutterFlowTheme.of(context).secondaryText,
  961. size: 24.0,
  962. ),
  963. tileColor:
  964. FlutterFlowTheme.of(context).secondaryBackground,
  965. dense: true,
  966. contentPadding: EdgeInsetsDirectional.fromSTEB(
  967. 12.0, 0.0, 12.0, 0.0),
  968. shape: RoundedRectangleBorder(
  969. borderRadius: BorderRadius.circular(8.0),
  970. ),
  971. ),
  972. ),
  973. ),
  974. ),
  975. Padding(
  976. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  977. child: InkWell(
  978. splashColor: Colors.transparent,
  979. focusColor: Colors.transparent,
  980. hoverColor: Colors.transparent,
  981. highlightColor: Colors.transparent,
  982. onTap: () async {
  983. context.pushNamed(
  984. PUitgaanPageWidget.routeName,
  985. queryParameters: {
  986. 'plaats': serializeParam(
  987. FFAppState().provincieSelectId,
  988. ParamType.String,
  989. ),
  990. 'services': serializeParam(
  991. 'services_5',
  992. ParamType.String,
  993. ),
  994. }.withoutNulls,
  995. );
  996. },
  997. child: Material(
  998. color: Colors.transparent,
  999. child: ListTile(
  1000. leading: Icon(
  1001. Icons.theater_comedy,
  1002. ),
  1003. title: Text(
  1004. FFLocalizations.of(context).getText(
  1005. 'l4upasn8' /* Cultuur */,
  1006. ),
  1007. style:
  1008. FlutterFlowTheme.of(context).titleMedium.override(
  1009. font: GoogleFonts.roboto(
  1010. fontWeight: FlutterFlowTheme.of(context)
  1011. .titleMedium
  1012. .fontWeight,
  1013. fontStyle: FlutterFlowTheme.of(context)
  1014. .titleMedium
  1015. .fontStyle,
  1016. ),
  1017. letterSpacing: 0.0,
  1018. fontWeight: FlutterFlowTheme.of(context)
  1019. .titleMedium
  1020. .fontWeight,
  1021. fontStyle: FlutterFlowTheme.of(context)
  1022. .titleMedium
  1023. .fontStyle,
  1024. ),
  1025. ),
  1026. trailing: Icon(
  1027. Icons.arrow_forward_ios_rounded,
  1028. color: FlutterFlowTheme.of(context).secondaryText,
  1029. size: 24.0,
  1030. ),
  1031. tileColor:
  1032. FlutterFlowTheme.of(context).secondaryBackground,
  1033. dense: true,
  1034. contentPadding: EdgeInsetsDirectional.fromSTEB(
  1035. 12.0, 0.0, 12.0, 0.0),
  1036. shape: RoundedRectangleBorder(
  1037. borderRadius: BorderRadius.circular(8.0),
  1038. ),
  1039. ),
  1040. ),
  1041. ),
  1042. ),
  1043. Padding(
  1044. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  1045. child: InkWell(
  1046. splashColor: Colors.transparent,
  1047. focusColor: Colors.transparent,
  1048. hoverColor: Colors.transparent,
  1049. highlightColor: Colors.transparent,
  1050. onTap: () async {
  1051. context.pushNamed(
  1052. PUitgaanPageWidget.routeName,
  1053. queryParameters: {
  1054. 'plaats': serializeParam(
  1055. FFAppState().provincieSelectId,
  1056. ParamType.String,
  1057. ),
  1058. 'services': serializeParam(
  1059. 'services_6',
  1060. ParamType.String,
  1061. ),
  1062. }.withoutNulls,
  1063. );
  1064. },
  1065. child: Material(
  1066. color: Colors.transparent,
  1067. child: ListTile(
  1068. leading: Icon(
  1069. Icons.movie_outlined,
  1070. ),
  1071. title: Text(
  1072. FFLocalizations.of(context).getText(
  1073. '0zbg44er' /* Films */,
  1074. ),
  1075. style:
  1076. FlutterFlowTheme.of(context).titleMedium.override(
  1077. font: GoogleFonts.roboto(
  1078. fontWeight: FlutterFlowTheme.of(context)
  1079. .titleMedium
  1080. .fontWeight,
  1081. fontStyle: FlutterFlowTheme.of(context)
  1082. .titleMedium
  1083. .fontStyle,
  1084. ),
  1085. letterSpacing: 0.0,
  1086. fontWeight: FlutterFlowTheme.of(context)
  1087. .titleMedium
  1088. .fontWeight,
  1089. fontStyle: FlutterFlowTheme.of(context)
  1090. .titleMedium
  1091. .fontStyle,
  1092. ),
  1093. ),
  1094. trailing: Icon(
  1095. Icons.arrow_forward_ios_rounded,
  1096. color: FlutterFlowTheme.of(context).secondaryText,
  1097. size: 24.0,
  1098. ),
  1099. tileColor:
  1100. FlutterFlowTheme.of(context).secondaryBackground,
  1101. dense: true,
  1102. contentPadding: EdgeInsetsDirectional.fromSTEB(
  1103. 12.0, 0.0, 12.0, 0.0),
  1104. shape: RoundedRectangleBorder(
  1105. borderRadius: BorderRadius.circular(8.0),
  1106. ),
  1107. ),
  1108. ),
  1109. ),
  1110. ),
  1111. Align(
  1112. alignment: AlignmentDirectional(0.0, 0.0),
  1113. child: Padding(
  1114. padding:
  1115. EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  1116. child: InkWell(
  1117. splashColor: Colors.transparent,
  1118. focusColor: Colors.transparent,
  1119. hoverColor: Colors.transparent,
  1120. highlightColor: Colors.transparent,
  1121. onTap: () async {
  1122. context.pushNamed(
  1123. PUitgaanPageWidget.routeName,
  1124. queryParameters: {
  1125. 'plaats': serializeParam(
  1126. FFAppState().provincieSelectId,
  1127. ParamType.String,
  1128. ),
  1129. 'services': serializeParam(
  1130. 'services_7',
  1131. ParamType.String,
  1132. ),
  1133. }.withoutNulls,
  1134. );
  1135. },
  1136. child: Material(
  1137. color: Colors.transparent,
  1138. child: ListTile(
  1139. leading: Icon(
  1140. Icons.emoji_people,
  1141. ),
  1142. title: Text(
  1143. FFLocalizations.of(context).getText(
  1144. 'zguubv8h' /* Jeugd */,
  1145. ),
  1146. style: FlutterFlowTheme.of(context)
  1147. .titleMedium
  1148. .override(
  1149. font: GoogleFonts.roboto(
  1150. fontWeight: FlutterFlowTheme.of(context)
  1151. .titleMedium
  1152. .fontWeight,
  1153. fontStyle: FlutterFlowTheme.of(context)
  1154. .titleMedium
  1155. .fontStyle,
  1156. ),
  1157. letterSpacing: 0.0,
  1158. fontWeight: FlutterFlowTheme.of(context)
  1159. .titleMedium
  1160. .fontWeight,
  1161. fontStyle: FlutterFlowTheme.of(context)
  1162. .titleMedium
  1163. .fontStyle,
  1164. ),
  1165. ),
  1166. trailing: Icon(
  1167. Icons.arrow_forward_ios_rounded,
  1168. color: FlutterFlowTheme.of(context).secondaryText,
  1169. size: 24.0,
  1170. ),
  1171. tileColor:
  1172. FlutterFlowTheme.of(context).secondaryBackground,
  1173. dense: true,
  1174. contentPadding: EdgeInsetsDirectional.fromSTEB(
  1175. 12.0, 0.0, 12.0, 0.0),
  1176. shape: RoundedRectangleBorder(
  1177. borderRadius: BorderRadius.circular(8.0),
  1178. ),
  1179. ),
  1180. ),
  1181. ),
  1182. ),
  1183. ),
  1184. Padding(
  1185. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  1186. child: InkWell(
  1187. splashColor: Colors.transparent,
  1188. focusColor: Colors.transparent,
  1189. hoverColor: Colors.transparent,
  1190. highlightColor: Colors.transparent,
  1191. onTap: () async {
  1192. context.pushNamed(
  1193. HorecagelegenhedenOverzichtProvinciePageWidget
  1194. .routeName,
  1195. queryParameters: {
  1196. 'plaats': serializeParam(
  1197. FFAppState().provincieSelectId,
  1198. ParamType.String,
  1199. ),
  1200. }.withoutNulls,
  1201. );
  1202. },
  1203. child: Material(
  1204. color: Colors.transparent,
  1205. child: ListTile(
  1206. leading: Icon(
  1207. Icons.restaurant_sharp,
  1208. ),
  1209. title: Text(
  1210. FFLocalizations.of(context).getText(
  1211. 'mqf3caeh' /* Horeca */,
  1212. ),
  1213. style:
  1214. FlutterFlowTheme.of(context).titleMedium.override(
  1215. font: GoogleFonts.roboto(
  1216. fontWeight: FlutterFlowTheme.of(context)
  1217. .titleMedium
  1218. .fontWeight,
  1219. fontStyle: FlutterFlowTheme.of(context)
  1220. .titleMedium
  1221. .fontStyle,
  1222. ),
  1223. letterSpacing: 0.0,
  1224. fontWeight: FlutterFlowTheme.of(context)
  1225. .titleMedium
  1226. .fontWeight,
  1227. fontStyle: FlutterFlowTheme.of(context)
  1228. .titleMedium
  1229. .fontStyle,
  1230. ),
  1231. ),
  1232. trailing: Icon(
  1233. Icons.arrow_forward_ios_rounded,
  1234. color: FlutterFlowTheme.of(context).secondaryText,
  1235. size: 24.0,
  1236. ),
  1237. tileColor:
  1238. FlutterFlowTheme.of(context).secondaryBackground,
  1239. dense: true,
  1240. contentPadding: EdgeInsetsDirectional.fromSTEB(
  1241. 12.0, 0.0, 12.0, 0.0),
  1242. shape: RoundedRectangleBorder(
  1243. borderRadius: BorderRadius.circular(8.0),
  1244. ),
  1245. ),
  1246. ),
  1247. ),
  1248. ),
  1249. Padding(
  1250. padding: EdgeInsetsDirectional.fromSTEB(50.0, 0.0, 0.0, 0.0),
  1251. child: InkWell(
  1252. splashColor: Colors.transparent,
  1253. focusColor: Colors.transparent,
  1254. hoverColor: Colors.transparent,
  1255. highlightColor: Colors.transparent,
  1256. onTap: () async {
  1257. await launchURL(
  1258. 'https://uitgaanskrant.com/nl/support/mobieleapp');
  1259. },
  1260. child: Material(
  1261. color: Colors.transparent,
  1262. child: ListTile(
  1263. leading: Icon(
  1264. Icons.help,
  1265. ),
  1266. title: Text(
  1267. FFLocalizations.of(context).getText(
  1268. 'ukq39p63' /* Support pagina */,
  1269. ),
  1270. style:
  1271. FlutterFlowTheme.of(context).titleMedium.override(
  1272. font: GoogleFonts.roboto(
  1273. fontWeight: FlutterFlowTheme.of(context)
  1274. .titleMedium
  1275. .fontWeight,
  1276. fontStyle: FlutterFlowTheme.of(context)
  1277. .titleMedium
  1278. .fontStyle,
  1279. ),
  1280. letterSpacing: 0.0,
  1281. fontWeight: FlutterFlowTheme.of(context)
  1282. .titleMedium
  1283. .fontWeight,
  1284. fontStyle: FlutterFlowTheme.of(context)
  1285. .titleMedium
  1286. .fontStyle,
  1287. ),
  1288. ),
  1289. trailing: Icon(
  1290. Icons.arrow_forward_ios_rounded,
  1291. color: FlutterFlowTheme.of(context).secondaryText,
  1292. size: 24.0,
  1293. ),
  1294. tileColor:
  1295. FlutterFlowTheme.of(context).secondaryBackground,
  1296. dense: true,
  1297. contentPadding: EdgeInsetsDirectional.fromSTEB(
  1298. 12.0, 0.0, 12.0, 0.0),
  1299. shape: RoundedRectangleBorder(
  1300. borderRadius: BorderRadius.circular(8.0),
  1301. ),
  1302. ),
  1303. ),
  1304. ),
  1305. ),
  1306. Padding(
  1307. padding: EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 8.0),
  1308. child: Row(
  1309. mainAxisSize: MainAxisSize.max,
  1310. children: [
  1311. Builder(
  1312. builder: (context) {
  1313. if (FFAppState().userSessionid == null ||
  1314. FFAppState().userSessionid == '') {
  1315. return FFButtonWidget(
  1316. onPressed: () async {
  1317. context.pushNamed(LoginWidget.routeName);
  1318. },
  1319. text: FFLocalizations.of(context).getText(
  1320. '0xszp35t' /* Mijn Account */,
  1321. ),
  1322. options: FFButtonOptions(
  1323. height: 40.0,
  1324. padding: EdgeInsetsDirectional.fromSTEB(
  1325. 16.0, 0.0, 16.0, 0.0),
  1326. iconPadding: EdgeInsetsDirectional.fromSTEB(
  1327. 0.0, 0.0, 0.0, 0.0),
  1328. color: FlutterFlowTheme.of(context).secondary,
  1329. textStyle: FlutterFlowTheme.of(context)
  1330. .titleSmall
  1331. .override(
  1332. font: GoogleFonts.roboto(
  1333. fontWeight: FlutterFlowTheme.of(context)
  1334. .titleSmall
  1335. .fontWeight,
  1336. fontStyle: FlutterFlowTheme.of(context)
  1337. .titleSmall
  1338. .fontStyle,
  1339. ),
  1340. color: Colors.white,
  1341. letterSpacing: 0.0,
  1342. fontWeight: FlutterFlowTheme.of(context)
  1343. .titleSmall
  1344. .fontWeight,
  1345. fontStyle: FlutterFlowTheme.of(context)
  1346. .titleSmall
  1347. .fontStyle,
  1348. ),
  1349. elevation: 0.0,
  1350. borderRadius: BorderRadius.circular(8.0),
  1351. ),
  1352. );
  1353. } else {
  1354. return FFButtonWidget(
  1355. onPressed: () async {
  1356. context.pushNamed(FavorietenWidget.routeName);
  1357. },
  1358. text: FFAppState().userName,
  1359. options: FFButtonOptions(
  1360. height: 40.0,
  1361. padding: EdgeInsetsDirectional.fromSTEB(
  1362. 16.0, 0.0, 16.0, 0.0),
  1363. iconPadding: EdgeInsetsDirectional.fromSTEB(
  1364. 0.0, 0.0, 0.0, 0.0),
  1365. color: FlutterFlowTheme.of(context).secondary,
  1366. textStyle: FlutterFlowTheme.of(context)
  1367. .titleSmall
  1368. .override(
  1369. font: GoogleFonts.roboto(
  1370. fontWeight: FlutterFlowTheme.of(context)
  1371. .titleSmall
  1372. .fontWeight,
  1373. fontStyle: FlutterFlowTheme.of(context)
  1374. .titleSmall
  1375. .fontStyle,
  1376. ),
  1377. color: Colors.white,
  1378. letterSpacing: 0.0,
  1379. fontWeight: FlutterFlowTheme.of(context)
  1380. .titleSmall
  1381. .fontWeight,
  1382. fontStyle: FlutterFlowTheme.of(context)
  1383. .titleSmall
  1384. .fontStyle,
  1385. ),
  1386. elevation: 0.0,
  1387. borderRadius: BorderRadius.circular(8.0),
  1388. ),
  1389. );
  1390. }
  1391. },
  1392. ),
  1393. Text(
  1394. FFLocalizations.of(context).getText(
  1395. '7qpu1l01' /* v0001 */,
  1396. ),
  1397. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1398. font: GoogleFonts.roboto(
  1399. fontWeight: FlutterFlowTheme.of(context)
  1400. .bodyMedium
  1401. .fontWeight,
  1402. fontStyle: FlutterFlowTheme.of(context)
  1403. .bodyMedium
  1404. .fontStyle,
  1405. ),
  1406. color: Color(0xFF5B88A9),
  1407. fontSize: 12.0,
  1408. letterSpacing: 0.0,
  1409. fontWeight: FlutterFlowTheme.of(context)
  1410. .bodyMedium
  1411. .fontWeight,
  1412. fontStyle: FlutterFlowTheme.of(context)
  1413. .bodyMedium
  1414. .fontStyle,
  1415. ),
  1416. ),
  1417. Text(
  1418. valueOrDefault<String>(
  1419. functions.buildStempel(),
  1420. 'buildStempel',
  1421. ),
  1422. style: FlutterFlowTheme.of(context).bodyMedium.override(
  1423. font: GoogleFonts.roboto(
  1424. fontWeight: FlutterFlowTheme.of(context)
  1425. .bodyMedium
  1426. .fontWeight,
  1427. fontStyle: FlutterFlowTheme.of(context)
  1428. .bodyMedium
  1429. .fontStyle,
  1430. ),
  1431. letterSpacing: 0.0,
  1432. fontWeight: FlutterFlowTheme.of(context)
  1433. .bodyMedium
  1434. .fontWeight,
  1435. fontStyle: FlutterFlowTheme.of(context)
  1436. .bodyMedium
  1437. .fontStyle,
  1438. ),
  1439. ),
  1440. ],
  1441. ),
  1442. ),
  1443. ],
  1444. ),
  1445. ),
  1446. ],
  1447. ),
  1448. );
  1449. }
  1450. }