ChatGPTWidget constructor

const ChatGPTWidget({
  1. Key? key,
  2. String initialPrompt = '',
  3. List<String>? recentList,
  4. dynamic onResponse(
    1. String
    )?,
  5. InputDecoration? promptFieldInputDecoration,
  6. bool shortReply = false,
  7. bool testWithoutKey = false,
  8. Widget? loaderWidget,
  9. required ChatGPTModuleStrings chatGPTModuleStrings,
  10. required Widget child,
})

Implementation

const ChatGPTWidget({
  super.key,
  this.initialPrompt = '',
  this.recentList,
  this.onResponse,
  this.promptFieldInputDecoration,
  this.shortReply = false,
  this.testWithoutKey = false,
  this.loaderWidget,
  required this.chatGPTModuleStrings,
  required this.child,
});