Skip to content
pubscout

image_picker_web

4.0.0, released 2 years ago by rouxguillau.me

Flutter Web Plugin to pick Images and Videos as Widget, File or Uint8List.

$ flutter pub add image_picker_web
Source repository

What it does

Allows Flutter Web applications to pick single or multiple images and videos. Files can be loaded as memory bytes, Widgets, or HTML File objects.

AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter Web application that requires selecting images or videos from the device
  • You need to handle picked media as Uint8List, Widget, or html.File

Skip it when

  • You need a cross-platform solution (use image_picker instead)
  • You need to play large local videos directly inside Flutter Web without uploading first

Strengths

  • Supports multiple image and video selection
  • Provides media as widgets, bytes, or files directly on Flutter Web

Weaknesses

  • Web-only plugin; does not cover mobile or desktop platforms natively
  • Cannot play local video files directly due to browser security restrictions

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Add image_picker_web to pubspec.yaml and use methods from ImagePickerWeb class.

Image? fromPicker = await ImagePickerWeb.getImageAsWidget();

Alternatives

Packages that do the same job and could replace image_picker_web.

  • image_picker

    Choose this if you need cross-platform support (mobile, desktop, and web) instead of web-only.

  • image_picker_for_web

    Choose this as the official web implementation when using the federated image_picker package.