# webview_flutter_android-2.8.14 **Repository Path**: csdsb/webview_flutter_android-2.8.14 ## Basic Information - **Project Name**: webview_flutter_android-2.8.14 - **Description**: No description available - **Primary Language**: Dart - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-19 - **Last Updated**: 2024-02-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webview\_flutter\_android The Android implementation of [`webview_flutter`][1]. ## Usage This package is [endorsed][2], which means you can simply use `webview_flutter` normally. This package will be automatically included in your app when you do. ## Contributing This package uses [pigeon][3] to generate the communication layer between Flutter and the host platform (Android). The communication interface is defined in the `pigeons/android_webview.dart` file. After editing the communication interface regenerate the communication layer by running `flutter pub run pigeon --input pigeons/android_webview.dart`. Due to [flutter/flutter#97744](https://github.com/flutter/flutter/issues/97744), the generated test pigeon file needs one of its imports updated to properly work with `mockito`. In `test/android_webview.pigeon.dart`, change ```dart import '../lib/src/android_webview.pigeon.dart'; ``` to ```dart import 'package:webview_flutter_android/src/android_webview.pigeon.dart'; ``` Besides [pigeon][3] this package also uses [mockito][4] to generate mock objects for testing purposes. To generate the mock objects run the following command: ```bash flutter packages pub run build_runner build --delete-conflicting-outputs ``` If you would like to contribute to the plugin, check out our [contribution guide][5]. [1]: https://pub.dev/packages/webview_flutter [2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin [3]: https://pub.dev/packages/pigeon [4]: https://pub.dev/packages/mockito [5]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md