Build a Chat App with the Flutter Chat SDK

This tutorial will walk you through developing a basic chat application in Flutter using PubNub Dart SDK.

The source code for this application can be found on Github at



Before running this application, be sure you have the following installed:

  • Flutter 

  • Any Flutter dependencies.  For example, to target Android you will need the Android toolchain installed.  Run “flutter doctor” to make sure you have everything you want installed correctly.

Download Source Application

In a terminal, navigate to an empty folder.  Enter the following command to clone the repository:

And navigate to the application folder:

Important: Install the flutter packages that this app needs

The main git branch contains the completed version of this tutorial.  If you would like to follow along, please checkout the following branch:

BackStep 1 of 4Next