web_image_picker 0.0.2 web_image_picker: ^0.0.2 copied to clipboard
A dart package to select image from local device and get it as file or uint8List for uploading as multipart or converting in base64 and uploading.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add web_image_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
web_image_picker: ^0.0.2
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:web_image_picker/web_image_picker.dart';