GlobalFormController class
Constructors
- GlobalFormController({required BuildContext context, required FormData formData, required Submission submission})
Properties
-
componentsTree
↔ Map<
String, ComponentData> -
getter/setter pair
- context ↔ BuildContext
-
getter/setter pair
- form ↔ FormEntity
-
latefinal
- formData ↔ FormData
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRead ↔ bool
-
getter/setter pair
- lastKeyChanged ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- submission ↔ Submission
-
getter/setter pair
Methods
-
addLocalData(
Map< String, dynamic> newData) → void - Increment local data with later queries
-
changeTab(
String key, dynamic value) → void - When a tab is changed in the widget, it will be mirrored in the component in the component data
-
changeValue(
String key, dynamic value, {Map? diferentData}) → void - Change value in component of component data tree and submit tree
-
dropdownUseUrlData(
ComponentEntity component) → bool -
getArgsParam(
) → String -
getComponentWidgetInstance(
String key) → Widget - Search with key and return widget of the componentData tree
-
getCurrentComponentInstance(
String key) → ComponentEntity -
getCurrentValue(
String key) → String -
getDependenceTreeValue(
String key) → ValueNotifier? -
getHeader(
) → Map< String, String> -
getWidgets(
) → List< Widget> - Get inital list components, from here subwidget must be built from their predecessors
-
hasDependence(
String key) → bool - Verify has dependece of the key in dependence tree
-
init(
) → void - Should be call in first page of the package
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDropdownUrlValues(
ComponentEntity component, Map< String, dynamic> map) → void -
updateDropdownValues(
ComponentEntity component) → void -
updateUrl(
ComponentEntity component) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited