Skip to content

Commit 73f539b

Browse files
committed
formatted
1 parent 1d21b90 commit 73f539b

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

lib/reflex.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
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+
111
import 'dart:async';
212

313
import 'package:reflex/src/platform/reflex_platform.dart';

lib/src/handler/reflex_handler.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
3+
Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
44
All rights reserved.
55
66
The 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';
1717
class 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 {

lib/src/platform/reflex_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
3+
Copyright (c) 2022 DevsOnFlutter (Devs On Flutter)
44
All rights reserved.
55
66
The plugin is governed by the BSD-3-clause License. Please see the LICENSE file

0 commit comments

Comments
 (0)