diff --git a/packages/desktop_webview_window/lib/src/webview.dart b/packages/desktop_webview_window/lib/src/webview.dart index 7f6c2d39..d928ab8f 100644 --- a/packages/desktop_webview_window/lib/src/webview.dart +++ b/packages/desktop_webview_window/lib/src/webview.dart @@ -1,5 +1,3 @@ -import 'dart:ui'; - import 'package:flutter/foundation.dart'; /// Handle custom message from JavaScript in your app. @@ -73,7 +71,8 @@ abstract class Webview { void addOnWebMessageReceivedCallback(OnWebMessageReceivedCallback callback); - void removeOnWebMessageReceivedCallback(OnWebMessageReceivedCallback callback); + void removeOnWebMessageReceivedCallback( + OnWebMessageReceivedCallback callback); /// Close the web view window. void close();