Search packages, repositories and app categories

Package detailsv2.1.1

isolate_bloc

A dart package that helps implement the BLoC pattern. BLoC works in Isolate and don't slow down UI.

AndroidiOSmacOSWindowsLinux
30-day downloads
49
Likes
42
Pub points
130

Install package

flutter pub add isolate_bloc

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

isolate_bloc is a Dart package that enables the BLoC (Business Logic Component) pattern to run within isolates, ensuring that heavy computations do not block the UI thread. By offloading business logic to separate isolates, it maintains smooth app performance across all platforms. This approach enhances responsiveness and scalability, particularly for CPU-intensive tasks. The package integrates seamlessly with Flutter and supports Android, iOS, macOS, Windows, and Linux.

Use cases

  • Heavy computation without blocking UI
  • Real-time data processing
  • Background task management
  • Scalable state handling
  • Cross-platform app development

Key features

  • Runs BLoC in isolates
  • Non-blocking UI updates
  • Cross-platform support
  • Simple integration with Flutter
  • Thread-safe state management

Suitable for

  • Apps with intensive background processing
  • Developers prioritizing UI responsiveness
  • Large-scale state management needs
  • Multi-platform Flutter projects
  • Performance-critical applications

Considerations

  • Requires understanding of isolates
  • Limited direct access to UI context
  • Additional complexity for simple apps
  • Need to manage isolate communication carefully
  • Potential overhead for lightweight tasks

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Bloc

License: MIT Pub


Isolate Bloc's infrastructure repository.

Package Pub
isolate_bloc pub package
isolate_bloc_test pub package

Examples

Articles

Helpers

Gratitude

Special thanks to Felix Angelov for the reference in the form of bloc package

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.