Skip to content

Commit e38ed22

Browse files
authored
remove that call [WidgetsFlutterBinding.ensureInitialized] in [initialize] (#816)
1 parent 1d1fca5 commit e38ed22

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/src/downloader.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ class FlutterDownloader {
5151

5252
_debug = debug;
5353

54-
WidgetsFlutterBinding.ensureInitialized();
55-
5654
final callback = PluginUtilities.getCallbackHandle(callbackDispatcher)!;
5755
await _channel.invokeMethod<void>('initialize', <dynamic>[
5856
callback.toRawHandle(),

0 commit comments

Comments
 (0)