Skip to content

Commit e4b164b

Browse files
committed
Add more data to MediaQueryData.toString
Fixes flutter#4421
1 parent 1c1aa59 commit e4b164b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/widgets/media_query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class MediaQueryData {
7171
);
7272

7373
@override
74-
String toString() => '$runtimeType($size, $orientation)';
74+
String toString() => '$runtimeType(size: $size, devicePixelRatio: $devicePixelRatio, padding: $padding)';
7575
}
7676

7777
/// Establishes a subtree in which media queries resolve to the given data.

0 commit comments

Comments
 (0)