diff --git a/lib/src/image_conversion_exception.dart b/lib/src/image_conversion_exception.dart index 25e6f37..40eace8 100644 --- a/lib/src/image_conversion_exception.dart +++ b/lib/src/image_conversion_exception.dart @@ -24,7 +24,7 @@ class ImageDecodingException extends ImageConversionException { class ImageEncodingException extends ImageConversionException { /// Creates an [ImageEncodingException] with the given [message]. ImageEncodingException(this.format, [String? message]) - : super(message ?? 'Failed to encode image to ${format.name}'); + : super(message ?? 'Failed to encode image to ${format.name}'); final OutputFormat format; } diff --git a/test/output_resize_test.dart b/test/output_resize_test.dart index 98f9968..c46431e 100644 --- a/test/output_resize_test.dart +++ b/test/output_resize_test.dart @@ -113,7 +113,7 @@ void main() { const originalWidth = 10000; const originalHeight = 5000; - const resizeMode = FitResizeMode(width: 100,); + const resizeMode = FitResizeMode(width: 100); final (width, height) = resizeMode.calculateSize( originalWidth, originalHeight,