Search packages, repositories and app categories

Package detailsv7.1.0

signals_flutter

The signals library exposes four core functions which are the building blocks to model any business logic you can think of.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
36.9K
Likes
93
Pub points
150

Install package

flutter pub add signals_flutter

Package Overview

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

Signals Flutter is a lightweight state management solution that provides four core functions to model complex business logic. It enables reactive programming by allowing developers to create, observe, and react to changes in data streams efficiently. Built on top of Dart's reactive principles, it promotes clean, composable, and testable code. The library is designed for simplicity and performance, making it ideal for applications requiring fine-grained control over state updates across multiple platforms.

Use cases

  • Real-time data synchronization
  • Complex form state management
  • Cross-widget state sharing
  • Event-driven UI updates
  • Dynamic UI rendering based on state
  • Reactive business logic modeling

Key features

  • Four core reactive functions
  • Lightweight and minimal API
  • Highly composable
  • Platform-agnostic
  • Built-in dependency injection support
  • Efficient change propagation

Suitable for

  • Developers seeking minimal state management overhead
  • Projects requiring fine-grained state control
  • Teams using reactive programming patterns
  • Applications targeting multiple platforms
  • Prototyping or building scalable apps with reactive logic

Considerations

  • Requires understanding of reactive programming concepts
  • Limited built-in debugging tools
  • Not recommended for very simple state needs
  • Learning curve for newcomers to signals paradigm
  • May require additional boilerplate for large-scale state structures

Original README

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

Tests Website GitHub stars Coverage GitHub issues GitHub pull-requests melos

Signals.dart

Try chat with CodeWiki!

Features

  • 🪡 Fine grained reactivity: Based on Preact Signals and provides a fine grained reactivity system that will automatically track dependencies and free them when no longer needed
  • ⛓️ Lazy evaluation: Signals are lazy and will only compute values when read. If a signal is not read, it will not be computed
  • 🗜️ Flexible API: Every app is different and signals can be composed in multiple ways. There are a few rules to follow but the API surface is small
  • 🔬 Surgical Rendering: Widgets can be rebuilt surgically, only marking dirty the parts of the Widget tree that need to be updated and if mounted
  • 💙 100% Dart Native: Supports Dart JS (HTML), Shelf Server, CLI (and Native), VM, Flutter (Web, Mobile and Desktop). Signals can be used in any Dart project

To start using signals, check out the full documentation.

VS Code Extension: https://marketplace.visualstudio.com/items?itemName=rodydavis.signals-dart

Packages

Package Pub
signals signals
signals_core signals_core
signals_flutter signals_flutter
signals_lint signals_lint
signals_hooks signals_hooks
preact_signals signals_lint
signals_devtools_extension

AI Developer Skills

To enable AI coding assistants (like Google Antigravity, Gemini, Claude, Cursor, GitHub Copilot, and others) to build high-quality reactive systems with signals.dart, this repository includes prepackaged, high-fidelity developer Skills.

These skills are located under the ./skills directory and are fully modular:

  • signals-preact-dart: Deep knowledge and best practices for core reactive primitives (signal, computed, effect, batch, untracked).
  • signals-dart: Best practices for async signal operations (FutureSignal, StreamSignal), reactive collections, writable computed signals (linkedSignal), and value semantics.
  • signals-flutter: Comprehensive guides on element-level reactive UI integration, high-frequency GPU rendering bypasses, lifecycle side-effects, and .watch(context) extensions.
  • signals-migration-6-to-7: Detailed instructions, patterns, and refactoring techniques to safely upgrade applications from signals v6.x to v7.0.0.
How to use them:
1. One-Command Installation via skills.sh

You can instantly install all available signals skills into your global AI environment using the unified skills.sh registry CLI:

npx skills add rodydavis/signals.dart
2. Manual Reference

Simply reference the path to the desired skill directory in your AI prompt, or load the contents of the relevant SKILL.md files as context for your AI coding assistant.

Contributors

Categories

Dependencies

Dependency list 1 items

  • signals_core^7.0.0

Source repository

Projects using this package