플러터 Image picker

image picker 설치+사용법

  • 사용예시
onPressed: () async {
	var picker = ImagePicker();
	var image = await picker.pickImage(source: ImageSource.gallery);
}

//카메라를 가져오기
picker.pickImage(source: ImageSource.camera);

//비디오 선택화면
picker.pickVideo(source: ImageSourse.gallery);

//여러이미지 선택
picker.pickMultiImage(source: ImageSource.gallery);

좋은 웹페이지 즐겨찾기