Chat constructor
const
Chat({
- Key? key,
- required YaloChatClient client,
- bool showAttachmentButton = true,
- PreferredSizeWidget? appBar,
- VoidCallback? onShopPressed,
- VoidCallback? onCartPressed,
- ChatTheme theme = const ChatTheme(),
Implementation
const Chat({
super.key,
required this.client,
this.showAttachmentButton = true,
this.appBar,
this.onShopPressed,
this.onCartPressed,
this.theme = const ChatTheme(),
});