Przeglądaj źródła

Set default button size of button component to large

ashilkn 2 lat temu
rodzic
commit
fc3cbc67cd
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
   const ButtonWidget({
     required this.buttonType,
-    required this.buttonSize,
+    this.buttonSize = ButtonSize.large,
     this.icon,
     this.labelText,
     this.onTap,