select_image

Last updated:

0 purchases

select_image Image
select_image Images
Add to Cart

Description:

select image

Usage #
Member Variables Code #
File mySelectedImage;
copied to clipboard

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

OnPress Code #
chooseImage(context).then((value) {
mySelectedImage = value;
setState(() {});
});
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.