AppzInputField constructor
const
AppzInputField({
- Key? key,
- required String label,
- String? hintText,
- TextEditingController? controller,
- AppzFieldType fieldType = AppzFieldType.defaultType,
- AppzFieldState initialFieldState = AppzFieldState.defaultState,
- String? initialValue,
- FocusNode? focusNode,
- ValueChanged<
String> ? onChanged, - VoidCallback? onTap,
- ValueChanged<
String> ? onSubmitted, - FormFieldValidator<
String> ? validator, - bool obscureText = false,
- TextInputAction? textInputAction,
- int? maxLength,
Implementation
const AppzInputField({
super.key,
required this.label,
this.hintText,
this.controller,
this.fieldType = AppzFieldType.defaultType,
this.initialFieldState = AppzFieldState.defaultState,
this.initialValue,
this.focusNode,
this.onChanged,
this.onTap,
this.onSubmitted,
this.validator,
this.obscureText = false,
this.textInputAction,
this.maxLength,
// this.readOnly = false,
});