Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/listen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-beta.2

- Fixes dart doc example directive.

## 1.0.0-beta.1

- Adjusts source code to be publishable.
Expand Down
8 changes: 4 additions & 4 deletions packages/listen/lib/src/listen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ abstract class Listenable {
///
/// The iterable may contain nulls; they are ignored.
///
/// {@example example/lib/listenable_merge.dart}
/// {@example /example/lib/listenable_merge.dart}
factory Listenable.merge(Iterable<Listenable?> listenables) = _MergingListenable;

/// Error callback that is called when an error is thrown by a listener.
Expand Down Expand Up @@ -117,12 +117,12 @@ abstract class ValueListenable<T> extends Listenable {
/// The following example implements a simple counter whose current count is
/// stored in a [ChangeNotifier] subclass, notifying clients when the value changes:
///
/// {@example example/lib/counter.dart}
/// {@example /example/lib/counter.dart}
///
/// In this case, the [ChangeNotifier] subclass encapsulates a list, notifying
/// clients whenever an item is added or removed:
///
/// {@example example/lib/list_notifier.dart}
/// {@example /example/lib/list_notifier.dart}
///
/// See also:
///
Expand Down Expand Up @@ -516,7 +516,7 @@ class _MergingListenable extends Listenable {
/// For mutable data types, consider extending [ChangeNotifier] directly and
/// calling [notifyListeners] manually when changes occur.
///
/// {@example example/lib/value_notifier.dart}
/// {@example /example/lib/value_notifier.dart}
class ValueNotifier<T> extends ChangeNotifier implements ValueListenable<T> {
/// Creates a [ChangeNotifier] that wraps this value.
ValueNotifier(this._value) {
Expand Down
2 changes: 1 addition & 1 deletion packages/listen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: listen
description: A package to notify state changes to interested listeners in pure Dart.
repository: https://github.com/flutter/core-packages/tree/main/packages/listen
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+listen%22
version: 1.0.0-beta.1
version: 1.0.0-beta.2

environment:
sdk: ^3.10.0
Expand Down
Loading