flutter-design-patterns icon indicating copy to clipboard operation
flutter-design-patterns copied to clipboard

StreamController.broadcast() seems redundant

Open tenSunFree opened this issue 3 years ago • 0 comments

StreamController.broadcast() seems redundant, maybe try to modify it to StreamController(). 2022-02-20_011915

Although it looks like the ObserverExample uses the stockStream.listen() twice, but since the two StreamControllers are different, So there will be no error exception, it may not be necessary to use StreamController.broadcast(). 2022-02-20_012047

tenSunFree avatar Feb 19 '22 17:02 tenSunFree