diff --git a/lib/components/nc_button.dart b/lib/components/nc_button.dart index 921dfa9..a81ea8e 100644 --- a/lib/components/nc_button.dart +++ b/lib/components/nc_button.dart @@ -8,15 +8,15 @@ class NcButton extends StatelessWidget { required this.backgroundColor, required this.captionColor, this.onPressed, - required this.width, - required this.height, + this.width, + this.height, }); final String caption; final Color backgroundColor; final Color captionColor; - final double width; - final double height; + final double? width; + final double? height; final void Function()? onPressed; @override