chore: dart format

This commit is contained in:
Koji Wakamiya 2025-12-13 06:18:01 +09:00
parent 6eee90875e
commit 53a2b6fea6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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,