PackageTrack
Sign in Get early access

command_it

command_it is a way to manage your state based on `ValueListenable` and the `Command` design pattern. It is a rebranding of flutter_command.

9.5.1 4.6K downloads/mo #3962 most downloaded on pub.dev flutter-it/command_it

What this package is like to depend on

Last release 6 months ago

20 Feb 2026

Ships fairly regularly

a new release about every 3 months

Most releases are documented

notes for 8 of 13 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

13 releases · first in 2025

12 releases in the last 12 months

see the full history below

Release timeline

13 releases · Jul 2025 to Feb 2026
2026
Release Pre-release

Releases

latest 13
  1. 9.5.1 20 Feb 2026

    Nothing published for this version

  2. 9.5.0 30 Nov 2025
    Release notes

    New ValueListenable extension that triggers a target command when
    the source value changes. Works on any ValueListenable including
    commands, isRunning, results, or plain ValueNotifier.

    Features:

    • Optional transform function to convert source value to target param
    • Smart type handling: direct pass if types match, no-param call if not
    • Returns ListenableSubscription for manual cancellation
    Open source →
  3. 9.4.2 25 Nov 2025
    Release notes

    Remove generated test folders from examples

    Open source →
  4. 9.4.1 24 Nov 2025

    Nothing published for this version

  5. 9.4.0 24 Nov 2025
    Release notes

    Adds built-in progress tracking, status messages, and cooperative cancellation
    to commands via ProgressHandle.

    New Features:

    • ProgressHandle class with progress (0.0-1.0), statusMessage, and isCanceled properties
    • 8 new factory methods: createAsyncWithProgress and createUndoableWithProgress variants
    • New Command properties: progress, statusMessage, isCanceled, cancel()
    • MockCommand progress simulation support with updateMockProgress(), updateMockStatusMessage(), mockCancel()
    • Zero-overhead design: Commands without progress use static default notifiers

    Technical Details:

    • Non-nullable API using static default notifiers for commands without handles
    • Cooperative cancellation pattern (ValueListenable-based for external integration)
    • Full test coverage: 23 passing tests including MockCommand simulation
    • Compatible with external cancellation tokens (e.g., Dio CancelToken)

    Breaking Changes: None (fully backward compatible)

    Open source →
  6. 9.3.0 24 Nov 2025

    Nothing published for this version

  7. 9.2.0 22 Nov 2025

    Nothing published for this version

  8. 9.1.1 22 Nov 2025
    Release notes

    Improvements:

    • Renamed FirstLocalThenGlobalErrorFilter to GlobalIfNoLocalErrorFilter for better clarity
    • Name now clearly indicates "global if no local handler" behavior

    New Features:

    • Added GlobalErrorFilter that routes errors ONLY to global handler
    • Returns ErrorReaction.globalHandler (not firstLocalThenGlobal)
    • Useful when you want all errors to go global regardless of local listeners

    Fixes:

    • Removed incorrectly deprecated GlobalErrorFilter from v9.1.0
    • Replaced with correct implementation

    Tests:

    • Added test for GlobalErrorFilter behavior
    • All 38 tests passing
    Open source →
  9. 9.1.0 22 Nov 2025
    Release notes

    New Features:

    • Added Command.globalErrors stream for reactive error monitoring
    • Stream emits all globally-routed command errors
    • Perfect for analytics, crash reporting, and UI notifications
    • watch_it integration with registerStreamHandler

    Improvements:

    • Renamed ErrorHandler* classes to *ErrorFilter pattern
    • Deprecated old names (removed in v10.0.0)
    • Added deprecated_member_use_from_same_package: ignore to analysis_options.yaml
    • Removed old docsite folder (docs now at flutter-it.dev)

    Tests:

    • Added tests for new ErrorFilter classes
    • Added comprehensive tests for globalErrors stream
    • All 36 tests passing

    Documentation:

    • Updated global_configuration.md with globalErrors section
    • Updated error_handling.md with stream examples
    • Updated README.md with link to stream docs
    Open source →
  10. 9.0.2 15 Nov 2025
    Release notes

    v9.0.2: Fix deprecation of ExecuteInsteadHandler and ifRestrictedExec…

    Open source →
  11. 9.0.1 14 Nov 2025
    Release notes

    v9.0.1: Enhanced fix_data.yaml for comprehensive Command subclass cov…

    Open source →
  12. 9.0.0 14 Nov 2025
    Release notes

    updates according to V9.0 changes

    Open source →
  13. 8.0.0 19 Jul 2025

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive