TextArea constructor

const TextArea({
  1. Key? id,
  2. required TextAreaState state,
  3. String? placeholder,
  4. int? maxLines,
  5. int? maxLength,
  6. bool submitOnCtrlEnter = true,
  7. void onChanged(
    1. String value
    )?,
  8. void onSubmit(
    1. String value
    )?,
  9. Style? textStyle,
  10. Style? placeholderStyle,
  11. Style? cursorStyle,
})

Implementation

const TextArea({
  Key? id,
  required this.state,
  this.placeholder,
  this.maxLines,
  this.maxLength,
  this.submitOnCtrlEnter = true,
  this.onChanged,
  this.onSubmit,
  this.textStyle,
  this.placeholderStyle,
  this.cursorStyle,
}) : _id = id;