From c899670aaeb4df71543309652512cbd0b44e01d0 Mon Sep 17 00:00:00 2001 From: Nilo Roberto C Paim Date: Mon, 27 Nov 2023 08:11:41 -0300 Subject: [PATCH] fix on NCButton size --- lib/components/nc_button.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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