ControlConfig class

Constructors

ControlConfig({String? decoration, dynamic description, String? helpText, String? hintText, String? fields, String? title, String? key, String? type, String? label, Function? validator, IconData? icon, Color? iconColor, dynamic value, String? placeholder, bool isRequired = false, bool? isEditable = true, bool hiddenLabel = true, TextInputType? inputType, TextInputFormatter? inputFormatters, QuestionConfig? questionConfig, bool isVisible = true, bool isEnabled = true, Map? dropDownItems, Function? onChange, List<String?>? selectedValues = const [], bool isMultiselect = false, bool isGrouped = false, List? groupedListItems = const [], bool showHeaderToggleSwitch = false, bool showSubHeaderToggleSwitch = false, bool headerToggleSwitchSelected = false, bool showMainHeader = true, dynamic subFormValue, String? routeName, bool hideModalTitle = false, dynamic extraParams, bool detailedDescription = false, bool showGroupItemTitle = true, bool? isValid, int? maxCharacters, int? maxLines, dynamic alreadyExists = const [], ExtraValidationSubForm? extraValidation, String saveBtnText = 'SAVE', Function? onSave})

Properties

alreadyExists ↔ dynamic
getter/setter pair
autoValidated String?
getter/setter pair
decoration String?
getter/setter pair
description ↔ dynamic
getter/setter pair
detailedDescription bool
getter/setter pair
getter/setter pair
extraParams ↔ dynamic
getter/setter pair
extraValidation ExtraValidationSubForm?
getter/setter pair
fields String?
getter/setter pair
groupedListItems List?
SINGLE OR MULTI (GroupedListMultiSelectItems or GroupedListSingleSelectItems)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerToggleSwitchSelected bool
Will activate the header switch on launch
getter/setter pair
helpText String?
getter/setter pair
hiddenLabel bool
getter/setter pair
hideModalTitle bool
getter/setter pair
hintText String?
getter/setter pair
icon IconData?
getter/setter pair
iconColor Color?
getter/setter pair
inputFormatters TextInputFormatter?
getter/setter pair
inputType TextInputType?
getter/setter pair
isEditable bool?
getter/setter pair
isEnabled bool
getter/setter pair
isGrouped bool
MULTI ONLY - Groups the list by name e.g. GroupedListMultiSelectItems(... group: 'Customer')
getter/setter pair
isMultiselect bool
To activate single/multi select
getter/setter pair
isRequired bool
getter/setter pair
isValid bool?
getter/setter pair
isVisible bool
getter/setter pair
key String?
getter/setter pair
label String?
getter/setter pair
maxCharacters int?
getter/setter pair
maxLines int?
getter/setter pair
onChange Function?
getter/setter pair
onSave Function?
getter/setter pair
placeholder String?
getter/setter pair
questionConfig QuestionConfig?
getter/setter pair
routeName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saveBtnText String
getter/setter pair
selectedValues List<String?>?
Pre-sets the selected values
getter/setter pair
showGroupItemTitle bool
SINGLE ONLY - Show the selected item and groupName GroupName(Selected Item) - defaults true
getter/setter pair
showHeaderToggleSwitch bool
MULTI ONLY (e.g. Will enable the switch to select all or none on headers) - default is false
getter/setter pair
showMainHeader bool
GROUPED LIST SUB FORM WIDGET
getter/setter pair
showSubHeaderToggleSwitch bool
MULTI ONLY (e.g. Will enable the switch to select all or none on sub headers) - default is false
getter/setter pair
subFormValue ↔ dynamic
getter/setter pair
title String?
getter/setter pair
type String?
getter/setter pair
validator Function?
getter/setter pair
value ↔ dynamic
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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