flutter_web_image_picker 0.0.2

Flutter web

A package designed for input images on web flutter.

Flutter web image picker #

pub package

A package designed for input images on web flutter.

Usage example #

@override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(image?.semanticLabel ?? ""),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.open_in_browser),
        onPressed: () async {
          final _image = await FlutterWebImagePicker.pickImage();
          setState(() {
            image = _image;
          });
        },
      ),
      body: Center(child: image != null ? image : Text('No data...')),
    );
}

Issues and feedback

Please file issues to send feedback or report a bug. Thank you!