|
|
@@ -1,3707 +0,0 @@
|
|
|
-import '/backend/api_requests/api_calls.dart';
|
|
|
-import '/flutter_flow/flutter_flow_drop_down.dart';
|
|
|
-import '/flutter_flow/flutter_flow_theme.dart';
|
|
|
-import '/flutter_flow/flutter_flow_util.dart';
|
|
|
-import '/flutter_flow/flutter_flow_widgets.dart';
|
|
|
-import '/flutter_flow/form_field_controller.dart';
|
|
|
-import '/flutter_flow/upload_data.dart';
|
|
|
-import 'dart:ui';
|
|
|
-import '/backend/schema/structs/index.dart';
|
|
|
-import '/custom_code/actions/index.dart' as actions;
|
|
|
-import '/flutter_flow/custom_functions.dart' as functions;
|
|
|
-import 'package:flutter/foundation.dart';
|
|
|
-import 'package:flutter/material.dart';
|
|
|
-import 'package:flutter_spinkit/flutter_spinkit.dart';
|
|
|
-import 'package:google_fonts/google_fonts.dart';
|
|
|
-import 'package:provider/provider.dart';
|
|
|
-import 'stadsactiviteit_aanmaken_copy3_model.dart';
|
|
|
-export 'stadsactiviteit_aanmaken_copy3_model.dart';
|
|
|
-
|
|
|
-class StadsactiviteitAanmakenCopy3Widget extends StatefulWidget {
|
|
|
- const StadsactiviteitAanmakenCopy3Widget({super.key});
|
|
|
-
|
|
|
- static String routeName = 'stadsactiviteitAanmakenCopy3';
|
|
|
- static String routePath = '/stadsactiviteitAanmakenCopy3';
|
|
|
-
|
|
|
- @override
|
|
|
- State<StadsactiviteitAanmakenCopy3Widget> createState() =>
|
|
|
- _StadsactiviteitAanmakenCopy3WidgetState();
|
|
|
-}
|
|
|
-
|
|
|
-class _StadsactiviteitAanmakenCopy3WidgetState
|
|
|
- extends State<StadsactiviteitAanmakenCopy3Widget> with RouteAware {
|
|
|
- late StadsactiviteitAanmakenCopy3Model _model;
|
|
|
-
|
|
|
- final scaffoldKey = GlobalKey<ScaffoldState>();
|
|
|
-
|
|
|
- @override
|
|
|
- void initState() {
|
|
|
- super.initState();
|
|
|
- _model = createModel(context, () => StadsactiviteitAanmakenCopy3Model());
|
|
|
-
|
|
|
- _model.textFieldTitelTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldTitelFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldOmschrijvingTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldOmschrijvingFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldDatumStartTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldDatumStartFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldDatumEindTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldDatumEindFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldAdresTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldAdresFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldPostcodeTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldPostcodeFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldPlaatsTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldPlaatsFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldOrganisatorTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldOrganisatorFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldContactTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldContactFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldWebsiteURLTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldWebsiteURLFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldToelichtingEntreeTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldToelichtingEntreeFocusNode ??= FocusNode();
|
|
|
-
|
|
|
- _model.textFieldEntreeprijsTextController ??= TextEditingController()
|
|
|
- ..addListener(() {
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- });
|
|
|
- _model.textFieldEntreeprijsFocusNode ??= FocusNode();
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void dispose() {
|
|
|
- routeObserver.unsubscribe(this);
|
|
|
-
|
|
|
- _model.dispose();
|
|
|
-
|
|
|
- super.dispose();
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didUpdateWidget(StadsactiviteitAanmakenCopy3Widget oldWidget) {
|
|
|
- super.didUpdateWidget(oldWidget);
|
|
|
- _model.widget = widget;
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didChangeDependencies() {
|
|
|
- super.didChangeDependencies();
|
|
|
- final route = DebugModalRoute.of(context);
|
|
|
- if (route != null) {
|
|
|
- routeObserver.subscribe(this, route);
|
|
|
- }
|
|
|
- debugLogGlobalProperty(context);
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didPopNext() {
|
|
|
- if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
|
|
|
- setState(() => _model.isRouteVisible = true);
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didPush() {
|
|
|
- if (mounted && DebugFlutterFlowModelContext.maybeOf(context) == null) {
|
|
|
- setState(() => _model.isRouteVisible = true);
|
|
|
- debugLogWidgetClass(_model);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didPop() {
|
|
|
- _model.isRouteVisible = false;
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- void didPushNext() {
|
|
|
- _model.isRouteVisible = false;
|
|
|
- }
|
|
|
-
|
|
|
- @override
|
|
|
- Widget build(BuildContext context) {
|
|
|
- DebugFlutterFlowModelContext.maybeOf(context)
|
|
|
- ?.parentModelCallback
|
|
|
- ?.call(_model);
|
|
|
- context.watch<FFAppState>();
|
|
|
-
|
|
|
- return GestureDetector(
|
|
|
- onTap: () {
|
|
|
- FocusScope.of(context).unfocus();
|
|
|
- FocusManager.instance.primaryFocus?.unfocus();
|
|
|
- },
|
|
|
- child: Scaffold(
|
|
|
- key: scaffoldKey,
|
|
|
- backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
|
|
- appBar: AppBar(
|
|
|
- backgroundColor: FlutterFlowTheme.of(context).primary,
|
|
|
- automaticallyImplyLeading: true,
|
|
|
- actions: [],
|
|
|
- centerTitle: true,
|
|
|
- elevation: 0.0,
|
|
|
- ),
|
|
|
- body: SafeArea(
|
|
|
- top: true,
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: SingleChildScrollView(
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Container(
|
|
|
- width: 200.0,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldTitelTextController,
|
|
|
- focusNode: _model.textFieldTitelFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'rsqfvy60' /* Titel */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'svegy1qg' /* Titel activiteit */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldTitelTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldOmschrijvingTextController,
|
|
|
- focusNode:
|
|
|
- _model.textFieldOmschrijvingFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '7xfw37g2' /* Omschrijving */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context).getText(
|
|
|
- 'z4mnz7m5' /* Omschrijving activiteit */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- maxLines: 5,
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldOmschrijvingTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'nhzp8lti' /* Categorie evenement */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: ProductieGroup.categorieenCall.call(
|
|
|
- sessionName: FFAppState().userSessionname,
|
|
|
- sessid: FFAppState().userSessionid,
|
|
|
- ),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final dropDownCategorieenCategorieenResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.categorieenCall_statusCode_DropDown_2fu8ifcv'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownCategorieenCategorieenResponse
|
|
|
- .statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.categorieenCall_responseBody_DropDown_2fu8ifcv'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownCategorieenCategorieenResponse
|
|
|
- .bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return FlutterFlowDropDown<String>(
|
|
|
- multiSelectController: _model
|
|
|
- .dropDownCategorieenValueController ??=
|
|
|
- FormListFieldController<String>(null),
|
|
|
- options: List<String>.from(
|
|
|
- functions.categorieSubTids(
|
|
|
- dropDownCategorieenCategorieenResponse
|
|
|
- .jsonBody)!),
|
|
|
- optionLabels: functions.categorieSubLabels(
|
|
|
- dropDownCategorieenCategorieenResponse
|
|
|
- .jsonBody)!,
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- searchHintTextStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- searchTextStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- textStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '8jdmw58a' /* Select... */,
|
|
|
- ),
|
|
|
- searchHintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '7ihvd3yf' /* Search... */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: true,
|
|
|
- isMultiSelect: true,
|
|
|
- onMultiSelectChanged: (val) async {
|
|
|
- safeSetState(() => _model
|
|
|
- .dropDownCategorieenValue = val);
|
|
|
- _model.createCategorieTids = _model
|
|
|
- .dropDownCategorieenValue!
|
|
|
- .toList()
|
|
|
- .cast<String>();
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '2xarwr9i' /* Wanneer */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- InkWell(
|
|
|
- splashColor: Colors.transparent,
|
|
|
- focusColor: Colors.transparent,
|
|
|
- hoverColor: Colors.transparent,
|
|
|
- highlightColor: Colors.transparent,
|
|
|
- onTap: () async {
|
|
|
- final _datePicked1Date = await showDatePicker(
|
|
|
- context: context,
|
|
|
- initialDate: getCurrentTimestamp,
|
|
|
- firstDate: getCurrentTimestamp,
|
|
|
- lastDate: DateTime(2050),
|
|
|
- builder: (context, child) {
|
|
|
- return wrapInMaterialDatePickerTheme(
|
|
|
- context,
|
|
|
- child!,
|
|
|
- headerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context).primary,
|
|
|
- headerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- headerTextStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .headlineLarge
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- fontSize: 32.0,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- pickerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- pickerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- selectedDateTimeBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context).primary,
|
|
|
- selectedDateTimeForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- actionButtonForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- iconSize: 24.0,
|
|
|
- );
|
|
|
- },
|
|
|
- );
|
|
|
-
|
|
|
- TimeOfDay? _datePicked1Time;
|
|
|
- if (_datePicked1Date != null) {
|
|
|
- _datePicked1Time = await showTimePicker(
|
|
|
- context: context,
|
|
|
- initialTime: TimeOfDay.fromDateTime(
|
|
|
- getCurrentTimestamp),
|
|
|
- builder: (context, child) {
|
|
|
- return wrapInMaterialTimePickerTheme(
|
|
|
- context,
|
|
|
- child!,
|
|
|
- headerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- headerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- headerTextStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .headlineLarge
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- fontSize: 32.0,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- pickerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- pickerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- selectedDateTimeBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- selectedDateTimeForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- actionButtonForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- iconSize: 24.0,
|
|
|
- );
|
|
|
- },
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- if (_datePicked1Date != null &&
|
|
|
- _datePicked1Time != null) {
|
|
|
- safeSetState(() {
|
|
|
- _model.datePicked1 = DateTime(
|
|
|
- _datePicked1Date.year,
|
|
|
- _datePicked1Date.month,
|
|
|
- _datePicked1Date.day,
|
|
|
- _datePicked1Time!.hour,
|
|
|
- _datePicked1Time.minute,
|
|
|
- );
|
|
|
- });
|
|
|
- } else if (_model.datePicked1 != null) {
|
|
|
- safeSetState(() {
|
|
|
- _model.datePicked1 = getCurrentTimestamp;
|
|
|
- });
|
|
|
- }
|
|
|
- safeSetState(() {
|
|
|
- _model.textFieldDatumStartTextController
|
|
|
- ?.text = _model.datePicked1!.toString();
|
|
|
- });
|
|
|
- },
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- decoration: BoxDecoration(),
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller: _model
|
|
|
- .textFieldDatumStartTextController,
|
|
|
- focusNode:
|
|
|
- _model.textFieldDatumStartFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: false,
|
|
|
- readOnly: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '5yops51n' /* Datum */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'bxvk27nu' /* Datum */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor: FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldDatumStartTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- InkWell(
|
|
|
- splashColor: Colors.transparent,
|
|
|
- focusColor: Colors.transparent,
|
|
|
- hoverColor: Colors.transparent,
|
|
|
- highlightColor: Colors.transparent,
|
|
|
- onTap: () async {
|
|
|
- final _datePicked2Date = await showDatePicker(
|
|
|
- context: context,
|
|
|
- initialDate: getCurrentTimestamp,
|
|
|
- firstDate: getCurrentTimestamp,
|
|
|
- lastDate: DateTime(2050),
|
|
|
- builder: (context, child) {
|
|
|
- return wrapInMaterialDatePickerTheme(
|
|
|
- context,
|
|
|
- child!,
|
|
|
- headerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context).primary,
|
|
|
- headerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- headerTextStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .headlineLarge
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- fontSize: 32.0,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- pickerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- pickerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- selectedDateTimeBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context).primary,
|
|
|
- selectedDateTimeForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- actionButtonForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- iconSize: 24.0,
|
|
|
- );
|
|
|
- },
|
|
|
- );
|
|
|
-
|
|
|
- TimeOfDay? _datePicked2Time;
|
|
|
- if (_datePicked2Date != null) {
|
|
|
- _datePicked2Time = await showTimePicker(
|
|
|
- context: context,
|
|
|
- initialTime: TimeOfDay.fromDateTime(
|
|
|
- getCurrentTimestamp),
|
|
|
- builder: (context, child) {
|
|
|
- return wrapInMaterialTimePickerTheme(
|
|
|
- context,
|
|
|
- child!,
|
|
|
- headerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- headerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- headerTextStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .headlineLarge
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- fontSize: 32.0,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FontWeight.w600,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineLarge
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- pickerBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- pickerForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- selectedDateTimeBackgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- selectedDateTimeForegroundColor:
|
|
|
- FlutterFlowTheme.of(context).info,
|
|
|
- actionButtonForegroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- iconSize: 24.0,
|
|
|
- );
|
|
|
- },
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- if (_datePicked2Date != null &&
|
|
|
- _datePicked2Time != null) {
|
|
|
- safeSetState(() {
|
|
|
- _model.datePicked2 = DateTime(
|
|
|
- _datePicked2Date.year,
|
|
|
- _datePicked2Date.month,
|
|
|
- _datePicked2Date.day,
|
|
|
- _datePicked2Time!.hour,
|
|
|
- _datePicked2Time.minute,
|
|
|
- );
|
|
|
- });
|
|
|
- } else if (_model.datePicked2 != null) {
|
|
|
- safeSetState(() {
|
|
|
- _model.datePicked2 = getCurrentTimestamp;
|
|
|
- });
|
|
|
- }
|
|
|
- safeSetState(() {
|
|
|
- _model.textFieldDatumEindTextController
|
|
|
- ?.text = _model.datePicked2!.toString();
|
|
|
- });
|
|
|
- },
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- decoration: BoxDecoration(),
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldDatumEindTextController,
|
|
|
- focusNode:
|
|
|
- _model.textFieldDatumEindFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: false,
|
|
|
- readOnly: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'fnd1k3l0' /* Datum eind */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'okjt4vy8' /* Datum eind */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor: FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldDatumEindTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'p1klbtcw' /* Hello World */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: MijnStadsrechtenCall.call(
|
|
|
- sessionName: FFAppState().userSessionname,
|
|
|
- sessid: FFAppState().userSessionid,
|
|
|
- ),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final columnMijnStadsrechtenResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'MijnStadsrechtenCall_statusCode_Column_zgwp2tc2'] =
|
|
|
- debugSerializeParam(
|
|
|
- columnMijnStadsrechtenResponse.statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'MijnStadsrechtenCall_responseBody_Column_zgwp2tc2'] =
|
|
|
- debugSerializeParam(
|
|
|
- columnMijnStadsrechtenResponse.bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- if (getJsonField(
|
|
|
- columnMijnStadsrechtenResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[0].titel''',
|
|
|
- ) !=
|
|
|
- null)
|
|
|
- FlutterFlowDropDown<String>(
|
|
|
- controller: _model
|
|
|
- .dropDownGemeentenMijngemeentenValueController ??=
|
|
|
- FormFieldController<String>(null),
|
|
|
- options: List<String>.from(
|
|
|
- (getJsonField(
|
|
|
- columnMijnStadsrechtenResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].tid''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>(
|
|
|
- (e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>()),
|
|
|
- optionLabels: (getJsonField(
|
|
|
- columnMijnStadsrechtenResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].titel''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>(),
|
|
|
- onChanged: (val) async {
|
|
|
- safeSetState(() => _model
|
|
|
- .dropDownGemeentenMijngemeentenValue =
|
|
|
- val);
|
|
|
- _model.createGemeenteID = _model
|
|
|
- .dropDownGemeentenMijngemeentenValue;
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- textStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context)
|
|
|
- .getText(
|
|
|
- '0ue7hjpd' /* Mijn gemeenten */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin:
|
|
|
- EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: false,
|
|
|
- isMultiSelect: false,
|
|
|
- ),
|
|
|
- ],
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'wtztg9sn' /* Stadseditor */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- Row(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: ProvinciesCall.call(),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final dropDownProvincieProvinciesResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProvinciesCall_statusCode_DropDown_0ee1g9vx'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownProvincieProvinciesResponse
|
|
|
- .statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProvinciesCall_responseBody_DropDown_0ee1g9vx'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownProvincieProvinciesResponse
|
|
|
- .bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return FlutterFlowDropDown<String>(
|
|
|
- controller: _model
|
|
|
- .dropDownProvincieValueController ??=
|
|
|
- FormFieldController<String>(null),
|
|
|
- options: List<String>.from(
|
|
|
- (getJsonField(
|
|
|
- dropDownProvincieProvinciesResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].provincieid''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>(
|
|
|
- (e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>()),
|
|
|
- optionLabels: (getJsonField(
|
|
|
- dropDownProvincieProvinciesResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].provinciename''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>(),
|
|
|
- onChanged: (val) async {
|
|
|
- safeSetState(() => _model
|
|
|
- .dropDownProvincieValue = val);
|
|
|
- _model.createProvincieID =
|
|
|
- _model.dropDownProvincieValue;
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- textStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'jnm53h0k' /* Select... */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: false,
|
|
|
- isMultiSelect: false,
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- if (_model.createProvincieID != null &&
|
|
|
- _model.createProvincieID != '')
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: GemeentenCall.call(
|
|
|
- provincieid: _model.createProvincieID,
|
|
|
- ),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final dropDownGemeenteGemeentenResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'GemeentenCall_statusCode_DropDown_wldsy5yv'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownGemeenteGemeentenResponse
|
|
|
- .statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'GemeentenCall_responseBody_DropDown_wldsy5yv'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownGemeenteGemeentenResponse
|
|
|
- .bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return FlutterFlowDropDown<String>(
|
|
|
- controller: _model
|
|
|
- .dropDownGemeenteValueController ??=
|
|
|
- FormFieldController<String>(
|
|
|
- _model.dropDownGemeenteValue ??= '',
|
|
|
- ),
|
|
|
- options: List<String>.from(
|
|
|
- (getJsonField(
|
|
|
- dropDownGemeenteGemeentenResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].gemeenteid''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>(
|
|
|
- (e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>()),
|
|
|
- optionLabels: (getJsonField(
|
|
|
- dropDownGemeenteGemeentenResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].gemeentename''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>(),
|
|
|
- onChanged: (val) async {
|
|
|
- safeSetState(() => _model
|
|
|
- .dropDownGemeenteValue = val);
|
|
|
- _model.createGemeenteID =
|
|
|
- _model.dropDownGemeenteValue;
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- textStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context)
|
|
|
- .getText(
|
|
|
- 'ucttf457' /* Select... */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin:
|
|
|
- EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: false,
|
|
|
- isMultiSelect: false,
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- if (_model.createGemeenteID != null &&
|
|
|
- _model.createGemeenteID != '')
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: ProductieGroup
|
|
|
- .plaatsenBijGemeenteCall
|
|
|
- .call(
|
|
|
- gemeenteid: _model.createGemeenteID,
|
|
|
- ),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final dropDownPlaatsPlaatsenBijGemeenteResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.plaatsenBijGemeenteCall_statusCode_DropDown_2uecqtlt'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownPlaatsPlaatsenBijGemeenteResponse
|
|
|
- .statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.plaatsenBijGemeenteCall_responseBody_DropDown_2uecqtlt'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownPlaatsPlaatsenBijGemeenteResponse
|
|
|
- .bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return FlutterFlowDropDown<String>(
|
|
|
- controller: _model
|
|
|
- .dropDownPlaatsValueController ??=
|
|
|
- FormFieldController<String>(
|
|
|
- _model.dropDownPlaatsValue ??= '',
|
|
|
- ),
|
|
|
- options: List<String>.from(
|
|
|
- (getJsonField(
|
|
|
- dropDownPlaatsPlaatsenBijGemeenteResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].plaatsid''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>(
|
|
|
- (e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>()),
|
|
|
- optionLabels: (getJsonField(
|
|
|
- dropDownPlaatsPlaatsenBijGemeenteResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].plaatsname''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>(),
|
|
|
- onChanged: (val) async {
|
|
|
- safeSetState(() => _model
|
|
|
- .dropDownPlaatsValue = val);
|
|
|
- _model.createPlaatsID =
|
|
|
- _model.dropDownPlaatsValue;
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- textStyle: FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(
|
|
|
- context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context)
|
|
|
- .getText(
|
|
|
- 'kfsyt9ze' /* Select... */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin:
|
|
|
- EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: false,
|
|
|
- isMultiSelect: false,
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- Container(
|
|
|
- height: 200.0,
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldAdresTextController,
|
|
|
- focusNode: _model.textFieldAdresFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '4iwwr7xc' /* Adres */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '0ton1ez0' /* Adres */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldAdresTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldPostcodeTextController,
|
|
|
- focusNode: _model.textFieldPostcodeFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'ii5g4aro' /* Postcode */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context).getText(
|
|
|
- 'g1mfnjfa' /* Postcode */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldPostcodeTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldPlaatsTextController,
|
|
|
- focusNode: _model.textFieldPlaatsFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'ifsmjpwh' /* Plaats */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context).getText(
|
|
|
- '3rsgl6qu' /* Plaats activiteit */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldPlaatsTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'c83nudbf' /* Hello World */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldOrganisatorTextController,
|
|
|
- focusNode: _model.textFieldOrganisatorFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '9md5v2ut' /* Organisator */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context).getText(
|
|
|
- 'l8k9p9p8' /* Organisator van de activiteit */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldOrganisatorTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldContactTextController,
|
|
|
- focusNode: _model.textFieldContactFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'ahkj3ay8' /* Contact */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText: FFLocalizations.of(context).getText(
|
|
|
- 'ynw3tlyl' /* Contact email/telefoon */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldContactTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Container(
|
|
|
- width: 200.0,
|
|
|
- child: TextFormField(
|
|
|
- controller:
|
|
|
- _model.textFieldWebsiteURLTextController,
|
|
|
- focusNode:
|
|
|
- _model.textFieldWebsiteURLFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'xijr7y87' /* WebsiteURL */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'siwwhj2y' /* Website van de activiteit */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldWebsiteURLTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '8drxrod2' /* Entree */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FutureBuilder<ApiCallResponse>(
|
|
|
- future: ProductieGroup.entreeoptiesCall.call(
|
|
|
- sessionName: FFAppState().userSessionname,
|
|
|
- sessid: FFAppState().userSessionid,
|
|
|
- ),
|
|
|
- builder: (context, snapshot) {
|
|
|
- // Customize what your widget looks like when it's loading.
|
|
|
- if (!snapshot.hasData) {
|
|
|
- return Center(
|
|
|
- child: SizedBox(
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- child: SpinKitFadingCircle(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .primary,
|
|
|
- size: 80.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
- final dropDownEntreeEntreeoptiesResponse =
|
|
|
- snapshot.data!;
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.entreeoptiesCall_statusCode_DropDown_vbvrzdyo'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownEntreeEntreeoptiesResponse
|
|
|
- .statusCode,
|
|
|
- ParamType.int,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'int',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- _model.debugBackendQueries[
|
|
|
- 'ProductieGroup.entreeoptiesCall_responseBody_DropDown_vbvrzdyo'] =
|
|
|
- debugSerializeParam(
|
|
|
- dropDownEntreeEntreeoptiesResponse
|
|
|
- .bodyText,
|
|
|
- ParamType.String,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return FlutterFlowDropDown<String>(
|
|
|
- controller: _model
|
|
|
- .dropDownEntreeValueController ??=
|
|
|
- FormFieldController<String>(
|
|
|
- _model.dropDownEntreeValue ??= '',
|
|
|
- ),
|
|
|
- options: List<String>.from((getJsonField(
|
|
|
- dropDownEntreeEntreeoptiesResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].tid''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>()),
|
|
|
- optionLabels: (getJsonField(
|
|
|
- dropDownEntreeEntreeoptiesResponse
|
|
|
- .jsonBody,
|
|
|
- r'''$[:].naam''',
|
|
|
- true,
|
|
|
- ) as List?)!
|
|
|
- .map<String>((e) => e.toString())
|
|
|
- .toList()
|
|
|
- .cast<String>(),
|
|
|
- onChanged: (val) async {
|
|
|
- safeSetState(() =>
|
|
|
- _model.dropDownEntreeValue = val);
|
|
|
- _model.createEntreeTid =
|
|
|
- _model.dropDownEntreeValue;
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- width: 200.0,
|
|
|
- height: 40.0,
|
|
|
- textStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'kfp0h9jr' /* Select... */,
|
|
|
- ),
|
|
|
- icon: Icon(
|
|
|
- Icons.keyboard_arrow_down_rounded,
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .secondaryText,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- elevation: 2.0,
|
|
|
- borderColor: Colors.transparent,
|
|
|
- borderWidth: 0.0,
|
|
|
- borderRadius: 8.0,
|
|
|
- margin: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 12.0, 0.0, 12.0, 0.0),
|
|
|
- hidesUnderline: true,
|
|
|
- isOverButton: false,
|
|
|
- isSearchable: false,
|
|
|
- isMultiSelect: false,
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'v3ri3a4t' /* Toelichting Entree */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller: _model
|
|
|
- .textFieldToelichtingEntreeTextController,
|
|
|
- focusNode: _model
|
|
|
- .textFieldToelichtingEntreeFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- '1bcna40u' /* Toelichting Entree */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor: FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldToelichtingEntreeTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'x7ss2fke' /* Entreeprijs */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- child: TextFormField(
|
|
|
- controller: _model
|
|
|
- .textFieldEntreeprijsTextController,
|
|
|
- focusNode:
|
|
|
- _model.textFieldEntreeprijsFocusNode,
|
|
|
- autofocus: false,
|
|
|
- enabled: true,
|
|
|
- obscureText: false,
|
|
|
- decoration: InputDecoration(
|
|
|
- isDense: true,
|
|
|
- labelText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'mok7bjjn' /* Entreeprijs */,
|
|
|
- ),
|
|
|
- labelStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- hintText:
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'xasuny3p' /* Entreeprijs */,
|
|
|
- ),
|
|
|
- hintStyle: FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .labelMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- enabledBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: Color(0x00000000),
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- errorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- focusedErrorBorder: OutlineInputBorder(
|
|
|
- borderSide: BorderSide(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .error,
|
|
|
- width: 1.0,
|
|
|
- ),
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- filled: true,
|
|
|
- fillColor: FlutterFlowTheme.of(context)
|
|
|
- .secondaryBackground,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- cursorColor: FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- enableInteractiveSelection: true,
|
|
|
- validator: _model
|
|
|
- .textFieldEntreeprijsTextControllerValidator
|
|
|
- .asValidator(context),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Container(
|
|
|
- decoration: BoxDecoration(),
|
|
|
- child: Column(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'b6bozu5p' /* Media */,
|
|
|
- ),
|
|
|
- style: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .headlineSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Row(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FFButtonWidget(
|
|
|
- onPressed: () async {
|
|
|
- final selectedMedia =
|
|
|
- await selectMediaWithSourceBottomSheet(
|
|
|
- context: context,
|
|
|
- allowPhoto: true,
|
|
|
- );
|
|
|
- if (selectedMedia != null &&
|
|
|
- selectedMedia.every((m) =>
|
|
|
- validateFileFormat(
|
|
|
- m.storagePath, context))) {
|
|
|
- safeSetState(() => _model
|
|
|
- .isDataUploading_uploadDatalogoUpload =
|
|
|
- true);
|
|
|
- var selectedUploadedFiles =
|
|
|
- <FFUploadedFile>[];
|
|
|
-
|
|
|
- try {
|
|
|
- selectedUploadedFiles = selectedMedia
|
|
|
- .map((m) => FFUploadedFile(
|
|
|
- name: m.storagePath
|
|
|
- .split('/')
|
|
|
- .last,
|
|
|
- bytes: m.bytes,
|
|
|
- height: m.dimensions?.height,
|
|
|
- width: m.dimensions?.width,
|
|
|
- blurHash: m.blurHash,
|
|
|
- originalFilename:
|
|
|
- m.originalFilename,
|
|
|
- ))
|
|
|
- .toList();
|
|
|
- } finally {
|
|
|
- _model.isDataUploading_uploadDatalogoUpload =
|
|
|
- false;
|
|
|
- }
|
|
|
- if (selectedUploadedFiles.length ==
|
|
|
- selectedMedia.length) {
|
|
|
- safeSetState(() {
|
|
|
- _model.uploadedLocalFile_uploadDatalogoUpload =
|
|
|
- selectedUploadedFiles.first;
|
|
|
- });
|
|
|
- } else {
|
|
|
- safeSetState(() {});
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- _model.logouploadResult =
|
|
|
- await actions.bestandUpload(
|
|
|
- _model
|
|
|
- .uploadedLocalFile_uploadDatalogoUpload,
|
|
|
- '/en/flutterdrup/bestand_upload/upload.json',
|
|
|
- FFAppState().userSessionname,
|
|
|
- FFAppState().userSessionid,
|
|
|
- FFAppState().userToken,
|
|
|
- );
|
|
|
- if (getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.success''',
|
|
|
- )) {
|
|
|
- _model.createLogoFid = getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.fid''',
|
|
|
- ).toString();
|
|
|
- _model.createLogoUrl = getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.url''',
|
|
|
- ).toString();
|
|
|
- safeSetState(() {});
|
|
|
- } else {
|
|
|
- ScaffoldMessenger.of(context).showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.error''',
|
|
|
- ).toString(),
|
|
|
- style: TextStyle(
|
|
|
- color: FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- ),
|
|
|
- ),
|
|
|
- duration: Duration(milliseconds: 4000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- text: FFLocalizations.of(context).getText(
|
|
|
- 'e0mqbpyo' /* Logo kiezen */,
|
|
|
- ),
|
|
|
- options: FFButtonOptions(
|
|
|
- height: 40.0,
|
|
|
- padding: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 16.0, 0.0, 16.0, 0.0),
|
|
|
- iconPadding: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 0.0, 0.0, 0.0, 0.0),
|
|
|
- color: FlutterFlowTheme.of(context).secondary,
|
|
|
- textStyle: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- color: Colors.white,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- elevation: 0.0,
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- if (_model.createLogoUrl != null &&
|
|
|
- _model.createLogoUrl != '')
|
|
|
- ClipRRect(
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- child: Image.network(
|
|
|
- _model.createLogoUrl!,
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- fit: BoxFit.cover,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- Row(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- if (_model.createFotosFids.length < 5)
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: FFButtonWidget(
|
|
|
- onPressed: () async {
|
|
|
- final selectedMedia =
|
|
|
- await selectMediaWithSourceBottomSheet(
|
|
|
- context: context,
|
|
|
- allowPhoto: true,
|
|
|
- );
|
|
|
- if (selectedMedia != null &&
|
|
|
- selectedMedia.every((m) =>
|
|
|
- validateFileFormat(
|
|
|
- m.storagePath, context))) {
|
|
|
- safeSetState(() => _model
|
|
|
- .isDataUploading_uploadDataFotoos2 =
|
|
|
- true);
|
|
|
- var selectedUploadedFiles =
|
|
|
- <FFUploadedFile>[];
|
|
|
-
|
|
|
- try {
|
|
|
- selectedUploadedFiles = selectedMedia
|
|
|
- .map((m) => FFUploadedFile(
|
|
|
- name: m.storagePath
|
|
|
- .split('/')
|
|
|
- .last,
|
|
|
- bytes: m.bytes,
|
|
|
- height: m.dimensions?.height,
|
|
|
- width: m.dimensions?.width,
|
|
|
- blurHash: m.blurHash,
|
|
|
- originalFilename:
|
|
|
- m.originalFilename,
|
|
|
- ))
|
|
|
- .toList();
|
|
|
- } finally {
|
|
|
- _model.isDataUploading_uploadDataFotoos2 =
|
|
|
- false;
|
|
|
- }
|
|
|
- if (selectedUploadedFiles.length ==
|
|
|
- selectedMedia.length) {
|
|
|
- safeSetState(() {
|
|
|
- _model.uploadedLocalFile_uploadDataFotoos2 =
|
|
|
- selectedUploadedFiles.first;
|
|
|
- });
|
|
|
- } else {
|
|
|
- safeSetState(() {});
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- _model.fotouploadResult =
|
|
|
- await actions.bestandUpload(
|
|
|
- _model
|
|
|
- .uploadedLocalFile_uploadDataFotoos2,
|
|
|
- '/en/flutterdrup/bestand_upload/upload.json',
|
|
|
- FFAppState().userSessionname,
|
|
|
- FFAppState().userSessionid,
|
|
|
- FFAppState().userToken,
|
|
|
- );
|
|
|
- if (getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.success''',
|
|
|
- )) {
|
|
|
- _model.addToCreateFotosFids(getJsonField(
|
|
|
- _model.fotouploadResult,
|
|
|
- r'''$.fid''',
|
|
|
- ).toString());
|
|
|
- _model.addToCreateFotosUrls(getJsonField(
|
|
|
- _model.fotouploadResult,
|
|
|
- r'''$.url''',
|
|
|
- ).toString());
|
|
|
- safeSetState(() {});
|
|
|
- } else {
|
|
|
- ScaffoldMessenger.of(context)
|
|
|
- .showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- getJsonField(
|
|
|
- _model.logouploadResult,
|
|
|
- r'''$.error''',
|
|
|
- ).toString(),
|
|
|
- style: TextStyle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .primaryText,
|
|
|
- ),
|
|
|
- ),
|
|
|
- duration:
|
|
|
- Duration(milliseconds: 4000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- text: FFLocalizations.of(context).getText(
|
|
|
- '7nk882me' /* Foto's kiezen */,
|
|
|
- ),
|
|
|
- options: FFButtonOptions(
|
|
|
- height: 40.0,
|
|
|
- padding: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 16.0, 0.0, 16.0, 0.0),
|
|
|
- iconPadding: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 0.0, 0.0, 0.0, 0.0),
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondary,
|
|
|
- textStyle: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- color: Colors.white,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle:
|
|
|
- FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- elevation: 0.0,
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- if (_model.createFotosUrls.length > 0)
|
|
|
- Builder(
|
|
|
- builder: (context) {
|
|
|
- final fotoItem =
|
|
|
- _model.createFotosUrls.toList();
|
|
|
- _model.debugGeneratorVariables[
|
|
|
- 'fotoItem${fotoItem.length > 100 ? ' (first 100)' : ''}'] =
|
|
|
- debugSerializeParam(
|
|
|
- fotoItem.take(100),
|
|
|
- ParamType.String,
|
|
|
- isList: true,
|
|
|
- link:
|
|
|
- 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=stadsactiviteitAanmakenCopy3',
|
|
|
- name: 'String',
|
|
|
- nullable: false,
|
|
|
- );
|
|
|
- debugLogWidgetClass(_model);
|
|
|
-
|
|
|
- return Wrap(
|
|
|
- spacing: 8.0,
|
|
|
- runSpacing: 8.0,
|
|
|
- alignment: WrapAlignment.start,
|
|
|
- crossAxisAlignment:
|
|
|
- WrapCrossAlignment.start,
|
|
|
- direction: Axis.horizontal,
|
|
|
- runAlignment: WrapAlignment.start,
|
|
|
- verticalDirection: VerticalDirection.down,
|
|
|
- clipBehavior: Clip.none,
|
|
|
- children: List.generate(fotoItem.length,
|
|
|
- (fotoItemIndex) {
|
|
|
- final fotoItemItem =
|
|
|
- fotoItem[fotoItemIndex];
|
|
|
- return ClipRRect(
|
|
|
- borderRadius:
|
|
|
- BorderRadius.circular(8.0),
|
|
|
- child: Image.network(
|
|
|
- fotoItemItem,
|
|
|
- width: 80.0,
|
|
|
- height: 80.0,
|
|
|
- fit: BoxFit.cover,
|
|
|
- ),
|
|
|
- );
|
|
|
- }),
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- if (_model.createPlaatsID != null &&
|
|
|
- _model.createPlaatsID != '')
|
|
|
- FFButtonWidget(
|
|
|
- onPressed: () async {
|
|
|
- _model.createResult =
|
|
|
- await actions.stadsactiviteitCreate(
|
|
|
- FFAppState().userSessionname,
|
|
|
- FFAppState().userSessionid,
|
|
|
- FFAppState().userToken,
|
|
|
- _model.textFieldTitelTextController.text,
|
|
|
- _model.createPlaatsID!,
|
|
|
- functions.datumVoorApi(
|
|
|
- _model.textFieldDatumStartTextController.text)!,
|
|
|
- functions.datumVoorApi(
|
|
|
- _model.textFieldDatumEindTextController.text),
|
|
|
- _model.textFieldOmschrijvingTextController.text,
|
|
|
- _model.textFieldOrganisatorTextController.text,
|
|
|
- _model.textFieldContactTextController.text,
|
|
|
- _model.textFieldAdresTextController.text,
|
|
|
- _model.textFieldPlaatsTextController.text,
|
|
|
- _model.textFieldPostcodeTextController.text,
|
|
|
- _model.textFieldEntreeprijsTextController.text,
|
|
|
- _model.textFieldToelichtingEntreeTextController.text,
|
|
|
- _model.createCategorieTids.toList(),
|
|
|
- _model.textFieldWebsiteURLTextController.text,
|
|
|
- _model.createLogoFid,
|
|
|
- _model.createFotosFids.toList(),
|
|
|
- _model.createEntreeTid,
|
|
|
- );
|
|
|
- if (getJsonField(
|
|
|
- _model.createResult,
|
|
|
- r'''$.success''',
|
|
|
- )) {
|
|
|
- ScaffoldMessenger.of(context).showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- 'Je activiteit is ingediend en wordt beoordeeld door de redactie.',
|
|
|
- style: TextStyle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- ),
|
|
|
- ),
|
|
|
- duration: Duration(milliseconds: 5000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(context).secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- context.safePop();
|
|
|
- } else {
|
|
|
- ScaffoldMessenger.of(context).showSnackBar(
|
|
|
- SnackBar(
|
|
|
- content: Text(
|
|
|
- getJsonField(
|
|
|
- _model.createResult,
|
|
|
- r'''$.error''',
|
|
|
- ).toString(),
|
|
|
- style: TextStyle(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).primaryText,
|
|
|
- ),
|
|
|
- ),
|
|
|
- duration: Duration(milliseconds: 4000),
|
|
|
- backgroundColor:
|
|
|
- FlutterFlowTheme.of(context).secondary,
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
- safeSetState(() {});
|
|
|
- },
|
|
|
- text: FFLocalizations.of(context).getText(
|
|
|
- 'rq2fqkys' /* Activiteit indienen */,
|
|
|
- ),
|
|
|
- options: FFButtonOptions(
|
|
|
- height: 40.0,
|
|
|
- padding: EdgeInsetsDirectional.fromSTEB(
|
|
|
- 16.0, 0.0, 16.0, 0.0),
|
|
|
- iconPadding:
|
|
|
- EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
|
|
|
- color: FlutterFlowTheme.of(context).secondary,
|
|
|
- textStyle:
|
|
|
- FlutterFlowTheme.of(context).titleSmall.override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- color: Colors.white,
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .titleSmall
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- elevation: 0.0,
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- ),
|
|
|
- ),
|
|
|
- Align(
|
|
|
- alignment: AlignmentDirectional(-1.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.all(16.0),
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color:
|
|
|
- FlutterFlowTheme.of(context).secondaryBackground,
|
|
|
- borderRadius: BorderRadius.only(),
|
|
|
- border: Border.all(
|
|
|
- color: Color(0xFFEEEEEE),
|
|
|
- width: 3.0,
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Text(
|
|
|
- FFLocalizations.of(context).getText(
|
|
|
- 'drhy6ii4' /* Hello World */,
|
|
|
- ),
|
|
|
- style:
|
|
|
- FlutterFlowTheme.of(context).bodyMedium.override(
|
|
|
- font: GoogleFonts.roboto(
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- letterSpacing: 0.0,
|
|
|
- fontWeight: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontWeight,
|
|
|
- fontStyle: FlutterFlowTheme.of(context)
|
|
|
- .bodyMedium
|
|
|
- .fontStyle,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-}
|