Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_presentation

Dispatch single-time side effects from Bloc or Cubit without polluting state.

pub.devRemove
bloc_tools

Command-line tools for generating and linting bloc and cubit components.

pub.devRemove
ScoresHealth6988 (best)
Maintenance2689 (best)
Quality91100 (best)
Popularity81 (best)72
Community8080
Compatibility100100
UsageDownloads (30 days)25k75k (best)
Likes93 (best)27
Pub points140 / 160160 / 160 (best)
GitHub stars3512k (best)
MaintenanceLatest release1.1.2+3, 8 months ago0.1.0-dev.25, 8 weeks ago (best)
Major versions in 12 months00
Contributors12100+ (best)
Publisherleancode.cobloclibrary.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies2 (best)6
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Keeps UI side effects separate from the core bloc state
  • Includes a listener widget and works well with flutter_hooks
  • Supports nullable types for optional blocs in the widget tree
  • Automates the creation of boilerplate code for multiple bloc variants
  • Integrates official bloc linting commands
Weaknesses
  • Relies on stream subscriptions which require careful lifecycle handling if not using provided widgets
  • Requires using a specific mixin on your Blocs/Cubits
  • Requires global activation via pub
  • Limited to command-line utility functions
WarningsNoneNone
bloc_presentation vs bloc_tools: which Flutter package should you use? | pubscout