Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

ObservableList's change not being listened to #109

@hydroper

Description

@hydroper

Minimal Reproduction

pubspec.yaml:

name: observable_demo

dependencies:
  observable: ^0.24.0

Dart:

import 'package:observable/observable.dart';

void main() {
  var obs = ObservableList.from(["first value"]);
  obs.changes.listen(([value = ""]) {
    print(value);
  });
  obs[0] = "second valuee";
}

Expected Behavior

Print:

second valuee

Current Behavior

Prints nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions