FormBuilderController class

Constructors

FormBuilderController.new({required BehaviorSubject<Pair<bool, Map<String, dynamic>>> subject, required BehaviorSubject<Map<String, FormItem>> formMap, required Map<String, (FocusNode, bool)> focusMap, required FormStrategy strategy, required CdxInputThemeData inputTheme, int stepperIndex = 0})

Properties

controllers Map<String, TextEditingController>
final
focusMap Map<String, (FocusNode, bool)>
final
formMap → BehaviorSubject<Map<String, FormItem>>
final
formMapOutput → BehaviorSubject<Map<String, FormItem>>
final
hashCode int
The hash code for this object.
no setterinherited
inputTheme CdxInputThemeData
final
isEdited bool
getter/setter pair
isEnabled bool
getter/setter pair
mapArrayCustomSubjects Map<String, BehaviorSubject<List>>
final
mapArraySubjects Map<String, BehaviorSubject<List<FormArrayItem>>>
final
mapCustomSubjects Map<String, BehaviorSubject>
final
mapDropdownSubjects Map<String, BehaviorSubject<DropdownItem?>>
final
mapImageSubjects Map<String, BehaviorSubject<PicDataWrapper>>
final
mapMultiImageSubjects Map<String, BehaviorSubject<List<BehaviorSubject<PicDataWrapper>>>>
final
mapMultiSelectSubjects Map<String, BehaviorSubject<List<MultiSelectItem>>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepperIndex int
getter/setter pair
strategy FormStrategy
final
subject → BehaviorSubject<Pair<bool, Map<String, dynamic>>>
final
subscriptions List<StreamSubscription>
final
valuesMap Map<String, InputStatus>
final

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCustom(String key, FormItem v, Object? d) InputStatus
updateValueMap(String key, FormItem v, Object? value, {bool formValidation = true, bool updateControllerText = false}) InputStatus
validateForm() → void

Operators

operator ==(Object other) bool
The equality operator.
inherited