| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- 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<KanwegWidget> {
- /// Local state fields for this page.
- late LoggableList<dynamic> _agendaLijst = LoggableList([]);
- set agendaLijst(List<dynamic> value) {
- if (value != null) {
- _agendaLijst = LoggableList(value);
- }
- debugLogWidgetClass(this);
- }
- List<dynamic> 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<String, DebugDataField> debugGeneratorVariables = {};
- final Map<String, DebugDataField> debugBackendQueries = {};
- final Map<String, FlutterFlowModel> 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',
- );
- }
|