fix(devtools): no wrapping child inside SizedBox.shrink

This commit is contained in:
Kingkor Roy Tirtho
2023-09-09 15:26:45 +06:00
parent 26419418f2
commit f27e5f8162
@@ -89,6 +89,6 @@ class _FlQueryDevtoolsState extends State<FlQueryDevtools> {
],
);
}
return SizedBox.shrink(child: widget.child);
return widget.child ?? const SizedBox.shrink();
}
}