import 'package:fis_common/event/event_type.dart';
import 'package:flyinsono/pages/main/home/widgets/dialog_page.dart';
import 'package:webviewx/webviewx.dart';

abstract class IWebviewControllerManager {
  FWebviewInteractiveController? webviewInteractiveController;
  WebViewXController? webViewXController;
  FEventHandler<bool> onInit = FEventHandler<bool>();
  bool get isDialogExist => webviewInteractiveController == null
      ? false
      : webviewInteractiveController?.isDialogExist ?? false;

  void initWebviewController(WebViewXController webViewXController);

  void disposeWebviewController();
}
