forms library
Classes
- ControlConfig
- DropDown
- ExtraValidationSubForm
- This class allows to send validation paramaters for the SubForm widget
- FieldTypes
- FormControls
- FormControlTypes
- FormFields
- Forms
- FormsColors
- GroupedList
- GroupedListMultiSelectItems
- GroupedListSingleSelectItems
- GroupedListSubForm
- Question
- QuestionConfig
- SubFormView
- TextInput
- ToggleSwitch
- Validate
Properties
- emailRegExp → RegExp
-
final
Functions
-
alreadyExists(
dynamic value, String fieldName) → String -
emailValidationMessage(
String value) → String? - Validates Email address
-
groupBy<
S, T> (Iterable< S> values, T key(S)) → Map<T, List< S> > -
Groups the elements in
valuesby the value returned bykey. -
isEmailValid(
String value) → bool -
isRequired(
dynamic value) → String? - Checks if field is empty and returns required message
-
validate(
FormControls element, String value) → String?