Flutter plugin to convert HEIC/HEIF file to PNG/JPEG image.
Add the Package
dependencies:
heif_converter: ^lastVersion
Import the package in your dart file
import 'package:heif_converter/heif_converter.dart';
And call convert method with local HEIC/HEIF image file path.
String jpgPath = await HeifConverter.convert(heicPath, output: jpgPath);
String pngPath = await HeifConverter.convert(heicPath, format: 'png');