An open API service indexing awesome lists of open source software.

https://github.com/dammak/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
https://github.com/dammak/flutter-counter-app-with-stream

androi flutter flutterdart flutterdev flutters goog ios reactive-programming rxd

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://cdn.hashnode.com/res/hashnode/image/upload/v1574931810668/ieT2q3Kg2.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:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.