+ 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/webview_flutter/example/assets/www/styles/style.css b/packages/webview_flutter/example/assets/www/styles/style.css new file mode 100644 index 000000000..c2140b8b0 --- /dev/null +++ b/packages/webview_flutter/example/assets/www/styles/style.css @@ -0,0 +1,3 @@ +h1 { + color: blue; +} \ No newline at end of file diff --git a/packages/webview_flutter/example/integration_test/webview_flutter_test.dart b/packages/webview_flutter/example/integration_test/webview_flutter_test.dart new file mode 100644 index 000000000..73827ce66 --- /dev/null +++ b/packages/webview_flutter/example/integration_test/webview_flutter_test.dart @@ -0,0 +1,640 @@ +// 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. + +// This test is run using `flutter drive` by the CI (see /script/tool/README.md +// in this repository for details on driving that tooling manually), but can +// also be run using `flutter test` directly during development. + +import 'dart:async'; +import 'dart:convert'; +import 'dart:io'; + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:webview_flutter/webview_flutter.dart'; + +Future