Search packages, repositories and app categories

Package detailsv1.0.1

listen

A package to notify state changes to interested listeners in pure Dart.

AndroidiOSLinuxmacOSWebWindows
30-day downloads
2.4M
Likes
44
Pub points
160

Install package

flutter pub add listen

Package Overview

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

The listen package provides a lightweight, pure Dart solution for notifying state changes to registered listeners. It enables efficient communication between components without relying on Flutter-specific widgets or frameworks. Designed for simplicity and performance, it supports fine-grained updates and is ideal for use in state management scenarios where minimal overhead is required. The package works across all major platforms supported by Flutter, making it suitable for shared logic in multi-platform applications.

Use cases

  • Real-time data updates
  • Cross-component communication
  • State management in libraries
  • Event-driven architecture
  • Decoupled UI and business logic

Key features

  • Pure Dart implementation
  • Minimal performance overhead
  • Fine-grained change notifications
  • Supports multiple listeners
  • Platform-agnostic design

Suitable for

  • Library authors needing state notification
  • Developers avoiding framework dependencies
  • Multi-platform shared codebases
  • Simple state management needs

Considerations

  • Not a full state management solution
  • Requires manual listener management
  • Limited built-in debugging tools
  • Best suited for non-UI state tracking

Original README

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

Flutter Core Packages

Release Status Flutter CI Status

This repo is a companion to the flutter/flutter and flutter/packages repositiories. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team) that cannot depend on Flutter, generally because they are used by the flutter/flutter repository. Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
flutter_hook_config pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_template_images pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
listen pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
multicast_dns pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
mustache_template pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
standard_message_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_math pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.

Rankings