Skip to content

Commit 512943d

Browse files
Make default scale value null so that Flutter decides the one to use (#247)
Co-authored-by: Daichi Furiya <[email protected]>
1 parent e7af113 commit 512943d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/lib/generators/assets_generator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class AssetGenImage {
369369
ImageErrorWidgetBuilder? errorBuilder,
370370
String? semanticLabel,
371371
bool excludeFromSemantics = false,
372-
double? scale = 1.0,
372+
double? scale,
373373
double? width,
374374
double? height,
375375
Color? color,

0 commit comments

Comments
 (0)