瀏覽代碼

minor bug fix

ashilkn 2 年之前
父節點
當前提交
398e6607e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/ui/common/gradient_button.dart

+ 1 - 1
lib/ui/common/gradient_button.dart

@@ -21,7 +21,7 @@ class GradientButton extends StatelessWidget {
       Color(0xFF1DB954),
     ],
     this.onTap,
-    this.text,
+    this.text = '',
     this.iconData,
     this.paddingValue = 0.0,
   }) : super(key: key);