Created
July 23, 2014 16:47
-
-
Save JesterXL/cf647b8559be70903750 to your computer and use it in GitHub Desktop.
No separate stream - works
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List myList = new List(); | |
StreamController controller = new StreamController(); | |
controller.stream.listen((_) | |
{ | |
print("data: $_"); | |
}); | |
controller.add("sup"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment