ChatView constructor
ChatView({
- Key? key,
- ChatThemeData? theme,
- ChatController? controller,
- Widget? toolbar,
The constructor for the chat view.
Implementation
ChatView({
super.key,
ChatThemeData? theme,
ChatController? controller,
this.toolbar,
}) {
this.theme = theme ??
ChatThemeData(
light: ChatColorThemeData(),
dark: ChatColorThemeData(),
);
this.controller = controller ?? ChatController();
}