瀏覽代碼

Set default button size of button component to large

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

+ 1 - 1
lib/ui/components/button_widget.dart

@@ -56,7 +56,7 @@ class ButtonWidget extends StatelessWidget {
   final bool isInAlert;
   final bool isInAlert;
   const ButtonWidget({
   const ButtonWidget({
     required this.buttonType,
     required this.buttonType,
-    required this.buttonSize,
+    this.buttonSize = ButtonSize.large,
     this.icon,
     this.icon,
     this.labelText,
     this.labelText,
     this.onTap,
     this.onTap,