Skip to content

Conversation

@andre-djsystem
Copy link
Contributor

…execute method, fix RunningCommand name, exception handling in execute and cancel commands, New tests

andre-djsystem and others added 3 commits December 13, 2024 00:19
…execute method, fix RunningCommand name, exception handling in execute and cancel commands, New tests
@jacobaraujo7
Copy link
Contributor

@andre-djsystem Thanks for the PR!
One question: CommandStateNotifier uses StreamController. Is this necessary?
Why not use ChangeNotifier?
This eliminates the Dispose in Command, since it would not need to close the stream.

@andre-djsystem
Copy link
Contributor Author

I wanted a way to log changes to the command without creating a dependency on an external package, so I used StreamController, but if you prefer I can switch to ChangeNotifier

@jacobaraujo7
Copy link
Contributor

LGTM

@jacobaraujo7 jacobaraujo7 merged commit ef5ddb1 into Flutterando:main Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants