Skip to content

LezdCS/kick_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  }
})

Releases

No releases published

Packages

No packages published

Languages