TextInputElement constructor

TextInputElement({
  1. String elementType = UIElementTypeConstants.textInput,
  2. required String elementId,
  3. required String label,
  4. int maxLines = 1,
  5. TextInputPlaceholder? placeholder,
  6. String? response,
  7. String? defaultValue,
  8. bool? optional = true,
})

Implementation

TextInputElement({
  super.elementType = UIElementTypeConstants.textInput,
  required super.elementId,
  required this.label,
  this.maxLines = 1,
  this.placeholder,
  super.response,
  super.defaultValue,
  bool? optional = true,
}) : super(optional: optional ?? true);