/flutter-counter-app-with-stream

A simple flutter counter boilerplate that implemented Stream instead of setState for one of my article https://blog.dammak.dev/widget-of-the-week-streambuilder-ck3oc7l6h000k0us1g6wbbgcj

Primary LanguageDart

Flutter Counter App with Stream

A demo application of Flutter counter boilerplate using Stream, at default flutter counter boilerplate comes with SetState Implementation, but setState has it own disadvantage, it rebuild the own widget and every children which affect the performance in a bad way, But using Stream, Streambuilder you only update a single widget not the whole widget. I created this demo application to show how to use Stream, StreamController and StreamBuilder

article link : https://blog.dammak.dev/widget-of-the-week-streambuilder-ck3oc7l6h000k0us1g6wbbgcj

20191128100054_1_.gif

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.