Skip to content

Commit

Permalink
Added conditional export of all 'io' implementations. Addresses issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
uldall committed Jul 1, 2024
1 parent 092a026 commit 07cb9c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions wakelock_plus/lib/src/wakelock_plus_io_plugin.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export 'wakelock_plus_linux_plugin.dart';
export 'wakelock_plus_macos_plugin.dart';
export 'wakelock_plus_windows_plugin.dart';
4 changes: 1 addition & 3 deletions wakelock_plus/lib/wakelock_plus.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import 'package:flutter/foundation.dart';
import 'package:wakelock_plus_platform_interface/wakelock_plus_platform_interface.dart';

export 'src/wakelock_plus_linux_plugin.dart';
export 'src/wakelock_plus_macos_plugin.dart';
export 'src/wakelock_plus_windows_plugin.dart'
export 'src/wakelock_plus_io_plugin.dart'
if (dart.library.js_interop) 'src/wakelock_plus_web_plugin.dart';

/// The [WakelockPlusPlatformInterface] that is used by [WakelockPlus].
Expand Down

0 comments on commit 07cb9c7

Please sign in to comment.