BoxInputField constructor

BoxInputField({
  1. Key? key,
  2. required TextEditingController controller,
  3. String placeholder = '',
  4. Widget? leading,
  5. bool enabled = true,
  6. Widget? trailing,
  7. void trailingTapped()?,
  8. Function? onChanged,
  9. bool password = false,
  10. Function? validatorFunc,
  11. TextInputType textInputType = TextInputType.text,
})

Implementation

BoxInputField({
  Key? key,
  required this.controller,
  this.placeholder = '',
  this.leading,
  this.enabled = true,
  this.trailing,
  this.trailingTapped,
  this.onChanged,
  this.password = false,
  this.validatorFunc,
  this.textInputType = TextInputType.text,
}) : super(key: key);