浏览代码

Use Sizebox.shrink()

Neeraj Gupta 1 年之前
父节点
当前提交
fb0fa73c03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/ui/code_widget.dart

+ 1 - 1
lib/ui/code_widget.dart

@@ -179,7 +179,7 @@ class _CodeWidgetState extends State<CodeWidget> {
                               children: [
                                 (widget.code.hasSynced != null &&
                                         widget.code.hasSynced!) || !hasConfiguredAccount
-                                    ? Container()
+                                    ? const SizedBox.shrink()
                                     : const Icon(
                                         Icons.sync_disabled,
                                         size: 20,