select_image 0.0.4 copy "select_image: ^0.0.4" to clipboard
select_image: ^0.0.4 copied to clipboard

PlatformAndroidiOS
outdated

A package handle pick image from the camera or from the gallery.

Preview #

Image: My image #

Usage #

Member Variables Code #

    File mySelectedImage;

view Code #

    mySelectedImage != null
                ? Image.file(mySelectedImage!)
                : IconButton(
              icon: const Icon(Icons.send),
              onPressed: () {
                chooseImage(context).then((value) {
                  mySelectedImage = value;
                  setState(() {});
                });
              },
            ),

onPress Code #

     chooseImage(context).then((value) {
       mySelectedImage = value;
       setState(() {});
       });

0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

A package handle pick image from the camera or from the gallery.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, flutter_exif_rotation, image_picker

More

Packages that depend on select_image