Skip to content

Commit 8329914

Browse files
committed
feat make overlay stream broadcast
1 parent 53c900d commit 8329914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/overlay_window.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'package:flutter_overlay_window/src/overlay_config.dart';
77
class FlutterOverlayWindow {
88
FlutterOverlayWindow._();
99

10-
static final StreamController _controller = StreamController();
10+
static final StreamController _controller = StreamController.broadcast();
1111
static const MethodChannel _channel =
1212
MethodChannel("x-slayer/overlay_channel");
1313
static const MethodChannel _overlayChannel =

0 commit comments

Comments
 (0)