PubNub Product Updates

Introducing the Dart and Flutter SDK for PubNub

2 min read David Lin on May 1, 2020
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

The Dart SDK provides developers a simple way to build client-optimized multi-platform applications using Dart with the Flutter Framework on PubNub.

In our continuous quest to deliver a world-class developer experience, we’re pleased to introduce our new PubNub Dart SDK. To get started, you can also check out this example application that leverages both Flutter and Dart.

Our developers have been wanting to use the Flutter Framework on PubNub to simplify the creation of natively-compiled applications for mobile devices, web and desktop from a single codebase. Creating apps quickly on multiple platforms is important in today’s always-on world, and we strive to give our developers the latest and greatest. Using Flutter is not specific to Dart, nor is using the Flutter Framework required for using the PubNub Dart SDK. But, the SDK provides developers with an array of options for producing multi-platform applications.

Enabling Multi-Platform Development using Dart and Flutter

One of the biggest challenges we’ve found our customers want to solve is the ability to produce client-optimized applications on multiple platforms. Incidentally, this is one of the main reasons that companies are choosing to write their applications in Dart. In combination with the Flutter Framework, Dart allows companies to scale quickly across platforms without having to produce and maintain a different team for each one.

In the past 6 months, there have been a lot of PubNub developers that have made requests specifically for Flutter usage. For us, this ultimately came down to supporting Dart itself. In order to provide solutions for developers with as many of the major technologies as possible, the logical conclusion was to provide a PubNub native Dart SDK.

A Better Developer Experience with Dart and Flutter

Developers using the new Dart SDK will be able to take advantage of the Dart programming language and leverage the Flutter Framework to quickly produce quick, client-optimized applications on multiple platforms with a single codebase. Whether it’s building a fast proof-of-concept, or developing a scalable real-time production application for users on any platform, the combination of the PubNub Dart SDK and the Flutter Framework opens up a world of possibilities.

Having a single codebase for a multi-platform application is especially important for those that don’t necessarily have the expertise for all their target platforms, and for those that love to keep life simple and manage a single codebase. With a single codebase, features remain consistent across platforms. Instead of bringing platform versions up to parity, you can focus on adding new and exciting core features for your users.

Of course, because Dart is a programming language, it is not required that you use Flutter in order to reap the benefits the Dart SDK offers. Rest assured, the SDK can be used in a pure Dart application with the same benefits of creating applications for multiple platforms. Developers who go this route will simply handle the UI portions manually, without any assistance from a Framework like Flutter.

Finally, we'd like to extend a special thanks to all of the developers who love using PubNub enough to request support for Dart and Flutter. Thanks to you, the whole community now has a new way to use PubNub to build scalable real-time applications for their users on any platform, easily.

More from PubNub

NPP and HIPAA: Notice of Privacy Practices Definition
Healthcare CategoryJan 6, 20235 min read

NPP and HIPAA: Notice of Privacy Practices Definition

A Notice of Privacy Practices (NPP) is one of the requirements of HIPAA and helps patients understand their personal data rights.

Michael Carroll

Michael Carroll

HIPAA Violation Examples
Healthcare CategoryJan 5, 20236 min read

HIPAA Violation Examples

HIPAA violations can be financially expensive and devastating to a brand. Examine some examples of HIPAA violations, and learn...

Michael Carroll

Michael Carroll

HIPAA Technical Safeguards: How To Protect Sensitive Data
Healthcare CategoryJan 5, 20236 min read

HIPAA Technical Safeguards: How To Protect Sensitive Data

HIPAA covered entities must follow the five technical safeguards to achieve HIPAA compliance and prevent data corruption.

Michael Carroll

Michael Carroll