VelocityTextField constructor

VelocityTextField({
  1. Key? key,
  2. String initialText = '',
  3. TextEditingController? controller,
  4. bool obscureText = false,
  5. bool enabled = true,
  6. TextInputType keyboardType = TextInputType.text,
  7. String? caption,
  8. String? placeholder,
  9. TextCapitalization capitalization = TextCapitalization.sentences,
  10. dynamic onChanged(
    1. String
    )?,
  11. dynamic onSubmitted(
    1. String
    )?,
  12. int maxLines = 1,
})

Implementation

VelocityTextField({
  Key? key,
  this.initialText = '',
  this.controller,
  this.obscureText = false,
  this.enabled = true,
  this.keyboardType = TextInputType.text,
  this.caption,
  this.placeholder,
  this.capitalization = TextCapitalization.sentences,
  this.onChanged,
  this.onSubmitted,
  this.maxLines = 1,
}) : super(key: key);