import '/backend/api_requests/api_calls.dart'; import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; import '/horecagelegenhedenoverzicht/horecagelegenheidoverzicht_kaart/horecagelegenheidoverzicht_kaart_widget.dart'; import '/shared/drawer_component/drawer_component_widget.dart'; import 'dart:ui'; import '/index.dart'; import 'horecagelegenheden_overzicht_widget.dart' show HorecagelegenhedenOverzichtWidget; import 'package:flutter/material.dart'; import 'package:flutter_spinkit/flutter_spinkit.dart'; import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; class HorecagelegenhedenOverzichtModel extends FlutterFlowModel { /// State fields for stateful widgets in this page. // State field(s) for TabBar widget. TabController? tabBarController; int get tabBarCurrentIndex => tabBarController != null ? tabBarController!.index : 0; int get tabBarPreviousIndex => tabBarController != null ? tabBarController!.previousIndex : 0; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels1 = {}; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels2 = {}; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels3 = {}; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels4 = {}; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels5 = {}; // Models for HorecagelegenheidoverzichtKaart dynamic component. Map horecagelegenheidoverzichtKaartModels6 = {}; // Model for drawerComponent component. late DrawerComponentModel drawerComponentModel; final Map debugGeneratorVariables = {}; final Map debugBackendQueries = {}; final Map widgetBuilderComponents = {}; @override void initState(BuildContext context) { drawerComponentModel = createModel(context, () => DrawerComponentModel()); debugLogWidgetClass(this); } @override void dispose() { tabBarController?.dispose(); drawerComponentModel.dispose(); } @override WidgetClassDebugData toWidgetClassDebugData() => WidgetClassDebugData( widgetParameters: { 'plaats': debugSerializeParam( widget?.plaats, ParamType.String, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=HorecagelegenhedenOverzicht', searchReference: 'reference=ShgKEAoGcGxhYXRzEgYzcXVrMXVyBAgDIAFQAVoGcGxhYXRz', name: 'String', nullable: true, ) }.withoutNulls.entries, widgetStates: { 'tabBarCurrentIndex': debugSerializeParam( tabBarCurrentIndex, ParamType.int, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=HorecagelegenhedenOverzicht', name: 'int', nullable: true, ), 'tabBarPreviousIndex': debugSerializeParam( tabBarPreviousIndex, ParamType.int, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=HorecagelegenhedenOverzicht', name: 'int', nullable: true, ) }.entries, generatorVariables: debugGeneratorVariables.entries, backendQueries: debugBackendQueries.entries, componentStates: { 'drawerComponentModel (drawerComponent)': drawerComponentModel?.toWidgetClassDebugData(), ...widgetBuilderComponents.map( (key, value) => MapEntry( key, value.toWidgetClassDebugData(), ), ), }.withoutNulls.entries, dynamicComponentStates: { 'horecagelegenheidoverzichtKaartModels1 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels1.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels1.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), 'horecagelegenheidoverzichtKaartModels2 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels2.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels2.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), 'horecagelegenheidoverzichtKaartModels3 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels3.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels3.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), 'horecagelegenheidoverzichtKaartModels4 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels4.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels4.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), 'horecagelegenheidoverzichtKaartModels5 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels5.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels5.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), 'horecagelegenheidoverzichtKaartModels6 (List)': DynamicWidgetClassDebugData( componentStates: Map.fromIterables( List.generate(horecagelegenheidoverzichtKaartModels6.length, (index) => '[$index]'), horecagelegenheidoverzichtKaartModels6.values .map((e) => e.toWidgetClassDebugData()), ).entries, ), }.withoutNulls.entries, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd/tab=uiBuilder&page=HorecagelegenhedenOverzicht', searchReference: 'reference=OhtIb3JlY2FnZWxlZ2VuaGVkZW5PdmVyemljaHRQAVobSG9yZWNhZ2VsZWdlbmhlZGVuT3ZlcnppY2h0', widgetClassName: 'HorecagelegenhedenOverzicht', ); }