|
|
@@ -0,0 +1,1715 @@
|
|
|
+import '/flutter_flow/flutter_flow_theme.dart';
|
|
|
+import '/flutter_flow/flutter_flow_util.dart';
|
|
|
+import '/flutter_flow/flutter_flow_widgets.dart';
|
|
|
+import 'dart:ui';
|
|
|
+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_model.dart';
|
|
|
+export 'stadsactiviteit_aanmaken_model.dart';
|
|
|
+
|
|
|
+class StadsactiviteitAanmakenWidget extends StatefulWidget {
|
|
|
+ const StadsactiviteitAanmakenWidget({super.key});
|
|
|
+
|
|
|
+ static String routeName = 'stadsactiviteitAanmaken';
|
|
|
+ static String routePath = '/stadsactiviteitAanmaken';
|
|
|
+
|
|
|
+ @override
|
|
|
+ State<StadsactiviteitAanmakenWidget> createState() =>
|
|
|
+ _StadsactiviteitAanmakenWidgetState();
|
|
|
+}
|
|
|
+
|
|
|
+class _StadsactiviteitAanmakenWidgetState
|
|
|
+ extends State<StadsactiviteitAanmakenWidget> with RouteAware {
|
|
|
+ late StadsactiviteitAanmakenModel _model;
|
|
|
+
|
|
|
+ final scaffoldKey = GlobalKey<ScaffoldState>();
|
|
|
+
|
|
|
+ @override
|
|
|
+ void initState() {
|
|
|
+ super.initState();
|
|
|
+ _model = createModel(context, () => StadsactiviteitAanmakenModel());
|
|
|
+
|
|
|
+ _model.textFieldTitelTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldTitelFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldDatumStartTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldDatumStartFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldDatumEindTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldDatumEindFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldOmschrijvingTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldOmschrijvingFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldOrganisatorTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldOrganisatorFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldContactTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldContactFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldAdresTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldAdresFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldPostcodeTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldPostcodeFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldPlaatsTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldPlaatsFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldEntreeprijsTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldEntreeprijsFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldToelichtingEntreeTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldToelichtingEntreeFocusNode ??= FocusNode();
|
|
|
+
|
|
|
+ _model.textFieldWebsiteURLTextController ??= TextEditingController()
|
|
|
+ ..addListener(() {
|
|
|
+ debugLogWidgetClass(_model);
|
|
|
+ });
|
|
|
+ _model.textFieldWebsiteURLFocusNode ??= FocusNode();
|
|
|
+ }
|
|
|
+
|
|
|
+ @override
|
|
|
+ void dispose() {
|
|
|
+ routeObserver.unsubscribe(this);
|
|
|
+
|
|
|
+ _model.dispose();
|
|
|
+
|
|
|
+ super.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
+ @override
|
|
|
+ void didUpdateWidget(StadsactiviteitAanmakenWidget 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);
|
|
|
+
|
|
|
+ return GestureDetector(
|
|
|
+ onTap: () {
|
|
|
+ FocusScope.of(context).unfocus();
|
|
|
+ FocusManager.instance.primaryFocus?.unfocus();
|
|
|
+ },
|
|
|
+ child: Scaffold(
|
|
|
+ key: scaffoldKey,
|
|
|
+ backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
|
|
+ appBar: AppBar(
|
|
|
+ backgroundColor: FlutterFlowTheme.of(context).primary,
|
|
|
+ automaticallyImplyLeading: true,
|
|
|
+ actions: [],
|
|
|
+ centerTitle: true,
|
|
|
+ elevation: 0.0,
|
|
|
+ ),
|
|
|
+ body: SafeArea(
|
|
|
+ top: true,
|
|
|
+ child: Padding(
|
|
|
+ padding: EdgeInsets.all(16.0),
|
|
|
+ child: SingleChildScrollView(
|
|
|
+ child: Column(
|
|
|
+ mainAxisSize: MainAxisSize.max,
|
|
|
+ children: [
|
|
|
+ Container(
|
|
|
+ width: 200.0,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldTitelTextController,
|
|
|
+ focusNode: _model.textFieldTitelFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ 'xorq08j5' /* Titel */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'jwgx4el8' /* Titel activiteit */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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.textFieldDatumStartTextController,
|
|
|
+ focusNode: _model.textFieldDatumStartFocusNode,
|
|
|
+ onFieldSubmitted: (_) 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.interTight(
|
|
|
+ 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.interTight(
|
|
|
+ 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();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ readOnly: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ 'dfa8vusy' /* Datum */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ '7vogkwoh' /* Datum */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldDatumEindTextController,
|
|
|
+ focusNode: _model.textFieldDatumEindFocusNode,
|
|
|
+ onFieldSubmitted: (_) 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.interTight(
|
|
|
+ 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.interTight(
|
|
|
+ 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();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ readOnly: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ '71z3uvd8' /* Datum eind */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ '1k52hayg' /* Datum eind */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing: 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ cursorColor: FlutterFlowTheme.of(context).primaryText,
|
|
|
+ enableInteractiveSelection: true,
|
|
|
+ validator: _model
|
|
|
+ .textFieldDatumEindTextControllerValidator
|
|
|
+ .asValidator(context),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldOmschrijvingTextController,
|
|
|
+ focusNode: _model.textFieldOmschrijvingFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ 'vc73ugaq' /* Omschrijving */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'k4jw1fl6' /* Omschrijving activiteit */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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
|
|
|
+ .textFieldOmschrijvingTextControllerValidator
|
|
|
+ .asValidator(context),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldOrganisatorTextController,
|
|
|
+ focusNode: _model.textFieldOrganisatorFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ '7dy1oyjr' /* Organisator */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'nxfif83l' /* Organisator van de activiteit */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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(
|
|
|
+ '06lh8r3a' /* Contact */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'p3rwq60m' /* Contact email/telefoon */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing: 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ cursorColor: FlutterFlowTheme.of(context).primaryText,
|
|
|
+ enableInteractiveSelection: true,
|
|
|
+ validator: _model.textFieldContactTextControllerValidator
|
|
|
+ .asValidator(context),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldAdresTextController,
|
|
|
+ focusNode: _model.textFieldAdresFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ '5ehouxlk' /* Adres */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ '4czd99zl' /* Adres */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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(
|
|
|
+ 'oo7z1mp8' /* Postcode */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'j9h65a88' /* Postcode */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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(
|
|
|
+ '825wzmk4' /* Plaats */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'np527mil' /* Plaats activiteit */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing: 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ cursorColor: FlutterFlowTheme.of(context).primaryText,
|
|
|
+ enableInteractiveSelection: true,
|
|
|
+ validator: _model.textFieldPlaatsTextControllerValidator
|
|
|
+ .asValidator(context),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller: _model.textFieldEntreeprijsTextController,
|
|
|
+ focusNode: _model.textFieldEntreeprijsFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ 'pftju36e' /* Entreeprijs */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'fyltb801' /* Entreeprijs */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ letterSpacing: 0.0,
|
|
|
+ fontWeight: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontWeight,
|
|
|
+ fontStyle: FlutterFlowTheme.of(context)
|
|
|
+ .bodyMedium
|
|
|
+ .fontStyle,
|
|
|
+ ),
|
|
|
+ cursorColor: FlutterFlowTheme.of(context).primaryText,
|
|
|
+ enableInteractiveSelection: true,
|
|
|
+ validator: _model
|
|
|
+ .textFieldEntreeprijsTextControllerValidator
|
|
|
+ .asValidator(context),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ child: TextFormField(
|
|
|
+ controller:
|
|
|
+ _model.textFieldToelichtingEntreeTextController,
|
|
|
+ focusNode: _model.textFieldToelichtingEntreeFocusNode,
|
|
|
+ autofocus: false,
|
|
|
+ enabled: true,
|
|
|
+ obscureText: false,
|
|
|
+ decoration: InputDecoration(
|
|
|
+ isDense: true,
|
|
|
+ labelText: FFLocalizations.of(context).getText(
|
|
|
+ '0brx7n79' /* Toelichting Entree */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ 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(
|
|
|
+ 'i66ori1d' /* WebsiteURL */,
|
|
|
+ ),
|
|
|
+ labelStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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(
|
|
|
+ 'bhydpd6h' /* Website van de activiteit */,
|
|
|
+ ),
|
|
|
+ hintStyle:
|
|
|
+ FlutterFlowTheme.of(context).labelMedium.override(
|
|
|
+ font: GoogleFonts.inter(
|
|
|
+ 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.inter(
|
|
|
+ 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),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ );
|
|
|
+ }
|
|
|
+}
|