Skip to content

Create flutter adapter for pure dart notifiers. #859

@polina-c

Description

@polina-c

This code should work:

widget = ValueListenableBuilder<int>(
  valueListenable: pure_dart_notifier.listenable,
  builder: (context, value, child) {
    return Text('$value'); // Only this text rebuilds
  },
)

Metadata

Metadata

Assignees

Labels

front-line-handledCan wait until the second-line triage. The front-line triage already checked if it's a P0.sprint readyA task that should be included in sprint planning

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions