WebView Flutter Upload

pub package

A Flutter plugin that provides a WebView widget who Support photo upload. The official flutter plugin webview_flutter Android does not support H5 file upload, that is, it does not support the H5 code below.

<input type="file">

This caused us a lot of inconvenience, so this plugin adds support for file upload on the android side on the basis of the official plugin.

Usage

Depend on it Run this command:

With Flutter:

 $ flutter pub add webview_flutter_upload

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  webview_flutter_upload: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it Now in your Dart code, you can use:

import 'package:webview_flutter_upload/platform_interface.dart';
import 'package:webview_flutter_upload/webview_flutter.dart';

Libraries

platform_interface
webview_flutter