isClosed property

bool get isClosed
inherited

Whether the bloc is closed.

A bloc is considered closed once close is called. Subsequent state changes cannot occur within a closed bloc.

Implementation

bool get isClosed => _stateController.isClosed;