Skip to content

Is the provider +change notifier app really just lifting state up? #204

@Lee-BS-AMS

Description

@Lee-BS-AMS

Hi, all great resource!

Little confused by this page
https://github.com/brianegan/flutter_architecture_samples/blob/master/change_notifier_provider/lib/edit_todo_screen.dart

It appears to be updating and passing changes back using a callback rather than provider. Any reason for this?

widget.onEdit(_taskController.text, _noteController.text);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions