0 purchases
webview flutter upload
WebView Flutter Upload #
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">
copied to clipboard
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
copied to clipboard
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
copied to clipboard
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';
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.