TextField constructor

const TextField({
  1. required Key id,
  2. required String value,
  3. String placeholder = '',
  4. ValueChanged<String>? onChanged,
  5. VoidCallback? onSubmit,
  6. bool obscure = false,
  7. bool validate(
    1. String
    )?,
  8. Style? focusedStyle,
  9. Style? unfocusedStyle,
  10. BorderStyle? border,
  11. TextFieldState? state,
})

Implementation

const TextField({
  required this.id,
  required this.value,
  this.placeholder = '',
  this.onChanged,
  this.onSubmit,
  this.obscure = false,
  this.validate,
  this.focusedStyle,
  this.unfocusedStyle,
  this.border,
  this.state,
});