MyoroInputConfiguration constructor

const MyoroInputConfiguration({
  1. MyoroInputStyleEnum inputStyle = inputStyleDefaultValue,
  2. TextAlign textAlign = textAlignDefaultValue,
  3. String label = labelDefaultValue,
  4. String text = textDefaultValue,
  5. String placeholder = placeholderDefaultValue,
  6. Widget? suffix,
  7. bool enabled = enabledDefaultValue,
  8. bool readOnly = readOnlyDefaultValue,
  9. bool autofocus = autofocusDefaultValue,
  10. bool showClearTextButton = showClearTextButtonDefaultValue,
  11. MyoroInputCheckboxOnChanged? checkboxOnChanged,
  12. MyoroInputValidation? validation,
  13. MyoroInputOnFieldSubmitted? onFieldSubmitted,
  14. MyoroInputOnChanged? onChanged,
  15. VoidCallback? onCleared,
  16. Key? inputKey,
  17. VoidCallback? onTap,
  18. FocusNode? focusNode,
  19. TextEditingController? controller,
})

Creates a new instance of MyoroInputConfiguration.

Implementation

const MyoroInputConfiguration({
  this.inputStyle = inputStyleDefaultValue,
  this.textAlign = textAlignDefaultValue,
  this.label = labelDefaultValue,
  this.text = textDefaultValue,
  this.placeholder = placeholderDefaultValue,
  this.suffix,
  this.enabled = enabledDefaultValue,
  this.readOnly = readOnlyDefaultValue,
  this.autofocus = autofocusDefaultValue,
  this.showClearTextButton = showClearTextButtonDefaultValue,
  this.checkboxOnChanged,
  this.validation,
  this.onFieldSubmitted,
  this.onChanged,
  this.onCleared,
  this.inputKey,
  this.onTap,
  this.focusNode,
  this.controller,
});