InputTextField constructor

const InputTextField({
  1. Key? key,
  2. required String labelText,
  3. required String eventName,
  4. String hintText = '',
  5. String? helpText,
  6. bool isSensitiveText = false,
  7. bool hasErrorMessage = true,
  8. bool isOnChangeValidation = false,
  9. TextInputType? keyboardType,
  10. required TextEditingController controller,
  11. String? validator(
    1. String value
    )?,
  12. Widget? secondaryAction,
  13. FocusNode? focusNode,
  14. FocusNode? nextFocusNode,
  15. IconData? icon,
})

Implementation

const InputTextField({
  Key? key,
  required this.labelText,
  required this.eventName,
  this.hintText = '',
  this.helpText,
  this.isSensitiveText = false,
  this.hasErrorMessage = true,
  this.isOnChangeValidation = false,
  this.keyboardType,
  required this.controller,
  this.validator,
  this.secondaryAction,
  this.focusNode,
  this.nextFocusNode,
  this.icon,
}) : super(key: key);