update· ansubutton

null_safety
张萌 4 years ago
parent 8640d8db6f
commit 490e66e12e

@ -158,7 +158,7 @@ class _ASButtonState extends State<ASButton> {
? Text(widget.title, ? Text(widget.title,
style: widget.textStyle ?? TextStyle(fontSize: 13.sp)) style: widget.textStyle ?? TextStyle(fontSize: 13.sp))
: widget.title, : widget.title,
padding: widget.padding ?? EdgeInsets.symmetric(vertical: 6.w), padding: widget.padding ?? EdgeInsets.symmetric(vertical: 6.w,horizontal: 12.w),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
side: widget.outline side: widget.outline
? BorderSide(color: widget.outlineColor, width: 0.5.w) ? BorderSide(color: widget.outlineColor, width: 0.5.w)

Loading…
Cancel
Save