From fa992601a9b0b74faced612a36b994dac85c1f3e Mon Sep 17 00:00:00 2001 From: Thomas Aunvik Date: Sat, 25 May 2024 00:41:09 +0200 Subject: [PATCH] Pubspec Flutter Version, Getters and Setters for in par with implemented type --- packages/webview_flutter/webview_flutter_web/pubspec.yaml | 2 +- .../test/legacy/mock_fake_iframe_element.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webview_flutter/webview_flutter_web/pubspec.yaml b/packages/webview_flutter/webview_flutter_web/pubspec.yaml index 0e917349de49..f93f58f090dc 100644 --- a/packages/webview_flutter/webview_flutter_web/pubspec.yaml +++ b/packages/webview_flutter/webview_flutter_web/pubspec.yaml @@ -6,7 +6,7 @@ version: 0.2.2+5 environment: sdk: ^3.3.0 - flutter: ">=3.16.0" + flutter: ">=3.19.0" flutter: plugin: diff --git a/packages/webview_flutter/webview_flutter_web/test/legacy/mock_fake_iframe_element.dart b/packages/webview_flutter/webview_flutter_web/test/legacy/mock_fake_iframe_element.dart index cd9b39b5c6a8..4541f31f6cd4 100644 --- a/packages/webview_flutter/webview_flutter_web/test/legacy/mock_fake_iframe_element.dart +++ b/packages/webview_flutter/webview_flutter_web/test/legacy/mock_fake_iframe_element.dart @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - import 'dart:js_interop'; import 'package:web/web.dart' as html; @@ -13,5 +12,6 @@ class FakeIFrameElement { extension type MockHTMLIFrameElement(JSObject _) implements html.HTMLIFrameElement, JSObject { - external String? src; + external set src(String? value); + external String? get src; }