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 '/custom_code/actions/index.dart' as actions; import 'kanweg_widget.dart' show KanwegWidget; import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter_spinkit/flutter_spinkit.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; class KanwegModel extends FlutterFlowModel { /// Local state fields for this page. late LoggableList _agendaLijst = LoggableList([]); set agendaLijst(List value) { if (value != null) { _agendaLijst = LoggableList(value); } debugLogWidgetClass(this); } List get agendaLijst => _agendaLijst?..logger = () => debugLogWidgetClass(this); void addToAgendaLijst(dynamic item) => agendaLijst.add(item); void removeFromAgendaLijst(dynamic item) => agendaLijst.remove(item); void removeAtIndexFromAgendaLijst(int index) => agendaLijst.removeAt(index); void insertAtIndexInAgendaLijst(int index, dynamic item) => agendaLijst.insert(index, item); void updateAgendaLijstAtIndex(int index, Function(dynamic) updateFn) => agendaLijst[index] = updateFn(agendaLijst[index]); /// State fields for stateful widgets in this page. // Stores action output result for [Custom Action - drupalRequest] action in kanweg widget. dynamic? _resultDrupalRequest; set resultDrupalRequest(dynamic? value) { _resultDrupalRequest = value; debugLogWidgetClass(this); } dynamic? get resultDrupalRequest => _resultDrupalRequest; final Map debugGeneratorVariables = {}; final Map debugBackendQueries = {}; final Map widgetBuilderComponents = {}; @override void initState(BuildContext context) { debugLogWidgetClass(this); } @override void dispose() {} @override WidgetClassDebugData toWidgetClassDebugData() => WidgetClassDebugData( localStates: { 'agendaLijst': debugSerializeParam( agendaLijst, ParamType.JSON, isList: true, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=kanweg', searchReference: 'reference=Qh4KFAoLYWdlbmRhTGlqc3QSBTJpNnFvcgYSAggJIAFQAVoLYWdlbmRhTGlqc3RiBmthbndlZw==', name: 'dynamic', nullable: false, ) }.entries, actionOutputs: { 'resultDrupalRequest': debugSerializeParam( resultDrupalRequest, ParamType.JSON, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd?tab=uiBuilder&page=kanweg', name: 'dynamic', nullable: true, ) }.entries, generatorVariables: debugGeneratorVariables.entries, backendQueries: debugBackendQueries.entries, componentStates: { ...widgetBuilderComponents.map( (key, value) => MapEntry( key, value.toWidgetClassDebugData(), ), ), }.withoutNulls.entries, link: 'https://app.flutterflow.io/project/uitgaanskrant-1qhvtd/tab=uiBuilder&page=kanweg', searchReference: 'reference=OgZrYW53ZWdQAVoGa2Fud2Vn', widgetClassName: 'kanweg', ); }