File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ /*
2+
3+ Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
4+ All rights reserved.
5+
6+ The plugin is governed by the BSD-3-clause License. Please see the LICENSE file
7+ for more details.
8+
9+ */
10+
111import 'dart:async' ;
212
313import 'package:reflex/src/platform/reflex_platform.dart' ;
Original file line number Diff line number Diff line change 11/*
22
3- Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
3+ Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
44 All rights reserved.
55
66The plugin is governed by the BSD-3-clause License. Please see the LICENSE file
@@ -17,13 +17,12 @@ import 'package:reflex/src/platform/reflex_platform.dart';
1717class ReflexHandler extends ReflexPlatform {
1818 // static const MethodChannel _methodChannel = MethodChannel('reflex');
1919
20- static const EventChannel _eventChannel =
21- EventChannel ('reflex_event_channel' );
20+ final EventChannel _eventChannel = const EventChannel ('reflex_event_channel' );
2221
2322 // MethodChannel get methodChannel => _methodChannel;
2423 EventChannel get eventChannel => _eventChannel;
2524
26- static Stream <String >? _notificationStream;
25+ Stream <String >? _notificationStream;
2726
2827 @override
2928 Stream <String > get notificationStream {
Original file line number Diff line number Diff line change 11/*
22
3- Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
3+ Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
44 All rights reserved.
55
66The plugin is governed by the BSD-3-clause License. Please see the LICENSE file
You can’t perform that action at this time.
0 commit comments