MyoroInputConfiguration constructor
const
MyoroInputConfiguration({
- MyoroInputStyleEnum inputStyle = inputStyleDefaultValue,
- TextAlign textAlign = textAlignDefaultValue,
- String label = labelDefaultValue,
- String text = textDefaultValue,
- String placeholder = placeholderDefaultValue,
- Widget? suffix,
- bool enabled = enabledDefaultValue,
- bool readOnly = readOnlyDefaultValue,
- bool autofocus = autofocusDefaultValue,
- bool showClearTextButton = showClearTextButtonDefaultValue,
- MyoroInputCheckboxOnChanged? checkboxOnChanged,
- MyoroInputValidation? validation,
- MyoroInputOnFieldSubmitted? onFieldSubmitted,
- MyoroInputOnChanged? onChanged,
- VoidCallback? onCleared,
- Key? inputKey,
- VoidCallback? onTap,
- FocusNode? focusNode,
- 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,
});