Live demo

Flutter Chat Demo: Group chat with the PubNub Dart SDK

Try these · any order

Done: 0/4
  • To do: Send a message

  • To do: Receive a message (You might need to open a new tab)

  • To do: Change your friendly name

  • To do: Be in a chat with 3 or more people

Build it yourself

Run the Flutter chat app

Clone the app, add your own PubNub keys, and run it in Chrome or on any device Flutter supports.

GitHub

PubNubDevelopers/GettingStarted-Flutter-SDK-Tutorial

Enable Presence, Message Persistence, Stream Controller, and App Context on your keyset. Add your publish and subscribe keys to lib/utils/keys.dart, run flutter packages get, then flutter run -d chrome.

git clone https://github.com/PubNubDevelopers/GettingStarted-Flutter-SDK-Tutorial.git
View on GitHub