PromptInput constructor

const PromptInput({
  1. Key? key,
  2. required OnSubmit onSubmit,
  3. OnSuggestionRequest? onSuggestionRequest,
  4. bool isLoading = false,
  5. String? placeholder,
  6. String? currentModel,
  7. List<String>? availableModels,
  8. ValueChanged<String>? onModelChanged,
  9. int? tokenCount,
  10. int? maxTokens,
  11. bool vimMode = false,
  12. FocusNode? focusNode,
})

Implementation

const PromptInput({
  super.key,
  required this.onSubmit,
  this.onSuggestionRequest,
  this.isLoading = false,
  this.placeholder,
  this.currentModel,
  this.availableModels,
  this.onModelChanged,
  this.tokenCount,
  this.maxTokens,
  this.vimMode = false,
  this.focusNode,
});