Answers for "how to convert pickedfile to file in flutter"

1

image picker

dependencies:
  image_picker: ^0.6.7+12
Posted by: Guest on October-30-2020
0

how to convert pickedfile to file in flutter

storedImage = File(imageFile.path); //imagefile is of type pickedfile /* imagefile = picker.getImage() */
									//File is available after imporing dart:io library
									//to use 'path' you might want to add 'path' plugin from pub.dev
Posted by: Guest on April-11-2021

Code answers related to "how to convert pickedfile to file in flutter"

Browse Popular Code Answers by Language