update ansubutton

null_safety
张萌 4 years ago
parent 490e66e12e
commit e835e9052e

@ -151,7 +151,7 @@ class _ASButtonState extends State<ASButton> {
disabledColor: widget.disableColor,
disabledTextColor: widget.disableTextColor,
textColor: widget.textColor ?? kLightPrimaryColor,
minWidth: widget.width ?? 75.w,
minWidth: widget.width,
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
onPressed: widget.onPressed,
child: widget.title is String

Loading…
Cancel
Save