QBotConfig constructor
QBotConfig({
- Color? bgColor,
- Widget? divider,
- required EdgeInsetsGeometry txtFieldPadding,
- required TextEditingController msgController,
- TextStyle? txtFieldStyle,
- InputDecoration? txtFiledDecoration,
- required String hintText,
- Icon? sendIcon,
- Color? txtFiledGgColor,
- ShapeBorder? txtFiledGgShape,
- required String welcomeMsg,
- String? noResponseMsg,
- TextStyle? msgStyle,
- required Icon botIcon,
- required Color botMsgBgColor,
- required Icon userIcon,
- required Color userMsgBgColor,
- required double paddingBetweenMsgs,
- Widget? msgTime,
- Widget? typing,
- double? suggestionsListHeight,
- Color? suggestionsListBgColor,
- TextStyle? suggestionsListTextStyle,
- int delay = 3,
- required List<
String> keywords, - required List<
String> responses,
Implementation
QBotConfig({
this.bgColor,
this.divider,
required this.txtFieldPadding,
required this.msgController,
this.txtFieldStyle,
this.txtFiledDecoration,
required this.hintText,
this.sendIcon,
this.txtFiledGgColor,
this.txtFiledGgShape,
//
required this.welcomeMsg,
this.noResponseMsg,
this.msgStyle,
required this.botIcon,
required this.botMsgBgColor,
required this.userIcon,
required this.userMsgBgColor,
required this.paddingBetweenMsgs,
this.msgTime,
this.typing,
this.suggestionsListHeight,
this.suggestionsListBgColor,
this.suggestionsListTextStyle,
this.delay = 3,
//
required this.keywords,
required this.responses,
});