Bloc

Pub build codecov Star on Github Flutter Website Awesome Flutter Flutter Samples License: MIT Discord Bloc Library


Official lint rules for development when using the bloc state management library.

Learn more at bloclibrary.dev!

This package is built to work with:


Sponsors

Our top sponsors are shown below! [Become a Sponsor]


Quick Start

  1. Install the bloc command-line tools

    dart pub global activate bloc_tools
    
  2. Install the bloc_lint package

    dart pub add --dev bloc_lint:^0.2.0
    
  3. Add an analysis_options.yaml to the root of your project with the recommended rules

    include: package:bloc_lint/recommended.yaml
    
  4. Run the linter

    bloc lint .
    

For more information, check out the official documentation

All Lint Rules

Dart Versions

  • Dart 3: >= 3.7.0

Maintainers

Libraries

bloc_lint