AIChatviewController constructor
AIChatviewController({
- List<
ChatModel> ? initialMessageList, - ScrollController? scrollController,
- TextFieldDecoration? textFieldDecoration,
- TextEditingController? textEdittingController,
- TypewriterAnimatedConfiguration? typewriterAnimatedConfiguration,
Implementation
AIChatviewController({
List<ChatModel>? initialMessageList,
ScrollController? scrollController,
TextFieldDecoration? textFieldDecoration,
TextEditingController? textEdittingController,
TypewriterAnimatedConfiguration? typewriterAnimatedConfiguration,
}) : initialMessageList = initialMessageList ?? [],
typewriterAnimatedConfiguration =
typewriterAnimatedConfiguration ?? TypewriterAnimatedConfiguration(),
textEdittingController =
textEdittingController ?? TextEditingController(),
textFieldDecoration = textFieldDecoration ?? TextFieldDecoration(),
scrollController = scrollController ?? ScrollController();