AgentComposerController.fromValue constructor

AgentComposerController.fromValue(
  1. TextEditingValue? value, {
  2. bool running = false,
  3. bool clearOnSubmit = true,
})

Creates a composer draft from an existing editing value.

Implementation

AgentComposerController.fromValue(
  super.value, {
  bool running = false,
  this.clearOnSubmit = true,
}) : _running = running,
     super.fromValue();