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

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

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
70
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