Skip to content

Commit 4495fe7

Browse files
committed
Update Empty Layout
*Switch empty layout from Container to SizedBox.shrink.
1 parent f108d23 commit 4495fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/responsive_wrapper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ class _ResponsiveWrapperState extends State<ResponsiveWrapper>
338338
Widget build(BuildContext context) {
339339
return (screenWidth ==
340340
0) // Initialization check. Window measurements not available until postFrameCallback.
341-
? Container()
341+
? SizedBox.shrink()
342342
: InheritedResponsiveWrapper(
343343
data: ResponsiveWrapperData.fromResponsiveWrapper(this),
344344
child: MediaQuery(

0 commit comments

Comments
 (0)