kick_chat 1.6.0 copy "kick_chat: ^1.6.0" to clipboard
kick_chat: ^1.6.0 copied to clipboard

kick_chat allows you to read a Kick chat.

kick_chat #

💬 Flutter Package for Kick Chat

Usage #

Initialize the chat

KickChat kickChat = KickChat(
  kc.channel,
  onDone: () => {},
  onError: () => {},
);

Connect to the chat

kickChat.connect();

Listen to new chat events

kickChat.chatStream.listen((message) {
  final KickEvent? kickEvent = eventParser(message);
  if (kickEvent?.event == TypeEvent.message) {
    // your code
  }
})
1
likes
120
points
256
downloads

Publisher

verified publisherlezd.dev

Weekly Downloads

kick_chat allows you to read a Kick chat.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

api_7tv, dio, flutter, ua_client_hints, web_socket_channel

More

Packages that depend on kick_chat