Browse Source

minor bug fix

ashilkn 2 năm trước cách đây
mục cha
commit
398e6607e4

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

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