abc_bloc_inspector 1.0.0 copy "abc_bloc_inspector: ^1.0.0" to clipboard
abc_bloc_inspector: ^1.0.0 copied to clipboard

The ABC Bloc Inspector is a Flutter package that aids in debugging by providing advanced tools like `AbcBlocInspectorObserver` for tracking state changes in DevTools, and `StateReplayBloc` for directl [...]

example/lib/main.dart

import 'package:flutter/widgets.dart';
import 'package:flutter_todos/bootstrap.dart';
import 'package:local_storage_todos_api/local_storage_todos_api.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final todosApi = LocalStorageTodosApi(
    plugin: await SharedPreferences.getInstance(),
  );

  bootstrap(todosApi: todosApi);
}
0
likes
150
points
1.84k
downloads

Publisher

verified publisherlycorp.co.jp

Weekly Downloads

The ABC Bloc Inspector is a Flutter package that aids in debugging by providing advanced tools like `AbcBlocInspectorObserver` for tracking state changes in DevTools, and `StateReplayBloc` for directly overwriting state with a `Map`. These features assist in tracking state and mocking state in the DevTools extension, providing a robust environment for testing and debugging.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

bloc, flutter

More

Packages that depend on abc_bloc_inspector