OtherActive

Flutter Counter Tutorial

A tutorial for building a counter app with the Bloc library in Flutter.

Open source page

Field note

What it does

This tutorial demonstrates how to build a simple counter application using the Bloc library, covering key topics such as BlocObserver, BlocProvider, BlocBuilder, and Cubit.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

sdk

Dart / flutter_bloc

Product features

Product features

BlocBuilder

Flutter widget that handles building the widget in response to new states.

BlocObserver

Observe all state changes in the application.

BlocProvider

Flutter widget that provides a bloc to its children.

Cubit

A class that manages state using simple methods.