fix on NCButton size
parent
1d9da1c7e9
commit
c899670aae
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue