InputField constructor
InputField({})
The model from which the FormField is generated, in relation to the fields received.
Implementation
InputField(
{required this.id,
required this.fieldType,
this.hintText,
this.prefixIcon,
this.initialValue,
this.items,
this.controller,
this.validator,
this.focusNode})
: assert((fieldType != FieldType.dropdown || items != null),
'Dropdown type require items not null');