+ This is an example page used to demonstrate how to load a local file or HTML + string using the Flutter + webview plugin. +
+ + + \ No newline at end of file diff --git a/packages/flutter_inappwebview/example/assets/www/styles/style.css b/packages/flutter_inappwebview/example/assets/www/styles/style.css new file mode 100644 index 000000000..c2140b8b0 --- /dev/null +++ b/packages/flutter_inappwebview/example/assets/www/styles/style.css @@ -0,0 +1,3 @@ +h1 { + color: blue; +} \ No newline at end of file diff --git a/packages/flutter_inappwebview/example/integration_test/flutter_inappwebview_test.dart b/packages/flutter_inappwebview/example/integration_test/flutter_inappwebview_test.dart new file mode 100644 index 000000000..58232c234 --- /dev/null +++ b/packages/flutter_inappwebview/example/integration_test/flutter_inappwebview_test.dart @@ -0,0 +1,402 @@ +// Copyright 2026 Samsung Electronics Co., Ltd. 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:async'; +import 'dart:io'; + +import 'package:flutter/material.dart'; +import 'package:flutter_inappwebview/flutter_inappwebview.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; + +const String _fixtureHtml = ''' + + + + +