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

A user operation of executing the pipeline infrastructure library.

action_flow #

action_flow is a lightweight Flutter library that provides a unified and configurable pipeline for executing user-triggered actions, such as button clicks or list item taps.

It allows actions to be processed through a series of interceptors before execution, enabling common concerns like debouncing, analytics tracking, and conditional guards (e.g. permissions or paywalls) to be handled consistently across an app.

Features #

  • Action execution pipeline with interceptor support
  • Pluggable interceptors (debounce, analytics, guards, etc.)
  • Centralized action runner initialization
  • Optional UI wrappers for reducing boilerplate
  • No dependency on business logic or app-specific state

Basic Usage #

Initialize the action runner #

ActionRunner.init(
  ActionPipeline([
    DebounceInterceptor(),
    // Custom interceptors can be added here
  ]),
);
0
likes
150
points
60
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A user operation of executing the pipeline infrastructure library.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on action_flow