fix on NCButton size

development
Nilo Roberto C Paim 2023-11-27 08:11:41 -03:00
parent 1d9da1c7e9
commit c899670aae
1 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@ class NcButton extends StatelessWidget {
required this.backgroundColor, required this.backgroundColor,
required this.captionColor, required this.captionColor,
this.onPressed, this.onPressed,
required this.width, this.width,
required this.height, this.height,
}); });
final String caption; final String caption;
final Color backgroundColor; final Color backgroundColor;
final Color captionColor; final Color captionColor;
final double width; final double? width;
final double height; final double? height;
final void Function()? onPressed; final void Function()? onPressed;
@override @override