CustomInputField constructor
const
CustomInputField({
- Key? key,
- required String labelText,
- required ValueChanged<
String> onSubmitted, - required int maxLength,
- required int minLengt,
- required ValueChanged<
bool> validadChange, - required TextInputType textType,
- required TextInputFormatter format,
- String defaultValue = '',
- bool isDisabled = false,
Implementation
const CustomInputField({
super.key,
required this.labelText,
required this.onSubmitted,
required this.maxLength,
required this.minLengt,
required this.validadChange,
required this.textType,
required this.format,
this.defaultValue = '', // Agregado
this.isDisabled = false, // Agregado
});