bloc_inspector 0.0.6 copy "bloc_inspector: ^0.0.6" to clipboard
bloc_inspector: ^0.0.6 copied to clipboard

Bloc inspector client.

bloc_inspector #

This package allows you listen for changes in your bloc. Use together with BLoC Inspector desktop application.

Features #

  • Listen for changes in your BLoCs.

Getting started #

Put your runApp method in a BlocOverrides zone.

BlocOverrides.runZoned(
    () async {
        runApp(MyApp());
    },
    blocObserver: InvestigativeBlocObserver(
        FlutterBlocInvestigativeClient(
            inEmulator: true,
            enabled: kDebugMode,
        ),
    ),
);